martes, 7 de febrero de 2017

Ejemplos de Lenguaje de Modelado Realidad Virtual


Ejemplos de vrml



Código VRML Cilindro con textura#VRML V2.0 utf8

Shape {

appearance Appearance {

texture ImageTexture {

url "http://www.abstractdigitalartgallery.com/artgallery-psion005-abstract-digital-art-fractal-Psytrip.jpg"

}

}

geometry Cylinder { radius 2 height 6 }

}



Código VRML para poner una imagen a una figura.

Shape {



appearance Appearance {

texture ImageTexture {

url ["mapamundi.gif"]


}

}
geometry Sphere {radius 1}

}




Código VRML a incorporar para la construcción de toroide en SketchUp

#AVATAR
NavigationInfo {
type [ "WALK", "ANY" ]
avatarSize [ 15, 70, 20 ]
speed 100.0
headlight TRUE
}

#FONDO
Background {
skyColor [
0.0 0.2 0.7,
0.0 0.5 1.0,
1.0 1.0 1.0
]
skyAngle [ 1.309, 1.571 ]
groundColor [
0.1 0.10 0.0,
0.4 0.25 0.2,
0.6 0.60 0.6,
]
groundAngle [ 1.309, 1.571 ]
}




No hay comentarios.:

Publicar un comentario