I am looking to apply Texture to an already compiled OpenGL List.
Is it possible to apply texture to a GL List? Please let me know how to do it.
My OpenGL list contains TRIANGLE STRIPS (defined with gl.Normal3d & gl.Vertex3d)
Typically my code would be generating a GL List as below. To this List I want to apply some texture.
gl.NewList(GLListTag, gl.COMPILE);
{
gl.Begin(gl.TRIANGLE_STRIP);
for (int i = 0; i< PointsCount; i++)
{
gl.Normal3d(x,y,z)
gl.Vertex3d(a,b,c)
}
gl.End();
}
gl.EndList();
Note: I have already asked the same question in the Graphics discussion forum