Compu Polla

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

#VRML V2.

0 utf8 Movimiento de la pelota


Árbol DEF pelota Group{
Transform { children[
translation 0 0 0 Transform{
children[ translation 0 0 8
Shape { children[
geometry Cylinder {height 2.5 Shape{
radius .5 geometry Sphere{
} radius .25
appearance Appearance {texture }
ImageTexture{ url "brom.jpg"}} appearance Appearance{texture
} ImageTexture{ url "agua.jpg"}}
] }
} ]
Cono del arbol }
Transform { ]
translation 0 2 0 }
children[ DEF ball Transform{
Shape { children[
geometry Cone {height 2 USE pelota
bottomRadius 2 ]
} }
appearance Appearance {material
Material{ diffuseColor 0 1 0}} DEF movimiento PositionInterpolator{
} key[0 0.2 0.45 .8]
] keyValue [0 0 0
} 3 0 0,
5 0 0,
Transform { 000
translation 0 3 0
children[
Shape { ]
geometry Cone {height 2 }
bottomRadius 2 DEF reloj TimeSensor{
} cycleInterval 10
appearance Appearance {material loop TRUE
Material{ diffuseColor 0 1 0}} }
} ROUTE reloj.fraction_changed TO
] movimiento.set_fraction
} ROUTE movimiento.value_changed TO
Transform { ball.set_translation
translation 7 0 0
children[
Shape {
geometry Cylinder {height 2.5
radius .5
}
appearance Appearance {texture
ImageTexture{ url "madera.jpg"}}
}
]
}

Transform {
translation 7 2 0
children[
Shape {
geometry Cone {height 2
bottomRadius 2
}
appearance Appearance {texture
ImageTexture{ url "hoja.jpg"}}
}
]
}

Transform {
translation 7 3 0
children[
Shape {
geometry Cone {height 2
bottomRadius 2
}
appearance Appearance {texture
ImageTexture{ url "hoja.jpg"}}
}
]
}

You might also like