OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: The Power of Groves: VRML Description

[ Lists Home | Date Index | Thread Index ]
  • From: Len Bullard <cbullard@hiwaay.net>
  • To: srn@techno.com, x3d-contributors@web3d.org
  • Date: Sat, 12 Feb 2000 21:41:49 -0600

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
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).


#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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS