PDA

View Full Version : Interleaved arrays and multy textures



yeilam
11-10-2003, 11:40 PM
as far as I could see in the OpenGl1.2 Spec, the formats for InterleavedArrays command allows only a single texture coordinates.
Is there a way to specify a vertex buffer for which each vertex has 2 texture coordinates, for example?
Your help will be most appreciated.
Thanks,
Yigal

Bob
11-11-2003, 02:15 AM
You can design your own interleaved format using the regular gl*Pointer and the stride parameter.