VRML Shapes.

Slides:



Advertisements
Similar presentations
 Section the figure off into triangles, squares, rectangles, trapezoids, and/or parallelograms  Find the area of each piece using the appropriate formula.
Advertisements

3D sprog X3D: Et 3D sprog til at definere realtime 3D grafik der kan formidles via WWW. – XML integreret – Baseret på VRML – Relativt nyt så der findes.
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)
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.
Binary Compression Rates for ASCII Formats Martin IsenburgJack Snoeyink University of North Carolina at Chapel Hill.
© 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.
Virtual reality. Tasks 3D digital model from planes 3D digital model of existing objects Office work Field observations Solid modeling Photogrammetry.
VRML - 1 Virtual Reality Modeling Language (VRML) Peter O’Grady.
3D Figures What is a 3D figure? A solid shape with length, width, and height rectangular prisms cube cone cylinder pyramid.
VRML Shapes and Geometry
1 Virtual Reality Modeling Language (VRML97) ©Anthony Steed
What is the correct name for the geometric figure? Triangular prism.
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.
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.
Solid Figures.
H3D API Training Part 3.2: Fields; Event Handling.
111/22/ :40 UML VRML 2.0 Scene Graph Structure Group Transformation Shape Nodes.
VRML Anthony Steed Department of Computer Science University College London ©Anthony Steed
Volume & Surface Area of Solids Objective: find the volume & surface area of cylinders, prisms, cones, pyramids and spheres How are volume formulas related.
Intro to VRML Let’s build something! The source code examples in this tutorial WORK!
Views of Solids Geometry D. Sketching the views of the solid. First, use blocks to construct a similar solid to the one shown at the left.
Types of Solid Figures Lesson Vocabulary Polyhedron - solid figure with flat faces that are polygons Lateral faces - faces other than the base in.
Introduction to VRML for generating 3-D display
Virtual Reality Systems
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 6 – Texture Maps.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 5 – Animation in VRML.
REVIEW FOR TEST LESSON 27.
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.
UNIT 8: VOLUME VOCABULARY 8 TH GRADE MATH MS. CARQUEVILLE.
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.
DLP for Virtual Environments (I)
Computação Gráfica VRML Rotação 07/12/2017.
10-4 Surface Areas of Pyramids and Cones
REVIEW FOR TEST LESSON 27.
Honors Geometry Solids Project
Department of Computer Science University College London
Pyramids.
Surface Area, Volume and Scale Factor Review
VIRTUAL REALITY IN ROBOTICS
Introduction to VRML for generating 3-D display
Find the volume of the solid obtained by rotating about the x-axis the region under the curve {image} from x = 2 to x = 3. Select the correct answer. {image}
Solid Geometry.
Find the volume of the solid obtained by rotating the region bounded by {image} and {image} about the x-axis. 1. {image}
Solid Figures Geometry.
Solid Figures Geometry.
5.6 Surface Area of 3D Figures
Volume of Composite Figures
Given that they are equivalent, what is the diameter of the sphere?
11.8 Surface Area and Volume of Spheres
A sphere is the set of all points that are equidistant from a given point called the center. Does a sphere have lateral area? A = V =
MATH THS – Standard Geometry
SOLIDS (3-D stuff) T BOLAN.
Solid Geometry.
Ch. 23 Electric Flux Gauss's Law
Lesson: 12 – 2 Surface Areas of Prisms & Cylinders
Solids.
Solid Geometry.
Lecture 3. Virtual Worlds : Representation,Creation and Simulation
Geometry: Three Dimensional Solids
Presentation transcript:

VRML Shapes

Box Box { field SFVec3f size 2 2 2 } Centered at (0, 0, 0) Outside only

Sphere Sphere { field SFFloat radius 1 }

Cone Cone { field SFFloat bottomRadius 1 field SFFloat height 2 field SFBool side TRUE field SFBool bottom TRUE } Side and bottom refer to existence of these parts of the geometry Defined for Outside only

Cylinder Cylinder { field SFBool bottom TRUE field SFFloat height 2 field SFFloat radius 1 field SFBool side TRUE field SFBool top TRUE } Outside only

VRML Shapes

ElevationGrid ElevationGrid { eventIn MFFloat set_height exposedField 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,) }

IndexedFaceSet IndexedFaceSet { eventIn MFInt32 set_colorIndex eventIn MFInt32 set_coordIndex eventIn MFInt32 set_normalIndex eventIn MFInt32 set_texCoordIndex exposedField SFNode color NULL exposedField SFNode coord NULL exposedField SFNode normal NULL exposedField SFNode texCoord NULL field SFBool ccw TRUE field MFInt32 colorIndex field SFBool colorPerVertex field SFBool convex field MFInt32 coordIndex [] field SFFloat creaseAngle 0 field MFInt32 normalIndex [] field SFBool normalPerVertex TRUE field SFBool solid TRUE field MFInt32 texCoordIndex [] }

Indexed Face Set Example #VRML V2.0 utf8 Shape { geometry IndexedFaceSet { coordIndex [ 0, 1, 3, -1, 0, 2, 3, -1 ] coord Coordinate { point [ 0 0 0, 1 0 0, 1 0 -1, 0.5 1 0 ] } color Color { color [ 0.2 0.7 0.8, 0.5 0 0, 0.1 0.8 0.1, 0 0 0.7 ] normal Normal { vector [ 0 0 1, 0 0 1, 0 0 1, 0 0 1 ] } texCoord TextureCoordinate { point [ 0 0, 1 0, 1 0.4, 1 1 ] appearance Appearance { material Material { transparency 0.5 } texture PixelTexture { image 2 2 1 0xFF 0x80 0x80 0xFF