PDA

View Full Version : (Vertex)Array Stride



holdeWaldfee
03-01-2005, 08:44 AM
Hi,

From where does the byte offset count?
From the beginning of the previous vertex to the next vertex, or from the end of the previous vertex to the next vertex?

Thanks for your help!

Overmind
03-01-2005, 08:54 AM
From the beginning. Except when stride is 0, then vertices are tightly packed.

holdeWaldfee
03-01-2005, 08:58 AM
Oh thanks!

I will try this.

It's kinda ugly that you have to have two different offset calculations. :-/