文件名称:geometry
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-05-13
- 文件大小:
- 56kb
- 下载次数:
- 0次
- 提 供 者:
- 姚*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
此示例扩展VSG通过添加vsGeometryBase派生一个新的节点类型。新的节点类型只是作为特殊场景图节点,这是专门设计通过两个所谓的新方法,setSphere和getSphere与vrSphere几何工作。此外,该节点实现其自己的自定义扑杀记录,它允许一个vrSphere的纹理坐标可以通过一个纹理矩阵具有两个调用,setTextureScalingFactor和getTextureScalingFactor其他方法缩放-This sample extends VSG by adding a new node type derived from vsGeometryBase. The new node type simply acts as special scene graph node, which is specially designed to work with vrSphere geometries through two new methods called, setSphere and getSphere. Additionally, the node implements its own custom cull records, which allows the texture coordinates of a vrSphere to be scaled via a texture matrix with two other methods called, setTextureScalingFactor and getTextureScalingFactor
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vsgs_user_geometry.cpp
test.rgb
myGeometry.h
myGeometry.cpp
vsgs_user_geometry_vc9.vcproj
vsgs_user_geometry_vc9D.exe