miércoles, 6 de agosto de 2014

Es el codigo VrmlPad con las figuras geométricas

#VRML V2.0 utf8
Collision {
collide FALSE
children [
Transform {
translation -3 0 0
children [
Shape {
geometry Box {
size 2 2 2
}
appearance Appearance {
material Material {
diffuseColor 1 0 0
}
}
}
]
}
]
}
Collision {
collide TRUE
children [
Shape {
geometry Sphere {
radius 1
}
appearance Appearance {
material Material {
diffuseColor 0 1 0
}
}
}
Transform {
translation 5 0 0
children [
Shape {
appearance Appearance {
material Material{
diffuseColor .576 .8 .306
specularColor .235 .576 .863
emissiveColor .424 .702 .22
}
}
geometry Cone { height 3.0
           bottomRadius 0.75}

}
]
}
Transform {
translation 3 0 0
children [
Shape {
geometry Cylinder {height 1
}
appearance Appearance {
material Material {
diffuseColor 0 0.5 1
}
}
}
]
}
]
}

No hay comentarios:

Publicar un comentario

Nota: solo los miembros de este blog pueden publicar comentarios.