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


joeybird
February 26th, 2005, 12:52 PM
i would like to know how to create a function called next face which takes a pointer to a cgPolymesh structure, a face index (int) and edgeindex(int) of a range of 0.2 , the pointer then has to move to one face then to another. the terrain mesh is made up of triangles.

thanx

joeybird

Leo77
March 2nd, 2005, 01:43 PM
:confused:
I really didnt understand your doubt... but if you are trying to build a terrain, create a graph to conect all the terrain pieces. then the "next piece" will be really easy to get.

I hope I could help