PDA

View Full Version : using textures with quad strips



01-06-2003, 08:10 AM
Hello,
I have a set of rectangles with adjacent vertical edges (all rectangles are the same size), and I'd like to use quad strips to render those. However I need to map each rectangle with a possibly different texture, can I still use quad strips for that or do I need to specify a separate rectangle (4 vertices) for each texture ? I wanted to put all this into a vertex array (with mode=GL_QUAD_STRIP), but I don't know how to put the two together. I would appreciate if someone could explain how to go about it.
Regards,

Martin