[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: The Power of Groves: VRML Description

  • From: Len Bullard <cbullard@h...>
  • To: srn@t..., x3d-contributors@w...
  • Date: Sat, 12 Feb 2000 21:41:49 -0600

vrml description
Steven R. Newcomb wrote:
> 
> In the grove paradigm, *you* get to decide what's important when you
> create the property set.

For anyone, not just Steven.  Here is a very condensed expression of
basic VRML. 
How is it expressed as a grove? 

By VRML97 specification, VRML is a node language where nodes have 
fields.  VRML is rootless.  A sceneGraph is a collection of VRML 
nodes.  NOTE:  sceneGraph is not a named property

Declaration example (UTF8 VRML97)

node:	Collision {
field:	     children [ ]   # exposedField (Fieldtype) MFNode
(FieldValue)
field:	     proxy    NULL  # field SFNode
field:	     addChildren    # eventIn MFNode
field:	     removeChildren # eventIn MFNode
field:	     collideTime    # eventOut SFTime
	}

VRML has:

Comments - flag is #
Named Type Nodes  
Name Type Fields

Hierarchy property is a field value type:  SF or MFNode 
Inline property is by node type (Inline).

Symbols:

#VRML V2.0 utf8 - header must begin file
# comment
ROUTE: denotes field routing relationship:  
from/to by type
DEF node label
USE instance copy reference by node label
IS connection of interface item to node body item
SF single field
MF multifield
{ } , [ ], whitespace
NULL, TO, eventIn, eventOut, 
exposedField, field


VRML Node Types (group names used in list are  
not a property of VRML; myNames are used here)

Aggregrate:  Protos (Node type extensibility)

Sets - Group, Switch, LOD, Transform, Shape, Billboard, Inline
Sound, Collision

Document - WorldInfo

Style: Appearance, Material, FontStyle, Color, ImageTexture, 
PixelTexture, MovieTexture, Coordinate, TextureCoorinate. Normal, 
Viewpoint, NavigationInfo

Lights - PointLight, DirectionalLight, SpotLight

Geometry nodes: Box, Cone, Cylinder, Sphere,  Text,   
PointSet, IndexedLineSet, IndexedFaceSet, ElevationGrid, 
Extrusion, Billboard

Effects:  Background, Fog, Billboard, AudioClip

Interfaces: TimeSensor, TouchSensor, PlaneSensor, 
SphereSensor, CylinderSensor, VisibilitySensor, 
ProximitySensor, Anchor, Script, ExternProto

Animation:  ColorInterpolator, ScalarInterpolator, 
PositionInterpolator, OrientationInterpolator, 
CoordinateInterpolator, NormalInterpolator

FieldValue Types -  SFNode, MFNode, SFBool, 
SFColor, MFColor, SFFloat, MFFloat, SFImage, 
SFInt32, MFInt32, SFRotation, MFRotation, 
SFString, MFString, SFTime, SFVec3f, MFVec3f, 
SFVec2f, MFVec2f


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.