Slide 38 of 80
Notes:
#VRML V2.0 utf8
#movi_cubo3.wrl
DEF transformarCUBO Transform {
translation -3.0 2.0 1.0
rotation -1, 1, 0.8, 0.785
#eixo com origem <-3, 2, 1> e vector de rotação <-1, 1, 0.8>
children [
DEF CUBO Shape {
appearance Appearance {
material Material {
diffuseColor 1 0 0
specularColor 0.9 0.9 0.9
}
}
geometry Box { }
}
]
}
DEF transformarBOLA Transform {
translation 0.0 2.0 1.0
children [
DEF BOLA Shape {
appearance Appearance {
material Material {
diffuseColor 0 1 0
specularColor 0.9 0.9 0.9
}
}
geometry Sphere {}
}
]
}