作业帮 > 综合 > 作业

VRML基本三维模型添加模型动画功能,移动,旋转,缩放,

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/07/20 07:37:35
VRML基本三维模型添加模型动画功能,移动,旋转,缩放,
#VRML V2.0 utf8
DEF ball Transform { #
}
DEF ground Transform { #
translation 0 0 2
children [
Shape {
geometry Sphere {
radius 5
}
appearance Appearance {
material Material {
diffuseColor 1 0 0
emissiveColor 0 1 0
transparency 0
}
texture ImageTexture
{
url "D:\素材\image1.jpeg"
}
textureTransform TextureTransform
{
scale 1 2
}
}
}
]
}
加TimeSensor;
加positioninterpolator或orientationInterpolator或scaleInterpolator;
加route.