🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

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

Started by
-1 comments, last by JimmyP 24 years ago
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=-
-=Jimmy=-

This topic is closed to new replies.

Advertisement