phr0zen

06-30-2005, 05:08 PM

hello, what is the simplest way of converting

a bunch of polygons like these

http://addwiz.cjb.net/this.bmp

into

http://addwiz.cjb.net/intothis.bmp

im prolly missing something simple..

the polygons have 15 diferent color variations,

i did the polygons like this

glColor4ubv(@PL[Code]); //

glVertex3f(P.X, P.Y, height);

glVertex3f(P1.X, P1.Y, height);

glVertex3f(P3.X, P3.Y, height);

glVertex3f(P2.X, P2.Y, height);

thanks!

a bunch of polygons like these

http://addwiz.cjb.net/this.bmp

into

http://addwiz.cjb.net/intothis.bmp

im prolly missing something simple..

the polygons have 15 diferent color variations,

i did the polygons like this

glColor4ubv(@PL[Code]); //

glVertex3f(P.X, P.Y, height);

glVertex3f(P1.X, P1.Y, height);

glVertex3f(P3.X, P3.Y, height);

glVertex3f(P2.X, P2.Y, height);

thanks!