= directed acyclic graph of nodes (a node tree)
SF = single field, MF = multi-field
Bool |
boolean value | TRUE, FALSE |
Float |
rational (floating point) number | -63.012, 3.14159, 1.03e25 |
Int |
whole (integer) number | -5, 0, 299 |
Node |
scene graph element | ImageTexture{}, IndexedFaceSet{}, Coordinate{} |
String |
sequence of characters | "", "43", "hello, world!" |
= ascii text, can be zipped for considerable compression
#VRML V2.0 utf8
# for single line comments
NodeName {
fieldName fieldValue
}
Shape is not the same as shape
#VRML V2.0 utf8
Background {
skyColor .33 .33 .33
}
NavigationInfo {
type "EXAMINE"
}
Viewpoint {
description "start"
position 0 0 8
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0 .2 .4
}
}
geometry Box {
size 3 2 1
}
}
CTRL-SPACE, use arrow keys to hilite, ENTER to select)
CTRL-SHFT-F)
F5)
WorldInfo{ title "My Vrml Work" info [ "a basic shape" "made by me" ] }
Shape { geometry NULL }
NULL above)
task01 [»]