VRML Shapes and Geometry

Slides:



Advertisements
Similar presentations
VRML 97 Formato per la definizione di oggetti 3D. La versione VRML 1 viene da una semplificazione degli scene graphs di OpenInventor. La versione 2.0 (97)
Advertisements

Solid Cylinder cut at an angle Drawing Abilities Teacher © J Lewis 2004.
Characteristics of 3-D Shapes
Internal 3 Credits DO NOW: Convert the following: 1) cm 3 to mm 3 2) 728,955 mm 3 to cm 3 3) Write up the method you use for doing this.
Solid Geometry.
© Richard Jones, 2009 CO641 Computer Graphics 1 CO641 Computer Graphics and Animation X3d / VRML Richard Jones SW107
Viewpoint { eventIn SFBool set_bind exposedField SFFloat fieldOfView # (0,  ) exposedField SFBool jump TRUE exposedField SFRotation orientation.
© De Montfort University, D Graphics and VRML Howell Istance and Chris Hand* De Montfort University * now at
A Standard Humanoid Representation on The Web: VRML/X3D Humanoid Animation Working Group (H-anim) Che-Jen Chen May/30/2003.
Cse591 Spring 981 VRML Basics The basic elements of VRML files are nodes. Every type of node has a set of fields associated with it. –Common single-valued.
VRML Virtual Reality Modeling Language. What Are We Going to See? What is VRML? Syntax of the language Features Examples.
Unit 6: Geometry Lesson 7: Volume and Surface Area Learning Goal  I can determine the volume for various prisms, pyramids, cylinders, cones, and spheres.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 3 – Object Definition in VRML.
Three-Dimensional Figures. Find each missing measure. 1. A = 56 cm 2 2. C = ft 3. A = 72 in 2 r 8 cm x cm x in 15 in 6 in.
VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady.
VOLUME Volume is a measure of the space within a solid figure, like ball, a cube, cylinder or pyramid. Its units are at all times cubic. The formula of.
Cubes, Prisms, Pyramids, Cylinders, Cones and Spheres
1 Virtual Reality Modeling Language (VRML97) ©Anthony Steed
Lesson 1.8 – Space Geometry Homework: Lesson 1.8/1-27 Chapter 1 Test Friday 10/18.
Volume learning about. There are three classes of solid that we will look at: Prisms Tapered Solids Spheres.
CVVR National Dong Hwa Univ. 國立東華大學 VRML Virtual Reality Modeling Language
Computer Graphics Group Script node Jiří Žára. Computer Graphics Group Contents 1.Script node 2.Motion generators 2Script node.
Identifying 3-D Figures Lesson 12 – 7. Vocabulary Three Dimensional (3 – D) Figure: Shapes that have a length, width, and depth/height Face – a flat surface.
Identify each of the following shapes. In geometry, what is a net? what is surface area? cube Triangular pyramid Right square pyramid Rectangular prism.
7.1 Three- Dimensional Figures I can classify and draw three-dimensional figures.
Surface Area of Prisms and Cylinders. Goal, to find the surface areas of prisms and cylinders.
111/16/ :14 UML Instance Transformation x y z x y z x y z x y z SRT Model Coordinates.
H3D API Training Part 3.2: Fields; Event Handling.
Unit 6 3D Modeling Concepts
111/22/ :40 UML VRML 2.0 Scene Graph Structure Group Transformation Shape Nodes.
Objective: Review. Warm up 1.. Cross-section: It is the intersection of a solid and a plane.
VRML Anthony Steed Department of Computer Science University College London ©Anthony Steed
What are these shapes? squarecircletrianglerectangle How many sides do each have? How many points do each have?
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 2 – Basic VRML.
Math 10 Chapter 1 - Geometry of 3-D Figures Lesson 4 – Calculating Surface Areas of 3-D Shapes.
Notes Over Surface Area l b.
Intro to VRML Let’s build something! The source code examples in this tutorial WORK!
Solid Figures Vocabulary.
Solids: Three –Dimensional figures
Types of Solid Figures Lesson Vocabulary Polyhedron - solid figure with flat faces that are polygons Lateral faces - faces other than the base in.
Solids: Three – Dimensional figures EQ: How do you identify various three-dimensional figures?
INDESIGN TO REVIEW. TEXT TOOL Used to -change font and font size -add text to text blocks -selecting and highlighting text.
Virtual Reality Systems
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 6 – Texture Maps.
9.5 Space Figures, Volume, and Surface Area Part 1: Volume.
7.1 Three- Dimensional Figures I can classify and draw three-dimensional figures.
Solid Geometry Student Expectations 7 th Grade: 7.3.6C Use properties to classify three- dimensional figures, including pyramids, cones, prisms, and.
What are we learning today? We will learn the names of 3D shapes. We will learn how they are made up. We will learn new ways to describe them. We will.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 5 – Animation in VRML.
Solids: Three – Dimensional figures EQ: How do you identify various three-dimensional figures? How do you distinguish between prisms and pyramids? 6.G.4.
Lateral Surface Area Lateral Surface Area is the surface area of the solid’s lateral faces without the base(s).
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 4 – Object Manipulation in VRML.
Geometry Shapes Revision. Drawing Cubes How many cubes? Draw a front, side and top view.
1 Solids Three-Dimensional Geometry. 2 Prisms A prism is a three-dimensional solid with two congruent and parallel polygons called the bases. The lateral.
May look at figures in box to give you some ideas. Geometric Solid:
An introduction to 3D shapes
Department of Computer Science University College London
Unit 2: Text Formatting.
VRML Shapes.
Solid Geometry.
Geometric Solids All bounded three-dimensional geometric figures. Examples: Sphere, Cylinders, Cubes, Cones, Pyramids, and Prisms.
Geometric Solids All bounded three-dimensional geometric figures. Examples: Sphere, Cylinders, Cubes, Cones, Pyramids, and Prisms.
Three-Dimensional Figures
Solid Geometry.
Lesson 5 Topic B – Basic Text & Fonts
Solid Geometry.
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
How many 3D shapes can you list?
Lesson 4 Volume of Prisms
Geometry: Three Dimensional Solids
Presentation transcript:

VRML Shapes and Geometry

Learning Objectives Understand how to use: Box, Cone, Cylinder, and Sphere Understand how to use Elevation Grid and Indexed Face Set Understand how to use Text

The Shape Node Shape { } exposedField SFNode appearance NULL exposedField SFNode geometry NULL }

