Hello syntax for vrml
#VRML V2.0 utf8
WorldInfo {
title "Untitled"
info [ "test" ]
}
Method
Continuation
DEF dad_Import_rosaceC_2_wrl Transform {
children DEF Import_rosaceC_2_wrl Group {
children [
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.2
diffuseColor 0.8 0.8 0.8
specularColor 0 0 0
emissiveColor 1 0.749 0
shininess 0.2
transparency 0
}
}
geometry IndexedLineSet {
coord Coordinate {
point [ 46.8 43.136 0,
35.099 42.078 0,
................
10.529 0 -49.023,
16.076 0 -43.475,
0 0 -77.952,
67.508 0 -38.976,
65.975 0 -27.328,
61.478 0 -16.473,
54.326 0 -7.152 ]
}
coordIndex [ 0, 1, 2, 3, 4, 5, 0, -1,
6, 7, 8, 9, 10, 11, 6, -1,
...................................
109, 110, 111, 62, 68, 112, 107, -1,
113, 114, 115, 116, 86, 63, 113, -1 ]
colorIndex [ ]
colorPerVertex TRUE
}
}
rotation 0 0 1 0.785397
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.2
diffuseColor 0.8 0.8 0.8
specularColor 0 0 0
emissiveColor 1 0 0
shininess 0.2
transparency 0
}
}
geometry IndexedLineSet {
coord Coordinate {
point [ 6.941 22.239 0,
2.006 11.576 0,
0 0 0,
9.604 6.767 0,
17.13 15.789 0,
......................
57, -1, 64, 65, 66, 67, 68, 69,
2, 70, 64, -1, 71, 72, 2, 73,
74, 75, 76, 77, 71, -1, 78, 79,
2, 80, 81, 82, 83, 84, 78, -1 ]
colorIndex [ ]
colorPerVertex TRUE
}
}
rotation 0 0 1 0.523598
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.2
diffuseColor 0.8 0.8 0.8
specularColor 0 0 0
emissiveColor 0 0 1
shininess 0.2
transparency 0
}
}
geometry IndexedLineSet {
coord Coordinate {
point [ -9.022 7.526 0,
-15.789 17.13 0,
-19.839 28.159 0,
-20.897 39.86 0,
-32.933 20.846 0,
..............................
-67.508 0 -38.976,
-56.654 0 -43.472,
-10.529 0 -49.023,
-6.03 0 -55.449,
-2.714 0 -62.559,
-0.684 0 -70.136,
0 0 -77.952,
-16.076 0 -43.475 ]
}
coordIndex [ 0, 1, 2, 3, 4, 5, 0, -1,
6, 7, 8, 4, 9, 10, 6, -1,
11, 12, 13, 8, 14, 5, 11, -1,
15, 16, 17, 14, 18, 19, 15, -1,
............................
100, 81, 87, 101, 96, -1, 102, 103,
76, 82, 104, 105, 102, -1, 106, 107,
108, 77, 109, 110, 106, -1, 111, 112,
113, 114, 115, 71, 108, 116, 111, -1 ]
colorIndex [ ]
colorPerVertex TRUE
}
}
rotation 0 0 1 0.785397
}
]
}
translation 0.0390015 0 0
rotation 0 0 1 0
}
DEF Wizard TimeSensor {
startTime -1
cycleInterval 5.6
loop TRUE
}
DEF Wizard_rot0 OrientationInterpolator {
key [ 0, 0.25, 0.5, 0.75,
1 ]
keyValue [ 0 0 1 0,
0 1 0 1.571,
0 1 0 3.142,
0 1 0 4.712,
0 1 0 6.28319 ]
}
DEF vizx_init TimeSensor {
stopTime 0
cycleInterval 0.09999999999999999
loop TRUE
}
ROUTE Wizard_rot0.value_changed TO dad_Import_rosaceC_2_wrl.set_rotation
ROUTE vizx_init.cycleTime TO Wizard.set_startTime
ROUTE Wizard.fraction_changed TO Wizard_rot0.set_fraction
ROUTE vizx_init.cycleTime TO vizx_init.set_stopTime