Cross Platform 3D (C #)

I am working on a game that should work on as many platforms as possible, and wondered if there are any good 3D libraries that work on Windows Phone 7 and Mono (Windows and Linux). I would use OpenTK, but it depends on OpenGL, and Windows Phone only supports Managed DirectX (XNA). Are there any decent wrappers out there?

+4
source share
7 answers

I just created my own 3D library that runs on ALL platforms - Sourceforge source code

+1
source

As a rule, you will have to stay in the context of XNA and Silverlight only when encoding Windows Phone 7 - this is due to its connection with DirectX. Windows Phone 7 does not currently support OpenGL.

+2
source

How about MonoGame? http://monogame.codeplex.com/ It brings XNA to other platforms.

+2
source

I am sure that there are no managed 3D libraries supporting both XNA and Mono (i.e. Open GL). I would suggest that it would be best to write your own minimal abstraction layer on top of Xna (which just does what you need) and then implement it in Mono + Open GL.

Either that, or you could start and implement the Xna 3D API in MonoGame or ExEn. I recall a thread on the MonoGame forums about someone who has a very simple initial implementation of VertexBuffer. Obviously, this requires a pretty decent knowledge of OpenGL.

+1
source

Just like FYI, MonoGame v2.0 will add support for OpenGL ES 2.0 on iOS and Android, as well as default shaders from WP7, but in addition it will also allow you to use custom shaders, unlike XNA on WP7. When MonoGame v3.0 is released, you can expect 3D support to be more reliable.

Hope this helps.

0
source

MonoGame v2.5 was released last week.

Now all attention is focused on the release of version v3.0, which will be 3D. There is already a working 3D implementation in the develop3d branch. We just need to put it in order and make sure that 2D is not broken. If anyone else is looking for 3D in MonoGame, check out our development3d branch and help us do our best.

D.

0
source

The Axiom 3D Rendering Engine supports many GFX platforms and various GFX APIs, including Windows Phone 7, Windows, iPhone, Android, Linux, and Mac OSX using OpenGL, OpenGL ES, DirectX, and XNA

0
source

Source: https://habr.com/ru/post/1342906/


All Articles