《大气效果结点.ppt》由会员分享,可在线阅读,更多相关《大气效果结点.ppt(32页珍藏版)》请在三一办公上搜索。
1、第五章 大气效果结点,Fog colorr g b 雾色(1.0 1.0 1.0)fogType LINEAR 雾类型 visibilityRange s 可视距离(0.0),密度类型:LINEAR 浓度与距离成正比(线性雾)。EXPONENTIAL 浓度与距离的平方成正比(指数雾)。可视距离:在可视距离以内物体可见。0.0表示无穷远。,例:gtes.wrl,参考源代码(整体结构),Group children 空间背景、雾、地面9个门(间距5)Transform#移动到主席台底座前沿底部中心 translation 0.0 0.0-42.0 children 底座、背墙、标语、三个台阶,视点
2、1、2、3、4、5,主席台底座前沿底部中心,参考源代码(空间背景、雾),Background skyAngle 1.047 1.570skyColor 0.5 0.5 1.0,0.6 0.6 1.0,1.0 1.0 1.0groundAngle 1.047 1.570groundColor 0.5 1.0 0.5,0.6 1.0 0.6,1.0 1.0 1.0,Fog color 1.0 1.0 1.0fogType LINEARvisibilityRange 50.0,参考源代码(地面),Shape appearance Appearance material Material emissi
3、veColor 0.5 0.8 0.5 geometry Box size 50.0 0.05 100.0,门尺寸,参考源代码(中间门整体结构),DEF Bgate Group children 左柱 右柱 横梁,DEF Bgate Transform translation 0 0 0 children 左柱 右柱 横梁,参考源代码(中间门左柱),Transform translation-2.0 2.0 0.0 children DEF Column Shape appearance DEF Bred Appearance material Material diffuseColor 1.
4、0 0.0 0.0 geometry Cylinder radius 0.2 height 4.0,参考源代码(中间门右柱),Transform translation 2.0 2.0 0.0 children USE Column,参考源代码(中间门横梁),Transform translation 0.0 4.15 0.0 children Shape appearance USE Bred geometry Box size 5.0 0.3 1.0,参考源代码:中间门前后各复制2个门,Transform translation 0.0 0.0 5.0 children USE Bgate
5、,Transform translation 0.0 0.0-5.0 children USE Bgate,Transform translation 0.0 0.0 10.0 children USE Bgate,Transform translation 0.0 0.0-10.0 children USE Bgate,参考源代码:前后再各复制2个门,Transform translation 0.0 0.0 15.0 children USE Bgate,Transform translation 0.0 0.0-15.0 children USE Bgate,Transform tran
6、slation 0.0 0.0 20.0 children USE Bgate,Transform translation 0.0 0.0-20.0 children USE Bgate,主席台尺寸,参考源代码(底座),Transform#底座translation 0.0 1.0-3.0childrenShapeappearance DEF app1 Appearance texture ImageTexture url brick.jpg geometry Boxsize 16.0 2.0 6.0,参考源代码(背墙),Transform#背墙translation 0.0 4.5-5.7c
7、hildrenShapeappearance USE app1geometry Boxsize 12.0 5.0 0.6,参考源代码(标语),Transform#标语translation 0.0 4.9-5.397childrenShapeappearance Appearance texture ImageTexture url Image2.jpg geometry Boxsize 10.0 1.0 0.006,台阶尺寸,参考源代码:高台阶,Transform#高台阶translation 0.0 0.6 0.8childrenShapeappearance DEF app2 Appea
8、rancematerial MaterialdiffuseColor 0.8 0.8 0.8emissiveColor 0.3 0.3 0.3geometry Boxsize 6.0 1.2 1.6,参考源代码:中台阶,Transformtranslation 0.0 0.4 2.0childrenShapeappearance USE app2geometry Boxsize 6.0 0.8 0.8,参考源代码:低台阶,Transformtranslation 0.0 0.2 2.8childrenShapeappearance USE app2geometry Boxsize 6.0 0.
9、4 0.8,视点1(userVP1),视点2(userVP2),视点3(userVP3),视点4(userVP4),视点5(userVP5),参考源代码:视点1,Viewpoint position 0.0 10.0 55.0 orientation 1.0 0.0 0.0-0.174 description userVP1 jump FALSE,参考源代码:视点2、3,Viewpoint position 0.0 0.9 25.0 description userVP2 jump FALSE,Viewpoint position 5.0 0.9 25.0 orientation 0.0 1.0 0.0 0.523 description userVP3 jump FALSE,参考源代码:视点4、5,Viewpoint position 0.0 0.9-30.0 orientation 1.0 0.0 0.0 0.174 description userVP4 jump FALSE,Viewpoint position 15.0 0.9-30.0 orientation 0.0 1.0 0.0 0.785 description userVP5 jump FALSE,
链接地址:https://www.31ppt.com/p-6110429.html