Click to See Complete Forum and Search --> : terrians


joeybird
February 26th, 2005, 09:15 AM
hi i am using a terrain that has been rendered using polygon meshes. i would like to learn how to firstly colour in one triangle using

section :- main.cpp

renderColouredFaces(&myTerrain);

and be able then to move the coloured traiangle e.g. one triangle to another, using to function/peramiters...

section:-CGPolyMesh.cpp

void nextFace(CGPolyMesh *m, int faceIndex, int edgeIndex),

and
void faceStrip(CGPolyMesh *m, int faceIndex, int edgeIndex)

as you move to each triangle it appers to lights up in colour.

thanx

jofoxy