Graphics 版 (精华区)

发信人: leonado (##小:妖:发:呆:勒##), 信区: Graphics
标  题: 虚拟现实之高级技巧(九)
发信站: 哈工大紫丁香 (2001年01月07日19:25:50 星期天), 转信

colorPerVertex FALSE
colorIndex[ 0, 0, 0, 0, 0, 1]
}
}
DEF LIGHT1 DirectionalLight{
on FALSE
}
DEF LIGHT2 DirectionalLight{
direction 0 0 1
on FALSE
}
Transform{
translation 0 4 0
children[
# lamp shade
DEF LAMP_SHADE Shape{
geometry Cone{
height 2
bottomRadius 2
}
},
# sensor to turn the light on / off
DEF LIGHT_ON_SWITCH TouchSensor{}
]
}
Transform{
translation 0 1.5 -10.1
children[
# door
DEF DOOR Transform{
children[
Shape{geometry Box{size 4 3 0.1}}
]
},
DEF PROX_SENSOR ProximitySensor{
size 8 3 15
}
]
}
DEF DOOR_OPEN_TIME TimeSensor{
cycleInterval 2
}
DEF DOOR_OPEN_INTP PositionInterpolator{
key [ 0, 1]
keyValue [0 0 0, 3.5 0 0]
}
DEF DOOR_CLOSE_TIME TimeSensor{
cycleInterval 2
}
DEF DOOR_CLOSE_INTP PositionInterpolator{
key [ 0, 1]
keyValue [3.5 0 0, 0 0 0]
}
7上一页  1 2 3 4  下一页8

--
美女说:“小妖,你很可爱丫...”
小妖刚要把那段“我已经尽可能的掩饰我的锋芒,奈何还是被慧眼人看出”云云背出来...
美女却扬长而去...>Q<

※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.230.141]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:1.820毫秒