Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computação Gráfica VRML Rotação 07/12/2017.

Similar presentations


Presentation on theme: "Computação Gráfica VRML Rotação 07/12/2017."— Presentation transcript:

1 Computação Gráfica VRML Rotação 07/12/2017

2 Rotação #VRML V2.0 utf8 Transform { rotation 1.0 0.0 0.0 0.785
children [ Shape { appearance Appearance { material Material { } } geometry Box { } ] Rotating 45.0 degrees about the X axis and building a cone 07/12/2017

3 appearance Appearance { material Material { } } geometry Box { } ]
#VRML V2.0 utf8 Transform { rotation children [ Shape { appearance Appearance { material Material { } } geometry Box { } ] 07/12/2017

4 appearance Appearance { material Material { } } geometry Box { } ]
#VRML V2.0 utf8 Transform { rotation children [ Shape { appearance Appearance { material Material { } } geometry Box { } ] Rotating 45.0 degrees about the Y axis and building a cone 07/12/2017

5 appearance Appearance { material Material { } } geometry Box { } ]
#VRML V2.0 utf8 rotation children [ Shape { appearance Appearance { material Material { } } geometry Box { } ] Rotating degrees about the Z axis and building a box 07/12/2017

6 #VRML V2.0 utf8 Group { children [ # Arm 1 DEF Arm1 Shape { appearance Appearance { material Material { } } geometry Cylinder { height 1.0 radius 0.1 }, # Arm 2 Transform { rotation children USE Arm1 # Arm 3 rotation ]

7 07/12/2017 #VRML V2.0 utf8 Group { children [ # Arm 1 DEF Arm1 Shape {
appearance Appearance { material Material { } } geometry Cylinder { height 1.0 radius 0.1 }, # Arm 2 DEF Arm2 Transform { rotation children USE Arm1 # Arm 3 DEF Arm3 Transform { rotation # Arms 4 and 5 Transform { rotation USE Arm2, USE Arm3 ] 07/12/2017

8 # Right Column DEF RightColumn Transform { translation children USE Column }, # Archway span DEF ArchwaySpan Transform { translation children Shape { appearance USE White geometry Box{ size } # Left Roof DEF LeftRoof Transform { translation rotation children DEF Roof Shape { geometry Box { size # Right Roof translation rotation children USE Roof ] #VRML V2.0 utf8 Group { children [ # Ground Shape { appearance DEF White Appearance { material Material { } } geometry Box { size }, # First archway # Left Column DEF LeftColumn Transform { translation children DEF Column Shape { appearance USE White geometry Cylinder { radius 0.3 height 6.0

9 #VRML V2.0 utf8 Group{ children [ # Lamp base Shape { appearance DEF White Appearance { material Material { } } geometry Cylinder { radius 0.1 height 0.01 }, # Base joint Transform { translation rotation center # Lower arm appearance USE White radius 0.01 height 0.3 ]

10 #VRML V2.0 utf8 Group{ children [ # Lamp base Shape { appearance DEF White Appearance { material Material { } } geometry Cylinder { radius 0.1 height 0.01 }, # Base joint Transform { translation rotation center # Lower arm DEF LampArm Shape { appearance USE White radius 0.01 height 0.3 # Lower arm - second arm joint translation rotation # Second arm USE LampArm ]


Download ppt "Computação Gráfica VRML Rotação 07/12/2017."

Similar presentations


Ads by Google