myVertexProperty->normalBinding = SoNormalBinding::OVERALL;
//定义面集
myIndexedFaceSet->coordIndex = coordIndex;
myIndexedFaceSet->vertexProperty.setValue(myVertexProperty);
}
//定时器传感器回调函数
static void timertra(void * data, SoSensor *)
{
static SbBool direction = FALSE;
SoIndexedFaceSet * myIndexedFaceSet = (SoIndexedFaceSet*) data;
SoMFVec3f coordVec3f;
SoMFInt32 coordIndex;
SoMFVec2f textureCoordVec2f;
//修改顶点坐标,实现波动