Posted 22 January 2000 - 03:38 AM
All right, dudes, I''ve posted a question here a couple times, and nobody in the D3D camp seems to know the answer. I turn to the OpenGL''ers...
In my program, I want to have vertices that have the same xyz coordinate, but different uv coordinates (for textures). In Direct3D, every vertex gets one texture coordinate, so if I have two vertices on top of eachother, but with different tex coords, they have to get transformed twice. Have you ever heard of anything slower?
So, my question is, does OpenGL allow you to either attach multiple texture coords to a vertex, or, better yet (this is what I did in my software engine) assign the texture coords when you place the triangle?
I might switch over to OpenGL if I have to. Probably should have started there in the first place, since D3D took me six weeks to get proficient in.
Thanks in advance!