VRML : Miscellaneous
This page contains a few extra VRML nodes, and a bit of information
on VRML document server considerations.
Extra VRML Nodes
- FontStyle
- This nodes sets preferences for the appearance of text created with the
AsciiText
node. Again, different browsers will produce
different results.
Parameter | Default Value |
Data Type |
family | SERIF | Enumerated - SANS | SERIF | TYPEWRITER
|
size | 10 |
Float |
style | NONE | Enumerated - BOLD | ITALIC | NONE
|
Example: Select a sans serif font, bold, size 14.
FontStyle {
family SANS
size 14
style BOLD
}
- Info
- Because many VRML document servers strip-out comments and white-space
before sending the document, comments concerning copyright, author info,
or any other "important" data can get lost before sending the document. To
overcome this, the
Info
exists. The string
parameter has no effect whatsoever on the world, and can be used for any
comment that needs to be transmitted.
Parameter | Default Value |
Data Type |
string | "<Undefined info>" | String |
Example: Send the Author's Name.
Info {
string "This VRML world was created by Fred"
}
Nodes Not Included In This Discusion
For many reasons, mainly because the nodes are of no importantance to the
representation of chemical data, some nodes have been totally unmentioned
in this site. For completeness, a list of them appears here.
- Group - similar to
Separator
, but does not restore
states (e.g. material).
- LOD - alters the detail level : distance from eye ratio, which is
done automatically by some browsers.
- MatrixTransform - same effect can be acheived by
Translation,
Rotation,
and Scale
nodes.
- Normal - Defines a set a normal vectors for use with
IndexedFaceSet, IndexedLineSet,
and PointSet
nodes.
- NormalBinding -Sister of
MaterialBinding
node.
- ShapeHints - gives browsers "hints" about the shapes described in
IndexedFaceSet, IndexedLineSet,
and PointSet
commands.
- Switch - another sister of the
Separator
node.
- Texture2 - defines a texture map.
- Texture2Transform - 2D transformation of a texture.
- TextureCoordinate2 - used when mapping textures to shapes created
with
IndexedFaceSet, IndexedLineSet,
and PointSet
nodes.
- Transform - combines the
Rotation, Scale,
and
Translation
nodes.
- WWWAnchor - gives a hyperlink to another VRML world.
- WWWInline - adds inline VRML objects to your VRML world.
VRML Document Server Considerations
- Many VRML document servers strip-out comments and white-space, so use
the
Info
node to add Copyright or Author information.
- Use the extension .wrl for your VRML files. This is a shortening of
the word "world".
- The MIME type for VRML files is "x-world/x-vrml". The MIME major type
is "x-world", which is shared with other 3D-world file formats. To
distunguish VRML files from othe 3D-world files the MIME minor type
"x-vrml" is used.
Next Topic (Chemistry in VRML)
Previous Topic (DEF and USE)
Back to the VRML Reference
Back to the Main Page
©Tom Thurston, 1997
Please feel free to use and redistribute this NONcommercially!