Could any one can tell me where can I find mobile 3D’s source code or tutorial on the Internet?
Thanks a lot
Forum Nokia has a Mobile 3D Graphics tutorial with example source code. It’s in the Resources/Documents/Java section. There’s also an interesting-looking document called “Guidelines for Exporting M3G Files” - I’ve not used the API, but that document looks like it would be very useful if I did.
I’ve scanned over the Nokia document to determine the 3d API - and it seems as though it’s mainly scene-graph based - which I’m not too found of. There is an immediate mode though - would I be correct in thinking that I could use the same methodologies as when I’m designing a JOGL app in immeadiate mode. Is m3d immediate mode like JOGL but for the mobile? Are there any other popular 3d Mobile API implementations out at the moment? I would obviously prefer to use java for the normal reasons, but would appeciate any language as long as I can code in a similar fashion to JOGL.
Thanks for the link kbateman. I think what I was searching for was JSR 239 - http://www.jcp.org/en/jsr/detail?id=239 - a java binding to native openGL ES calls. I guess I’ll have to stick with JSR184 for now though.
I was chatting with a succesful professional MIDP game developer last week, and he said that M3G (JSR-184) was preferable to OpenGL ES, as it was more high-level and hence reduced the amount of code in the MIDlet; also there is a significant overhead in each call from Java to native, so you really want to reduce the number of calls if you can. That’s also what I hear from Nokia’s own 3D guys - there are good reasons why M3G is not just like OpenGL ES.
Sure - but you are at the mercy of M3G, for better or for worse…
Thanks for all your helps :)!!!~