PDA

View Full Version : 3D Model Loading



masonium
06-19-2001, 11:57 AM
How would I go about writing and algorithm for loading a 3D model created as an ASE or VRML file?


[This message has been edited by masonium (edited 06-19-2001).]

ffish
06-19-2001, 06:17 PM
Write out an EBNF language that describes the file format, then write a parser for that language. Simple! (not) http://www.opengl.org/discussion_boards/ubb/smile.gif If you did it that way it may take some time to design your loader, but it would probably save you some headaches later on at debugging time. It's probably the way I'd do it though.