bbosak
bbosak

Reputation: 5529

Cross-platform 3D (C#)

I'm working on a game that should run on as many platforms as possible, and was wondering if there are any good 3D libraries that run on Windows Phone 7 and Mono (Windows and Linux). I would use OpenTK, but that is dependent on OpenGL, and Windows Phone only supports managed DirectX (XNA). Are there at least any decent wrappers out there?

Upvotes: 3

Views: 739

Answers (7)

borrillis
borrillis

Reputation: 656

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

Upvotes: 0

Dominique
Dominique

Reputation: 827

v2.5 of MonoGame was released last week.

All focus is now on v3.0 release which will have 3D. The develop3d branch already has a working 3D implementation. We just need to tidy it up and make sure 2D isn't broken. If anyone is still looking for 3D in MonoGame, please checkout our develop3d branch, and help us make it the best it can be.

D.

Upvotes: 0

Dominique
Dominique

Reputation: 151

Just as an FYI, v2.0 of MonoGame will add OpenGL ES 2.0 support on iOS and Android as well as and the default shaders from WP7, but on top of that it will also allow you to use custom shaders, unlike XNA on WP7. When v3.0 of MonoGame is released you can expect 3D support to be more robust.

I hope this helps.

Upvotes: 0

bbosak
bbosak

Reputation: 5529

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

Upvotes: 1

Aranda
Aranda

Reputation: 865

I'm pretty sure that there are not yet any managed 3D libraries that support both Xna and Mono (ie Open GL) back ends. I would suspect your best bet would be to write your own minimal abstraction layer on top of Xna (that just accomplishes what you need), and then implement it in Mono + Open GL.

Either that or you could jump in and start implementing Xna's 3D API in either MonoGame or ExEn. I recall a thread on the MonoGame forums about someone having a very basic initial implementation of VertexBuffer running. This would obviously require pretty decent knowledge of OpenGL though.

Upvotes: 1

Lex Li
Lex Li

Reputation: 63173

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

Upvotes: 2

Den
Den

Reputation: 16826

Generally, you will have to stay in the context of XNA and Silverlight only, when coding for Windows Phone 7 - this is due to its ties to DirectX. Windows Phone 7 currently doesn't support OpenGL.

Upvotes: 2

Related Questions