Virtual Reality Support.
Virtual Reality Modeling Language
VRML is the standard for 3-D graphics on the World Wide Web.
VRML is a platform-independent file format.
SGI's 'Inventor' format was initially chosen as a basis of
scene and geometric object description language in 1995 (VRML 1.0).
In 1996, the 'Moving Worlds' proposal by a consortium of companies
(mostly SGI) was voted by the VRML community to form the new
standard (VRML 2.0), defeating the proposal of MicroSoft.
VRML 2.0 worlds can be interactive and animated.
Note: this will all soon be superceded by 'X3D'
See the VRML home page:
http://www.web3d.org/vrml/vrml.htm
You once could get free VRML plug-ins for your brower
(I use CosmoPlayer on both my SGI and PC)
from SGI's web site.
Inventor is nearly dead, will most likely incorporated into
future projects.
The Open Inventor Home page is:
http://www.sgi.com/software/inventor/
VRML and ribbons
Some background, examples, and the steps to create the
files are given below.
VRML 1.0 (Inventor)
Ribbons++, presented at the
1993 annual meeting of the Molecular Graphics Society,
used the Inventor toolkit
(
it's on my website ).
Some sample '*.iv' files are on the old CMC web site:
http://origin.cbse.uab.edu/vrml
- adjust the ribbons display to your pleasure.
- save a *.iv format VRML-1.0 ascii file:
Menubar -> File -> Export VRML/Raytracing -> Inventor
- view with 'ivview' on an SGI machine.
Note, the files are 'centered' for convenient viewing.
If using a viewer that takes multiple files, and you
need the absolute origin, comment out (add '#' before)
the centering translation at
the 5th line: Transform {translation ...
VRML 2.0
The Sound of Sequence was a VRML 2.0 site prepared for the
first Molecular Graphics and Modeling Society
Electronic Conference on the Web in 1996.
This site uses the audio and animation techniques new in VRML 2.0:
http://sgce.cbse.uab.edu/SoundOfSequence
Part of the old CMC intranet site also has demonstrations in VRML 2.0:
http://origin.cbse.uab.edu/VRML2.0 - DrugDesign
- adjust the ribbons display to your pleasure.
- save a *.wrl format VRML-2.0 ascii file:
Menubar -> File -> Export VRML/Raytracing -> Inventor
(or just: Alt-w)
Note: this saves 'your.wrl' and 'your_inline.wrl',
the latter being the actual geometry.
The former defines the viewpoints (see below).
- view with netscape, after you install the CosmoPlayer plug-in.
- toggle the different Viewpoints.
'default' should be about as it was in ribbons ,
'flying' gives a rollercoaster effect (must edit file to activate).
Note, the files are 'centered' for convenient viewing.
If using a viewer that takes multiple files, and you
need the absolute origin, comment out (add '#' before)
the centering translation at
~the 27th line, right after 'DEF CompleteModel Transform':
translation ...
Can add more named viewpoints to allow user to examine from
several pre-defined views (get these by saving more '*.wrl' files).
To activate flying, turn on the RocketTimerSensor by changing
~line 39 from 'enabled FALSE' to 'enabled TRUE'. This has the annoying
effect of jiggling the model in the default view.
Ribbons User Manual / UAB-CBSE / carson@uab.edu