Coluna
12-25-2003, 11:57 AM
Hi all;
Im doing a terrain renering demo with morph (to avoid pops), in a VP,and im having some problems...but the worst is this:
The indexes for the original vertices are stored in one array, for example with values 0 1 2 3 4 ...
And to the vertices that are used to do the interpolation, in other 2 arrays, with for example 0 0 1 1 2 2, and 1 1 2 2 3 3..
(as u can see the values arent those...)
They are sent by the texcoord param, and interpolated in VP...but how can i set these 3 different indexes? with immediate mode its quite simple, but how about VBO with glDrawElements()?
PS.:sorry by my english...maybe u couldnt understand my problem...
Im doing a terrain renering demo with morph (to avoid pops), in a VP,and im having some problems...but the worst is this:
The indexes for the original vertices are stored in one array, for example with values 0 1 2 3 4 ...
And to the vertices that are used to do the interpolation, in other 2 arrays, with for example 0 0 1 1 2 2, and 1 1 2 2 3 3..
(as u can see the values arent those...)
They are sent by the texcoord param, and interpolated in VP...but how can i set these 3 different indexes? with immediate mode its quite simple, but how about VBO with glDrawElements()?
PS.:sorry by my english...maybe u couldnt understand my problem...