Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad

Figuras basicas en Virtual Reality Markup Language, Monografías, Ensayos de Programación Funcional

Como primer paso se presentarán las primitivas de dibujo básicas de VRML, que se utilizan para modelar un paralelepípedo o caja (Box), una esfera (Sphere), un cono (Cone) y un cilindro (Cylinder) respectivamente.

Tipo: Monografías, Ensayos

2020/2021

Subido el 09/12/2021

esmeralda-gordillo-sanchez
esmeralda-gordillo-sanchez 🇲🇽

5

(1)

2 documentos

1 / 1

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Box - Caja (size x y z)
Cone - Cono
(bottomRadius r height h)
Cylinder - Cilindro
(radius r height h)
Sphere - Esfera (radius r)
PRIMITIVAS Y MATERIALES:
FORMAS
BÁSICAS
GORDILLO SÁNCHEZ ESMERALDA
LUNA SÁNCHEZ JESSICA VALERIA
SILVA RUBIO MIGUEL
ZAMORANO ALFARO LILIAN
IC M - 2 7 42
LOS NODOS SON BLOQUES DE INFORMACIÓN QUE
DEFINEN LAS CARACTERÍSTICAS DE UN OBJETO
CONCRETO (SU FORMA, SU APARIENCIA, ETC.), O LA
RELACIÓN ENTRE DISTINTOS OBJETOS.
Para poder visualizarlas hay que usar
un nodo Shape, el cual presenta dos
campos geometry y appearance
Material: define el material de la primitiva
como "color y textura".
diffuseColor R G B: establece el color del
material empleado.
Las primitivas definen la
geometria de los objetos basicos.
También es posible definir un
Color ó alguna Textura. La
apariencia de una primitiva se
define con "appearence" del
nodo "Shape"
Color
Blanco
Amarillo
Rojo
Azul
Verde
Cyan
Magenta
Color RGB
1 1 1
1 1 0
1 0 0
0 0 1
0 1 0
0 1 1
1 0 1
Shape {
appearance Appearance{
material Material{
diffuseColor 1 1 0
}
}
geometry Box {
size 5 5 5
}
}
Nodo Box:
Shape{
appearance Appearance{
material Material{
diffuseColor 1 0 0
}
}
geometry Cylinder{
height .5
radius .5
}
}
Nodo Cylinder:
Shape{
appearance Appearance{
material Material{
diffuseColor 0 0 1
}
}
geometry Cone{
height 4
bottomRadius 1.5
}
}
Nodo cono:
Shape{
appearance Appearance{
material Material{
diffuseColor 0 1 1
}
}
geometry Sphere{
radius 1.5
}
}
Nodo sphere:
http
://
www
.
geocities
.
ws
/
daraujo14
/
vrml
_
araujo
.
pdf
http
://
tutorialdevrml
.
blogspot
.
com
/
2012
/
04
/
2realizar
-
figuras
-
geometricas
.
html
Bibliografía

Vista previa parcial del texto

¡Descarga Figuras basicas en Virtual Reality Markup Language y más Monografías, Ensayos en PDF de Programación Funcional solo en Docsity!

Box - Caja (size x y z)

Cone - Cono

(bottomRadius r height h)

Cylinder - Cilindro

(radius r height h)

Sphere - Esfera (radius r)

PRIMITIVAS Y MATERIALES:

FORMAS

BÁSICAS

G O R D I L L O S Á N C H E Z E S M E R A L D A L U N A S Á N C H E Z J E S S I C A V A L E R I A S I L V A R U B I O M I G U E L Z A M O R A N O A L F A R O L I L I A N I C M - 2 7 4 2 L O S N O D O S S O N B L O Q U E S D E I N F O R M A C I Ó N Q U E D E F I N E N L A S C A R A C T E R Í S T I C A S D E U N O B J E T O C O N C R E T O ( S U F O R M A , S U A P A R I E N C I A , E T C. ) , O L A R E L A C I Ó N E N T R E D I S T I N T O S O B J E T O S. Para poder visualizarlas hay que usar un nodo Shape, el cual presenta dos campos geometry y appearance

Material: define el material de la primitiva

como "color y textura".

diffuseColor R G B: establece el color del

material empleado.

Las primitivas definen la

geometria de los objetos basicos.

También es posible definir un

Color ó alguna Textura. La

apariencia de una primitiva se

define con "appearence" del

nodo "Shape"

Color Blanco Amarillo Rojo Azul Verde Cyan Magenta Color RGB 1 1 1 1 1 0 1 0 0 0 0 1 0 1 0 0 1 1 1 0 1 Shape { appearance Appearance{ material Material{ diffuseColor 1 1 0 } } geometry Box { size 5 5 5 } } Nodo Box: Shape{ appearance Appearance{ material Material{ diffuseColor 1 0 0 } } geometry Cylinder{ height. radius. } } Nodo Cylinder: Shape{ appearance Appearance{ material Material{ diffuseColor 0 0 1 } } geometry Cone{ height 4 bottomRadius 1. } } Nodo cono: Shape{ appearance Appearance{ material Material{ diffuseColor 0 1 1 } } geometry Sphere{ radius 1. } } Nodo sphere:

http://www.geocities.ws/daraujo

/vrml_araujo.pdf

http://tutorialdevrml.blogspot.com

/ 2012 / 04 /2realizar-figuras-

geometricas.html

Bibliografía