Starting with Open Inventor 7.2, TerrainViz no longer requires a separate license string. The TerrainViz features are included with your base Open Inventor license.
No new features were added. See the fixed bugs section.
No new features were added. See the fixed bugs section.
No new features were added. See the fixed bugs section.
No new features were added. See the fixed bugs section.
No new features were added. See the fixed bugs section.
No new features were added. See the fixed bugs section.
No new features were added. See the fixed bugs section.
In the previous version of TerrainViz, stereo rendering was inefficient because TerrainViz would re-tessellate two times (once for each eye).
In TerrainViz 3.0, tessellation is only done once per frame. When stereo is active, the terrain is tessellated on the left eye traversal and that tessellation is re-used for the right eye traversal.
Hole management allows you to to define a terrain with undefined values in some regions. You can specify a hole value and whether values greater than, less than, or equal to this value will be considered to be missing data. You can also control how smooth or rough the boundary of the hole should be.
Example: $OIVHOME/src/TerrainViz/TVizDemo
This demo now contains an example of terrain with holes and a way to parameterize the holes.
Example: $OIVHOME/src/TerrainViz/TVizPreProDemo
This demo reads some dted files (elevations) and image files, pre-processes these files, then generates .dat, .xml, and png files that are read and displayed in a TerrainViz viewer.
There is now a new FAQ that provides answers to your frequently asked questions.
This new release of TerrainViz is now powered by a new faster engine. TerrainViz comes also with a specialized viewer (SoTVizViewer) with fly, walk, and constant elevation modes. Preprocessing classes have been added to preprocess multiple texture files and multiple elevation files input in different file formats.
TVIZ_VIEWER_DATA_PATH is a new environment variable that specifies the path where data (.iv files) used by the viewer navigation tools can be found. By default, TVIZ_VIEWER_DATA_PATH is defined as ${OIVHOME}/data/TerrainViz/viewer.
The default axis for elevation is now Z instead of Y.
In SoTVizRender
The two fields triangleSizeAttenuation and distanceAttenuation are now obsolete because they are not used by the new engine.
In SoTVizRender
Nodes
- SoTVizDataPreprocessor: Allows preprocessing of multiple elevation files. Supports DTED, SDTS DEM, ASCII Arc Info Grid, BIL, GTOPO30. Outputs a single elevation file (.DAT) compatible with the SoTVizRender class.
- SoTVizTexturePreprocessor: Allows preprocessing of multiple texture files. Supports geo-referenced formats: GeoTiff, Tiff-Tfw; and raster formats: RGB, SGI, TIFF, GIF, JPEG, BMP, PNG supported with separate geo-referencing.
TerrainViz Viewer Classes
- SoTVizViewer: Constrained viewer that has been customized for terrain viewing (fly, walk, and constant elevation modes). Can manage SoTVizRender or SoQuadMesh nodes.
- SoTVizControls: Class to access viewer configuration using the right mouse menu.
- SoTVizControlsMenu: Class for the new toggle buttons on the right-hand side of the viewer.
- SoTVizNavigationToolBase: Base class for all viewer navigation tools. It manages common items such as render area position and size, and event processing.
- SoTVizNavigationTools: Class that manages all the tools added to the viewer.
- SoTVizAltimeterSpeedometer: Displays an information box with the camera height, the local terrain height, and the current speed in an SoTVizViewer.
- SoTVizCompass: Displays a compass in a SoTVizViewer. Three different compass designs are provided. Models are loaded from .iv files that can be found at ${TVIZ_VIEWER_DATA_PATH}.
Misc
- SbTVizColorScale: Manages a list of altitudes and a corresponding color list. Used for color contouring and color shading modes.
In SoTVizRender
- setColorScale/getColorScale: Methods to set/get an SbTVizColorScale instance in the render node.
- showTarget: Shows/hides the view volume. It can be seen using another camera, such as in the demo.
- Normals are now managed. To turn off normals, set the crease angle of the current SoShapeHints to 0.
In SbTVizData
- writeDataFile: Saves data to a file in ASCII or BINARY. Useful if data is provided by pointer (with setValues).
In SbTVizRegularGridData
- writeDataFile: Inherited from SbTVizData (see above).
- getLineValues: Performs altitude sampling between two given points.
In SbTVizTexture
- loadTextureFile: Now accepts overlapping borders between textures. The overlap is used for texture continuity.
- getBorders: Returns the number of pixels overlap.
- writeTextureFile: Saves an image to a PNG file. Useful if the image is provided by pointer (with setValues).
In SbTVizTextureList
- addTexture: Takes the border overlap into account if specified.
The new demo uses a DialogViz GUI and the specialized TerrainViz viewer. It launches the default case (Grand Canyon) on start up if LOADDEFAULTTERRAIN is defined (defined by default). A new case, colorscale (contouring/shading), has been added. Most visible features can be enabled/disabled by using menus of the GUI.
This release is compatible with Open Inventor 3.1. It has no major enhancements but does contain bug fixes.