LWJGL Forum

Programming => OpenGL => Topic started by: DeusFacticius on July 15, 2005, 14:20:13

Title: example of glInterleavedArrays and glDrawElements
Post by: DeusFacticius on July 15, 2005, 14:20:13
i'm having trouble getting interleaved arrays and indexed triangle lists to work, as a former c/c++ programmer i had no problem doing this but there must be something different about how you do it in lwjgl because it doesn't work.  the buffers being the main difference, i think i'm missing a step thats not obvious?  like flipping the buffers maybe? any ideas? an example here would be great
Title: hmmmm...
Post by: Fool Running on July 15, 2005, 15:27:49
I was only able to get interleaved arrays to work while using VBOs.
Title: example of glInterleavedArrays and glDrawElements
Post by: DeusFacticius on July 19, 2005, 13:28:04
issue resolved, found out that yes, buffers just need to be flipped before sending them in to glInterleavedArrays() and glDrawElements()