Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

JimmyP

Should I use vertex arrays or display lists for an object loader(.3ds)?

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

Although I have no idea as to what vertex arrays are(besides that they''re propably arrays of verices)I hear that they can be usefull with object loading.I''m currently trying to implement a .3ds object loader and I''m a the point where I have extracted geometry info(well...only vertices and faces but I''ll implement normals and texcoors. later) and I was wondering wether I should go with display lists or vertex arrays.BTW does anyone know if I can extract texture coords. for every face from the .3ds file and use them in OpenGL as I would use normal texture coords.(i.e. without any proccesing of the values) or do I have to proccess''em in some way.I mean if for a vertex I extract the tex. coords and get,e.g. 0.5 and 0.3.All I have to do is issue a glTexCoordfv(u(=0.5),v(=0.3)) and textures will look ok?T -=Jimmy=-

Share this post


Link to post
Share on other sites
Advertisement

  • 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!