ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Código figuras primarias VRML


Enviado por   •  13 de Agosto de 2017  •  Tutoriales  •  303 Palabras (2 Páginas)  •  176 Visitas

Página 1 de 2

#VRML V2.0 utf8

#TEXTO

Shape {

geometry Text {

string ["Estructura quimica de la ",

"molecula del agua:",

"Esta formada por dos atomos de hidrogeno y",

"uno de oxigeno (H2O)",

"unidos mediante enlaces",

"covalentes",

"Los enlaces entre el ",

"oxigeno y los hidrogenos",

"forman un cierto angulo",

"(140.5°)",

"En el agua existen",

"tambien los productos",

"resultantes de la",

"disoacion de algunas",

"de sus moleculas: el ion",

"H30 Y el OH"]

fontStyle FontStyle {

family "TYPEWRITER"

size 0.5

spacing 2.0

justify "END"

}

}

appearance Appearance {

material Material {

diffuseColor 1 .949 0

specularColor .87 .25 .25

ambientIntensity .157

shininess 1

}

}

}

#FIGURA 1: esfera azul: arriba

Group {

children [

Transform {

translation 10 2 -10.35

children [

Shape {

geometry Sphere {

radius 3

}

appearance Appearance {

material Material {

diffuseColor 0 .21 .34

specularColor .3 .92 .98

emissiveColor 0 .22 .35

ambientIntensity 0

shininess .1

transparency .55

}

}

}

]

}

Transform {

translation 10 2 -10.35

children [

Shape {

geometry Text {

string ["H"]

fontStyle FontStyle {

size 3.5

justify "MIDDLE"

}

}

appearance Appearance {

material Material {

diffuseColor .37 .37 .37

specularColor .72 .89 .89

ambientIntensity .1

shininess .13

}

}

}

]

}

]

}

#FIGURA 2: esfera roja

Group {

children [

Transform {

translation 25 -7.50 -10.35

children [

Shape {

geometry Sphere {

radius 3

}

appearance Appearance {

material Material {

diffuseColor .67 .05 .11

specularColor 1 1 .17

emissiveColor .19 .06 .07

ambientIntensity 0

shininess .3

transparency .43

}

}

}

]

}

Transform { translation 25 -7.50 -10.35

children [

Shape {

geometry Text {

string ["O"]

fontStyle

...

Descargar como (para miembros actualizados)  txt (4.2 Kb)   pdf (47.9 Kb)   docx (14.4 Kb)  
Leer 1 página más »
Disponible sólo en Clubensayos.com