Jump to content
  • Advertisement
Sign in to follow this  
Dragoncar

OpenGL OpenGl and Open Inventor

This topic is 4846 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

Hi, I am currently having problems displaying using OpenGl a model loaded from an Open Inventor format file. The parsing of the file is working correctly and I am able to get out the vertices, normals etc. but when I come to rendering it it appears as though it is incomplete. I am not applying texutres to the model when I render it and I am using GL_LINES to output it as wireframe and have tried it with GL_POLYGON and neither appear to look correct. To render the model I am creating a calllist and then just displaying the call list. To load the verticies I am looping throught the parsed vertices for the number of vertices that it states are present and making a call to glVertex3f with the values for each vertex. I am hoping that someone may beable to suggest some things to try that may fix the problem. Thanks Dragoncar

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!