Powered By Blogger

martes, 8 de julio de 2008

>> AJEDREZ <<

== ESFERAS ==

#VRML V1.0 ascii
#Esferas defomadas
#Ortiz Hernandez Pepe
#Ojeda Villfuerte Ana Maria
#1641

PerspectiveCamera
{
position 20 10 60
}

# Escala en Z
DEF cono Separator
{
Translation
{
translation 0 6 0
}
Material
{
diffuseColor 1 1 0
transparency 0.4
}
Scale{
scaleFactor 1 1 0.5
}
Texture2
{
filename"flippy.gif"
}
Sphere
{
radius 7
}
}

# Escala en Y
DEF cono Separator
{
Translation
{
translation 15 5 0
}
Material
{
diffuseColor 1 0 0
transparency 0.4
}
Scale{
scaleFactor 1 0.5 1
}
Texture2
{
filename"cromarmot.gif"
}
Sphere
{
radius 7
}
}

# Escala en X
DEF cono Separator
{
Translation
{
translation 30 5 0
}
Material
{
diffuseColor 1 0 1
transparency 0.4
}
Scale{
scaleFactor 0.5 1 1
}
Texture2
{
filename"textura1.gif"
}
Sphere
{
radius 7
}
}





}

== CABALLO ==

#VRML V1.0 ascii
#Caballo
#Ortiz Hernandez Pepe
#Ojeda Villfuerte Ana Maria
#1641

PerspectiveCamera
{
position 20 8 60
}

DEF caballo Separator
{
Translation
{
translation 0 0 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 2
radius 6
}

DEF base2 Separator
{
Translation
{
translation 0 2.5 0
}
Scale
{
scaleFactor 1 0.6 1
}
Sphere
{
radius 6
}

#base3
Translation
{
translation 0 5 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 2
radius 4
}

DEF base4 Separator
{
Translation
{
translation 0 2.5 0
}
Scale
{
scaleFactor 1 0.5 1
}
Sphere
{
radius 5
}
}

DEF cuello Separator
{
Translation
{
translation 0 9 0
}
Scale
{
scaleFactor 1 1 1
}
Cylinder
{
height 12
radius 3
}
}

DEF cabeza Separator
{
Translation
{
translation 0 19 2.5
}
Scale
{
scaleFactor 0.6 1 1
}
Sphere
{
radius 7
}
}

DEF cabe Separator
{
Translation
{
translation 0 25 0
}
Scale
{
scaleFactor 0.7 1 1
}
Sphere
{
radius 5
}
}

DEF oreja1 Separator
{
Translation
{
translation 2.5 22 -2
}
Scale
{
scaleFactor 0.5 1 1
}
Sphere
{
radius 3
}
}

DEF oreja2 Separator
{
Translation
{
translation -2.5 22 -2
}
Scale
{
scaleFactor 0.5 1 1
}
Sphere
{
radius 3
}
}

DEF lomo Separator
{
Translation
{
translation 0 14 -2.5
}
Scale
{
scaleFactor 1 1 1
}
Cylinder
{
height 20.5
radius 2
}
}

DEF ojo1 Separator
{
Translation
{
translation -3.5 22 2.5
}
Sphere
{
radius 1
}
}

DEF ojo2 Separator
{
Translation
{
translation 3.5 22 2.5
}
Sphere
{
radius 1
}
}

}#cierra todo
}#Cierra caballo