开发者

Using 3D objects with MonoTouch

How can I use 3D objects like md2 with Mon开发者_高级运维oTouch? I know Unity3D can do that, but it is commercial and not cheap for just using md2 objects. Is there any freeware or cheaper library for 3D support?


MonoTouch has no built in support for parsing MD2 objects. It does have support for OpenGL however, so you could parse the object format yourself and build your own parser / leverage an existing one to get the information from the MD2 to OpenGL.


I'm unsure if there is a immediately-usable monotouch-based md2 project or codebase, however, with the help of http://www.google.com/codesearch, I came across various C#-based md2-handling code fragments, maybe you could adapt any of:

  • vcmdlnet.googlecode.com
  • jawws.googlecode.com
  • opimmframework.svn.codeplex.com
  • Halolz m2d (XNA[touch?])

Also, CSat and Meshomatic are C# libraries for loading other model formats, such as Wavefront's Obj format. However, these might require a little work also to port to Monotouch.

Hope this helps.

Cheers

Rich

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