View Full Version : multiple texture vertices

04-12-2010, 07:46 PM
So far I have understood that an element can have TexCoords, Color, Position, etc. But only one index for all those values.

I want to render my 3dMax models on OpenGL, but this texture isue is becoming very hard to avoid.

¿there´s a method to add an extra index for texture coords?

Alfonse Reinheart
04-12-2010, 08:00 PM
No. You have to replicate missing elements, so that there is only one index for all elements.

04-12-2010, 08:08 PM
No you can't. I hope one day the ARB will take into account the "indexing per attribute" feature request:

http://www.opengl.org/discussion_boards/...5744#Post265744 (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Main=51439&Number=2657 44#Post265744)

04-12-2010, 08:26 PM
Thank you for your fast repply.

Well, in that case, and being a litle off-topic, in programs like 3dMax, how you define the UV texture coordinates to fit opengl requisites?

04-14-2010, 07:13 PM
duplicate the necesary vertices, looks like the solution