设为首页 加入收藏

TOP

VRML文件操作(二)
2014-11-23 22:08:31 来源: 作者: 【 】 浏览:4
Tags:VRML 文件 操作

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;

//修改顶点坐标,实现波动

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇OpenGL的矩阵 下一篇C语言学习趣事_经典面试题系列_2

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: