O nodo Viewpoint {}, exemplo
Previous slide
Next slide
Back to first slide
View graphic version
Notes:
#VRML V2.0 utf8
#movi_cubo5.wrl
DEF transformarCUBO Transform {
translation -3.0 2.0 1.0
rotation -1, 1, 0.8, 0.785
scale 0.75 0.75 0.75
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 {}
}
]
}