markjco
07-22-2010, 06:48 AM
Greetings!
I am working on this virtual reality project and part of the specifications/requirements is to draw/render an arbitrary object in the VE that has its parameters set in an external file.
Ideally, the external file would be a text file that contains the vertices of the model, a house for example. When the text file is read by the program, the vertices are used to draw the house on the screen. However, I've been reading material and 3D drawings/models are not that simple to hold in a text file. It's stored in an OBJ, MESH, 3DS, etc. but not a text file. So I would just like to know if this has already been done, loading information from a file of these type and then drawing the object in an OpenGL environment. If so, where do I start? :)
I am working on this virtual reality project and part of the specifications/requirements is to draw/render an arbitrary object in the VE that has its parameters set in an external file.
Ideally, the external file would be a text file that contains the vertices of the model, a house for example. When the text file is read by the program, the vertices are used to draw the house on the screen. However, I've been reading material and 3D drawings/models are not that simple to hold in a text file. It's stored in an OBJ, MESH, 3DS, etc. but not a text file. So I would just like to know if this has already been done, loading information from a file of these type and then drawing the object in an OpenGL environment. If so, where do I start? :)