Jump to content
  • Advertisement
Sign in to follow this  
Sisco

OpenGL Opengl Modeller?

This topic is 3679 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Sorry for such a noobish question but is there such a thing as an OGL modeler that exports Opengl code rather than model files?

Share this post


Link to post
Share on other sites
Advertisement
Why do you want to do that? You can write in few lines simple importer of OBJ files (there are also many classes for importing) and just pass OpenGL vertex/face list. I think it renders much faster than drawing face by face (if that is what 'Header exporter for OpenGL' exports)

Share this post


Link to post
Share on other sites
Quote:
Original post by davidcoleman
Why do you want to do that? You can write in few lines simple importer of OBJ files (there are also many classes for importing) and just pass OpenGL vertex/face list. I think it renders much faster than drawing face by face (if that is what 'Header exporter for OpenGL' exports)


In case you want to be able to deform the meshes in your program.

Share this post


Link to post
Share on other sites
Quote:
Original post by MortusMaximus
Quote:
Original post by davidcoleman
Why do you want to do that? You can write in few lines simple importer of OBJ files (there are also many classes for importing) and just pass OpenGL vertex/face list. I think it renders much faster than drawing face by face (if that is what 'Header exporter for OpenGL' exports)


In case you want to be able to deform the meshes in your program.


you can still deform a mesh in code no matter what the file format is. Once you have loaded in the data (vertices, indices, texture coordinates and so on) store them in vertex array or VBO and you can "deform" the vertices you have stored just by changing their values.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!