PDA

View Full Version : File converter to transfer 3d model into OpenGl



Scorpio
03-06-2011, 09:44 PM
Hi,
I have created a part model in SolidWorks.
I do not now how should I convert .prt file to obj file and use in Opengl.

Can some one give me some converter links.
for example for reading stl file and converting stl extension and prt extension to obj . So that I can use it in openGl.
[ files for converting stl to obj]

ZbuffeR
03-07-2011, 02:32 AM
OpenGL does not read files.
Any format is fine provided you have code to read it and send GL commands to draw it.
Skimming the wikipedia page on .STL file format, it looks quite easy to read directly.