Hola bueno aquí les presento mi ajedrez. Por supuesto que también dejare el código para que se den cuenta de cómo se hace por que tuve la oportunidad de realizarlo, deben saber que no lo pongo para que lo copien, pues al cabo esta mal pero si te da una pequeña referencia. Lo único que tiene que acomodar es que las figuras no tengan el mismo fondo que el tablero pero en cuanto a estructura esta bien. Muchas personas cercanas me dirán que menso que para que pongo el código si con el scren falta pero no señores quiero compartir con ustedes, lo que me costo hacer por mi mismo y si alguien de ustedes tiene dudas o desea aportar nuevas ideas sobre como se vería mi ajedrez son aceptables cualquier tipo de citica.. Después de todo eso me sirve para ser mejor persona. Gracias y espero les ayude este código con la imagen después lo comprimiré para subirlo y puedan bajarlo vale Bye
#VRML V1.0 ascii
#Ejercicio de Luis Alberto
PerspectiveCamera
{
position 5 5 30
}
Texture2
{
filename "tablero.jpg"
}
Cube
{
height 10
width 200
depth 100
}
DEF mov1 Translation
{
translation 32 20 40
}
DEF alfil Separator
{
Cone
{
height 3
bottomRadius 1.5
}
Translation
{
translation 0 -2.1 0
}
Material
{
diffuseColor 1 1 1
}
Sphere
{
radius 1.5
}
Translation
{
translation 0 -6 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 9.5
radius 1.2
}
Translation
{
translation 0 2 -0.2
}
Material
{
diffuseColor 1 0 1
}
Cylinder
{
height 0.5
radius 2
}
Translation
{
translation 0 1.1 -0.2
}
Material
{
diffuseColor 1 0 1
}
Cylinder
{
height 0.5
radius 2
}
Translation
{
translation 0 -3.5 -0.1
}
Material
{
diffuseColor 1 0 1
}
Cylinder
{
height 0.5
radius 2
}
Translation
{
translation 0 -1.2 -0.1
}
Material
{
diffuseColor 1 0 1
}
Cylinder
{
height 0.5
radius 2
}
Translation
{
translation 0 -2 0
}
Material
{
diffuseColor 1 1 1
}
Cone
{
height 5
bottomRadius 5
}
Translation
{
translation 0 -3.6 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 3
radius 6
}
}
DEF mov2 Translation
{
translation 1 -12 -11
}
DEF peon Separator
{
Cylinder
{
height 1.5
radius 4
}
Translation
{
translation 0 5 0
}
Cone
{
height 10
bottomRadius 3
}
Translation
{
translation 0 4 0
}
Sphere
{
radius 2
}
Translation
{
translation 4 0 0
}
}
DEF mov2 Translation
{
translation -20 -0.5 0
}
USE peon
DEF mov2 Translation
{
translation -22 -0.5 0
}
USE peon
DEF mov2 Translation
{
translation -23 -0.5 0
}
USE peon
DEF mov2 Translation
{
translation -22 -0.5 0
}
USE peon
DEF mov2 Translation
{
translation -21 -0.5 0
}
USE peon
DEF mov2 Translation
{
translation 130 2 0
}
USE peon
DEF mov2 Translation
{
translation 20 2 0
}
USE peon
DEF mov3 Translation
{
translation 0 -2 10
}
DEF torre Separator
{
Cylinder
{
height 3
radius 4
}
Translation
{
translation 0 5 0
}
Cylinder
{
height 8
radius 3
}
Translation
{
translation 0 5 0
}
Cylinder
{
height 3
radius 6
}
}
DEF mov3 Translation
{
translation -150 -3 -2
}
USE torre
DEF mov1 Translation
{
translation 45 15 2
}
USE alfil
DEF mov1 Translation
{
translation -2 0 -75
}
USE alfil
DEF mov2 Translation
{
translation 44 -11 10
}
USE peon
DEF mov2 Translation
{
translation 44 -1 0
}
USE peon
DEF mov2 Translation
{
translation -130 1 0
}
USE peon
DEF mov2 Translation
{
translation 20 1 0
}
USE peon
DEF mov2 Translation
{
translation 22 1 2
}
USE peon
DEF mov2 Translation
{
translation 23 -2 -2
}
USE peon
DEF mov2 Translation
{
translation 43 -2 -1
}
USE peon
DEF mov2 Translation
{
translation 42 1 -1
}
USE peon
DEF mov1 Translation
{
translation -42 13 -8
}
USE alfil
DEF mov3 Translation
{
translation 42 -15 -2
}
USE torre
DEF mov3 Translation
{
translation -150 -1 0
}
USE torre
DEF mov5 Translation
{
translation 62 22 77
}
DEF reina Separator
{
Sphere
{
radius 5
}
Translation
{
translation 0 -10 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 23
radius 3
}
Translation
{
translation 0 -9 0
}
Cone
{
height 5
bottomRadius 5
}
Translation
{
translation 0 -3.6 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 1.5
radius 6
}
Translation
{
translation 0 25 0
}
Material
{
diffuseColor 0 1 1
}
Transform
{
translation 0 -2.5 -0
rotation 0 0 1 3.142
}
Cone
{
height 6
bottomRadius 6
}
}
DEF mov5 Translation
{
translation 1 3 -76
}
USE reina
DEF mov6 Translation
{
translation 21 0 0
}
DEF rey Separator
{
Sphere
{
radius 5
}
Translation
{
translation 0 -10 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 23
radius 3
}
Translation
{
translation 0 -9 0
}
Cone
{
height 5
bottomRadius 5
}
Translation
{
translation 0 -3.6 0
}
Material
{
diffuseColor 1 1 1
}
Cylinder
{
height 1.5
radius 6
}
Translation
{
translation 0 25 0
}
Translation
{
translation 0 3 0
}
Cube
{
height 2
width 5
depth 7
}
Translation
{
translation 0 0 0
}
Cube
{
height 5
width 2
depth 7
}
}
DEF mov6 Translation
{
translation 1 0 75
}
USE rey
DEF mov7 Translation
{
translation 40 -20 10
}
DEF caballo Separator
{
Cylinder
{
height 1.3
radius 3.5
}
Translation
{
translation 0 2.5 0
}
Cone
{
height 6
bottomRadius 3.3
}
Translation
{
translation 0 3 0
}
Cylinder
{
height 5
radius 1.5
}
Transform{
translation 0 4 0
rotation 0 0 1 3.148
scaleFactor 1 2 1.5
}
Sphere
{
radius 1.7
}
Transform
{
translation -1.3 -1.2 0
rotation 0 0 1 2.35
}
DEF conito Separator
{
Cone
{
height 0.8
bottomRadius 0.8
}
}
}
DEF mov7 Translation
{
translation -105 -5 -10
}
USE caballo
ajedrez por que deseo compartir mi conocimiento
Publicado por Guerrero Z en 10:05
Suscribirse a:
Enviar comentarios (Atom)
Diseño e iconos por N.Design Studio | A Blogger por Blog and Web
0 comentarios:
Publicar un comentario