iDevGames Forums
Importing geometry - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Importing geometry (/thread-1710.html)

Importing geometry - miq01 - Feb 26, 2009 04:30 AM

Hi again.

The game I'm working on is going to have 2D graphics and the screen elements will be simple shapes made of not more than 10 vertices -think of something similar to Asteroids by Atari. I could hard-code some of them, but if I decide to change something it's going to be a pain in the ass to find the coordinate and set the right value.

So, what's the best choice on Mac to generate/edit geometry and then export it to a format I can read from my game? What do you guys use? I know there's Blender, but I've never used it. In the old days I used to create my scene with 3D Studio, then I exported it to ASE format (text based) and parsed it from inside my application.

Importing geometry - AnotherJake - Feb 26, 2009 06:52 AM

I think .obj is fairly easy (if you can call it easy). Cheetah3D has a .h export which is really easy. Blender might have one too.

Importing geometry - miq01 - Feb 27, 2009 06:46 AM

I've tried creating a cube in Wings3D and then exporting it to .obj and after seeing the contents it looks like it's going to be very easy to parse. But if Cheetah3D can create .h files for me I'll try it at some point. Thanks!