The iVRML Viewer is an OpenGL based VRML scene viewer for GNU/Linux and Win32 systems. The i in iVRML stands for incomplete. This means that the viewer does not support the full VRML97 Specification -- and it will never do so. At the moment the program is limited to a small subset of VRML nodes. These nodes are the Group node, the Transform node, the Appearance node and the IndexedFaceSet node which is also restricted to triangulated meshes. The example section contains some valid VRML files which are limited to the supported nodes listed above.
The parser of the viewer is based on flex and bison and is generating a simple hierarchical scene graph out of the VRML file. The viewer is using the GtkGLExt OpenGL binding for GTK+ 2.2 as it's toolkit. And for easy navigation a virtual trackball is provided, so that the scene can be rotated, zoomed and moved around with the left, the middle and the right mouse button. The structure of the source code is kept as simple as possible and the class hierarchy of each part is shown in the following pseudo-UML class diagram: Class diagram of the iVRML Viewer.
The source code is released under the terms of the GNU General Public License.
Trianlges | 15904 |
---|---|
Vertices | 8054 |
Screenshot | monkey.png |
Download | monkey.zip |
Notes | monkey.txt |
Trianlges | 12630 |
---|---|
Vertices | 35207 |
Screenshot | dolphin.png |
Download | dolphin.zip |
Notes | dolphin.txt |
Trianlges | 29997 |
---|---|
Vertices | 38239 |
Screenshot | shuttle.png |
Download | shuttle.zip |
Notes | shuttle.txt |
The package was successfully compiled and tested under GNU/Linux and Windows 98. The Win32 binary was cross-compiled under GNU/Linux using the MinGW environment. Everything was tested with the software renderer from Mesa and the opengl32.dll based software renderer from Microsoft as well as with the hardware accelerated drivers from NVidia. You will also need at least the following libraries and tools to compile the source code. In the majority of cases, these packages are already part of your GNU/Linux distribution. So there is no need to compile them yourself. And please let me know if you have compiled and run the viewer on another system than the ones listed above.
To install the software under Windows you have to unzip the archive into a directory of choice. Then you should be ready to start the viewer with the ivv.exe. The uninstall is also as simple as the installation, just delete the directory in which you have unzipped the archive before. The Windows archive also contains the GTK+ runtime environment for Win32.