110 likes | 239 Vues
This guide introduces the principles of VRML programming for creating geometric solids, focusing on Platonic shapes. Authored by Paula Vilone and Kevin Wright, it provides sample codes to construct various geometric forms such as Box, Cone, Sphere, and more. The document details how to define shapes, colors, textures, and material properties using VRML syntax, empowering users to create visually engaging 3D representations. Ideal for students and enthusiasts in computer graphics and virtual reality.
E N D
Platonics and Geometric Solids VRML Programming and Geometric Solids By Paula Vilone and Kevin Wright
Sample VRML Program • #VRML V2.0 utf8 --------------------------VRML heading • #Paula Vilone/Kevin Wright --------------------------#anything is used for comments • Shape { --------------------------all shapes must start with this node • appearance Appearance {------------------------ defines color and surface texture • material Material { -------------------------further defines color, shininess, transparency • diffuseColor 0 1 0------------------------color numbers are decimals from 0 to 1 • } --------------------------closes above nodes • } • geometry Box { size 3 5 4}----------------------- tells the type of geometric solid to create • }
Cone Geometric Solids
Box Cube Hexahedron Geometric Solids
Sphere Geometric Solids
Cylinder Geometric Solids
Dodecahedron Geometric Solids
Icosahedron Geometric Solids
Octahedron Geometric Solids
Tetrahedron Geometric Solids