Shapes and Geometry Nodes Box Cone Cylinder Sphere ElevationGrid IndexedFaceSet Text Extrusion IndexedLineSet PointSet

Box Box { field SFVec3f size 2 2 2 # (0,  ) }

Cone Cone { } field SFFloat bottomRadius 1 # (0, ) field SFFloat height 2 # (0, ) field SFBool side TRUE field SFBool bottom TRUE }

Cylinder Cylinder { } field SFBool bottom TRUE field SFFloat height 2 # (0, ) field SFFloat radius 1 # (0, ) field SFBool side TRUE field SFBool top TRUE }

Sphere Sphere {field SFFloat radius 1 # (0, ) }

Elevation Grid ElevationGrid { SFNode color NULL exposedField SFNode normal NULL exposedField SFNode texCoord NULL field MFFloat height [] # (- , ) field SFBool ccw TRUE field SFBool colorPerVertex TRUE field SFFloat creaseAngle 0 # [0, ] field SFBool normalPerVertex TRUE field SFBool solid TRUE field SFInt32 xDimension 0 # [0, ) field SFFloat xSpacing 1.0 # (0, ) field SFInt32 zDimension 0 # [0, ) field SFFloat zSpacing 1.0 # (0, ) }

Indexed Face Set IndexedFaceSet { exposedField SFNode color NULL exposedField SFNode coord NULL exposedField SFNode normal NULL exposedField SFNode texCoord NULL field SFBool ccw TRUE field MFInt32 colorIndex [] # [-1, ) field SFBool colorPerVertex TRUE field SFBool convex TRUE field MFInt32 coordIndex [] # [-1, ) field SFFloat creaseAngle 0 # [0, ) field MFInt32 normalIndex [] # [-1, ) field SFBool normalPerVertex TRUE field SFBool solid TRUE field MFInt32 texCoordIndex [] # [-1, ) }

Faces for Face Set at least three non-coincident vertices; vertices that define a planar polygon; vertices that define a non-self-intersecting polygon.

Text Text { } exposedField MFString string [] exposedField SFNode fontStyle NULL exposedField MFFloat length [] # [0, ) exposedField SFFloat maxExtent 0.0 # [0, ) }

Text Style FontStyle { } field MFString family "SERIF" field SFString style "PLAIN" field MFString justify "BEGIN" field SFString language "" field SFBool horizontal TRUE field SFBool leftToRight TRUE field SFBool topToBottom TRUE field SFFloat size 1.0 # (0, ) field SFFloat spacing 1.0 # [0, ) } SERIF, SANS or TYPEWRITER PLAIN, BOLD or ITALIC BEGIN, MIDDLE or END

Extrusion Extrusion { } SFBool beginCap TRUE field SFBool ccw TRUE field SFBool convex TRUE field SFFloat creaseAngle 0 # [0, ) field MFVec2f crossSection [ 1 1, 1 -1, -1 -1, -1 1, 1 1 ] # (- , ) field SFBool endCap TRUE field MFRotation orientation 0 0 1 0 # [-1,1],(- , ) field MFVec2f scale 1 1 # (0, ) field SFBool solid TRUE field MFVec3f spine [ 0 0 0, 0 1 0 ] # (- , ) }

Indexed Line Set IndexedLineSet { } exposedField SFNode color NULL exposedField SFNode coord NULL field MFInt32 colorIndex [] # [-1, ) field SFBool colorPerVertex TRUE field MFInt32 coordIndex [] # [-1, ) }

Point Set PointSet { } exposedField SFNode color NULL exposedField SFNode coord NULL }

Learning Objectives Understand how to use: Box, Cone, Cylinder, and Sphere Understand how to use Elevation Grid and Indexed Face Set Understand how to use Text