File Formats

Ok… im working on my 3d engine and all is going great! However im at the stage where i should allow users of the engine to import models from external files. Has anyone heard of code that supports this feature yet… perferably from a copy file format like 3ds or something.

Thanks,
JMG

dont worry about my above post… i have done some research and have already begun work on an obj format (wavefront) loader.

the inital loader successfully loads the shapes and i hope to have the textures working by the weekend :slight_smile:

Ok… so my OBJ file loader is working awesome… i design my models in a modeler program and poof… i can load them in my little space 3d engine!

This got me thinking … it would be great to share this code with the rest of you… but there just one catch right now my loader populates a Model object wich is part of my space 3d engine ( code named DarkMatter )… so its really of no use to anyone else no using the engine.

So here my thought as a group could we come up with a generic model for 3dModels to use in our engines… ok… im not expecting us all to agree…( and stick to it ) but more or less get a concesus so that if i post my loader it contains most of the data/strutctures that will be usefull to most people… ( keep in mind loading a obj can take is along as we want… cause you really should do it long before using it… but draw time should be fast. )

let me know your thoughts.
ShadowLight (ShadeJMG)
:o

This has come up many times before, causing many “standards”. You might want to read around this subject and pick one of them…

At the moment where JOGL is concerned, I’d recommend fitting in with the Xith3D framework. Although, I hear there are a bunch of others on the cards…

Kev