实 验 报 告
班级:数字媒体 姓名:学号: 09970130
实验目的:
1、掌握时间传感器的基本使用方法
2、熟悉各类插补器的意义和基本使用语法
3、掌握在 VRML 场景中创建动画的方法
实验内容:
1、综合动画
设计代码:
#VRML V2.0 utf8
#VRML V2.0 utf8
Background {
skyColor [
0.2 0.4 0.8
0.3 0.5 0.7
0.9 0.9 1.0
]
skyAngle [1.0 1.571]
}
Shape {
appearance Appearance {
material Material {
ambientIntensity 0
}
}
geometry Cone {
bottomRadius 1.0
height 5
}
}
DEF AOL Transform {
translation 0 2.7 0
children [
Shape {
appearance Appearance {
material DEF BOL Material {
diffuseColor 1 1 0}}
geometry Sphere {
radius 0.2}} ]}