Hi, Thank you again,
I am using a TRIANGLE_STRIP and BIND_PER_VERTEX. Then indexing through the array via simple initialization: for (int r = 0; r < ISLAND_LAND_DEPTH;r++) { (*terrain)[thisIndex][0] = column_x_loc; (*terrain)[thisIndex][1] = column_z_loc; (*terrain)[thisIndex][2] = column_y_loc; (*terrain_colors)[thisIndex][0] = 46.0f/256.0f; (*terrain_colors)[thisIndex][1] = 76.0f/256.0f; (*terrain_colors)[thisIndex][2] = 100.0f/256.0f; (*terrain_colors)[thisIndex][3] = 1.0f; column_z_loc += ISLAND_LAND_TRIANGLE_DEPTH; thisIndex++; } But only 1/2 of the face is set to the color I need... I am doing something wrong. Any suggestions are very welcome. Thank you! Cheers, Mike ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68799#68799 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org