|
Author Topic:   OpenGL/STL woes..
Axe
Member
posted March 06, 2000 12:32 AM            
Hi all.
I got some questions regarding opengl and STL.
Basically I'm using glInterleavedArrays and glDrawElements to put my stuff on the screen.
Before I was passing data to the draw routine as 1 triangle. It worked fine (no STL).
Now I'm trying to use the vector class from STL so that I can pass however many triangles I want at once. I think I've narrowed my problem down to the glInterleavedArrays func and the glDrawElements func puke on my STL data.

This seems to be the only logical thing, since my data it getting into the STL vector class without any problems. I don't care to redo this entire piece of code, I just want it to work. I can post the actual code here if necessary.

IP:

Axe
Member
posted March 06, 2000 12:48 AM            
I posted a more indepth description on the OpenGL gamedev list. Check there if you want.

IP: