VRML Syntax and Grammar - PowerPoint PPT Presentation

About This Presentation
Title:

VRML Syntax and Grammar

Description:

VRML Syntax and Grammar. Learning Objectives. Understand the formal grammar definition for VRML found here: http://www.vrml. ... Understand how grammar rules work ... – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 7
Provided by: engi72
Category:
Tags: vrml | grammar | rules | syntax

less

Transcript and Presenter's Notes

Title: VRML Syntax and Grammar


1
VRML Syntax and Grammar
2
Learning Objectives
  • Understand the formal grammar definition for VRML
    found here http//www.vrml.org/technicalinfo/spec
    ifications/vrml97/part1/grammar.html
  • Understand how grammar rules work
  • Understand how a VRML file is parsed and
    understood by a software program.

3
Structure of a VRML File
  • Header
  • Scene graph
  • Prototypes
  • Event routing

4
VRML Header
  • VRML V2.0 ltencoding typegt optional comment
    ltline terminatorgt
  • Encoding type is usually utf8, but other
    encoding schemes are possible.

5
VRML Scene Graph
  • Describes the scene graphs
  • Defines the connections among events
  • Identifies positions in the scene graph for
    reference by events

6
Prototypes
  • PROTO Cube Box
  • Declares a new type, Cube, that has one shape
    node inside, Box.
  • You can also declare user-defined variables
    within the prototype.
Write a Comment
User Comments (0)
About PowerShow.com