I know how to create cube’s and other complex objects out of vertices, but how can I just make a solid face? I’m wanting to create a floor to build my 3d world on top of…
TIA,
-Dogcow “moof!”
Visit The Underground
I know how to create cube’s and other complex objects out of vertices, but how can I just make a solid face? I’m wanting to create a floor to build my 3d world on top of…
TIA,
-Dogcow “moof!”
Visit The Underground
these are a few options you can use
b
yeah… like he said… I dont know why you are having a problem when you are already creating each face in the cube… if you are using the glut thing then here how:
glRotatef(angleofFloor,1.0,0.0,0.0);
glBegin(GL_POLYGON);
glVertex3f(x,y,z);
glVertex3f(x,y-height,z);
glVertex3f(x+width,y-height,z);
glVertex3f(x+width,y,z);
glEnd();
yeah…duh.
On my way to class I realized how easy this is… “d’oh!”
Thanks,
-Dogcow “moof!”
Visit The Underground