www.pudn.com > µ¼µ¯.rar > µ¼µ¯·ÉÐÐ.wrl, change:2004-05-28,size:4120b
#VRML V2.0 utf8
WorldInfo {
title "sheji"
info [
"Author:zhouxiaoyao",
"date:2004.6"
]
},
#ä¯ÀÀÕß,±³¾°,¹âÔ´¼°Êӵ㠣
Group {children [
#ä¯ÀÀÕß
NavigationInfo {
speed 5
headlight TRUE
type "walk"
}
#±³¾°
Background{
skyColor[
0.0 0.0 1.0
0.2 0.2 0.8
1.0 1.0 1.0
]
skyAngle[0.514 1.571]
groundColor[
1.0 1.0 1.0
0.6 0.6 0.6
0.0 0.0 0.0
]
groundAngle[1.309 1.571]
frontUrl "mountains.jpg"
backUrl "mountains.jpg"
leftUrl "mountains.jpg"
rightUrl "mountains.jpg"
},
#¹âÔ´
DirectionalLight {
direction -1 -2 1
intensity 0.5
}
DirectionalLight {
direction 1 -2 1
intensity 0.5
}
#ÊÓµã
DEF view Viewpoint {
position 0 0 20
orientation 1 0 0 0
description "view"}
DEF back Viewpoint {
orientation 1 0 0 1.5
position 1 -7 0
description "back"
}
] }
#µ¼µ¯Ä£Ð͹¹Ôì
DEF dongfeng Transform {
translation 0 0 0
children [
Transform {
rotation 0 1 0 1
children [
#µ¯ÉíÓ뵯ͷ
Shape {
appearance Appearance {
material DEF My Material {
diffuseColor 1 1 0
shininess 0.7
specularColor 1 0.7 0
}
texture ImageTexture {
url "df15A.jpg"}
}
geometry Extrusion {
creaseAngle 1.57
crossSection [
1.0 0
0.9239 0.3827
0.7071 0.7071
0.3827 0.9239
0.0 1.0
-0.3827 0.9239
-0.7071 0.7071
-0.9239 0.3827
-1 0
-0.9239 -0.3827
-0.7071 -0.7071
-0.3827 -0.9239
0 -1
0.3827 -0.9239
0.7071 -0.7071
0.9239 -0.3827
1 0
]
spine [
0 -3.25 0
0 0.5 0
0 1.0 0
0 3.822 0
0 3.843 0
0 3.850 0
]
scale [
0.4 0.4
0.4 0.4
0.38 0.38
0.06 0.06
0.04 0.04
0.02 0.02
0 0
]
solid FALSE
}
},
#ǰÒí
Shape {
appearance DEF my1 Appearance {
material Material {}
texture ImageTexture {
url "df15A-2.jpg"}
}
geometry Extrusion {
crossSection [
-0.02 0.55
-0.02 -0.55
0.02 -0.55
0.02 0.55
]
spine [
0 0.5 0
0 0.85 0
0 1.0 0
]
scale [
1 1,0.68 1,0 0.33]
solid FALSE
}
},
Shape {
appearance USE my1
geometry Extrusion {
crossSection [
0.55 0.02
0.55 -0.02
-0.55 -0.02
-0.55 0.02
]
spine [
0 0.5 0
0 0.85 0
0 1.0 0
]
scale [
1 1,1 0.68,0.33 0]
solid FALSE
}
},
#ºóÒí
Shape{
appearance DEF my2 Appearance {
material Material {
}
texture ImageTexture {
url "df15A-1.jpg"}
}
geometry Extrusion {
crossSection [
0.8 0.02
0.8 -0.02
-0.8 -0.02
-0.8 0.02
]
spine [
0 -3.25 0
0 -2.5 0
0 -2.0 0
]
scale [
1 1,1 0.77,0.24 0]
solid FALSE
}
},
Shape {
appearance USE my2
geometry Extrusion {
crossSection [
0.02 0.8
0.02 -0.8
-0.02 -0.8
-0.02 0.8
]
spine [
0 -3.25 0
0 -2.5 0
0 -2.0 0
]
scale [
1 1,0.77 1,0 0.24]
solid FALSE
}
},
]
}
]
}
#µ¼µ¯·ÉÐйý³Ì¿ØÖÆ
Group {
children [ DEF clock TimeSensor {
enabled TRUE
cycleInterval 10
loop TRUE }
DEF daodan1 PositionInterpolator {
key [ 0,0.1,0.2,0.3,0.4,0.5,
0.6,0.7,0.8,0.9, 1]
keyValue [0 1 0,0 4 0,0 8 0, 0 11 0,0 15 0, 0 20 0,
0 24 0,0 27 0,0 30 0,0 35 0,0 40 0]
}
DEF daodan2 OrientationInterpolator {
key [ 0,0.5, 1]
keyValue [1 0 0 0,1 0 0 0.5 ,1 0 0 1] } ]
}
ROUTE clock.fraction_changed TO daodan1.set_fraction
ROUTE clock.fraction_changed TO daodan2.set_fraction
ROUTE daodan2.value_changed TO view.orientation
ROUTE daodan1.value_changed TO dongfeng.translation