vr2-3-41.wrl
[ VRML source code ]
#VRML V2.0 utf8
#vr2-3-41.wrl
#Dessart
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 0
}
}
geometry Box { size 500 0.1 500 }
}
#Pyramid1
Transform {
translation -50 0 -50
children DEF Pyramid Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.5 0
}
}
geometry ElevationGrid {
xDimension 10
zDimension 10
xSpacing 10
zSpacing 10
height [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 10, 10, 10, 10, 10, 10, 10, 10, 0,
0, 10, 20, 20, 20, 20, 20, 20, 10, 0,
0, 10, 20, 30, 30, 30, 30, 20, 10, 0,
0, 10, 20, 30, 40, 40, 30, 20, 10, 0,
0, 10, 20, 30, 40, 40, 30, 20, 10, 0,
0, 10, 20, 30, 30, 30, 30, 20, 10, 0,
0, 10, 20, 20, 20, 20, 20, 20, 10, 0,
0, 10, 10, 10, 10, 10, 10, 10, 10, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0
]
}
}
}
#Pyramid2
Transform {
translation -200 0 100
children USE Pyramid
}
#Pyramid3
Transform {
translation 60 0 -180
scale 0.7 0.7 0.7
children USE Pyramid
}