I want to manually draw an object using triangle strips.
I think Object3D.createTriangleStrips() might prepare some data for rendering with triangle strips,isn't it?
Well. Let's see the code for rendering with triangle strips.
GL11.glBegin(GL11.GL_TRIANGLE_STRIP);
GL11.void glVertex3f(x[0],y[0],z[0]);
GL11.void glVertex3f(x[1],y[1],z[1]);
for (int i=2;i<x.length;i++)
GL11.void glVertex3f(x,y,z);
GL11.glEnd();
How can I get array x,y and z for rendering?
I think Object3D.createTriangleStrips() might prepare some data for rendering with triangle strips,isn't it?
Well. Let's see the code for rendering with triangle strips.
GL11.glBegin(GL11.GL_TRIANGLE_STRIP);
GL11.void glVertex3f(x[0],y[0],z[0]);
GL11.void glVertex3f(x[1],y[1],z[1]);
for (int i=2;i<x.length;i++)
GL11.void glVertex3f(x,y,z);
GL11.glEnd();
How can I get array x,y and z for rendering?