| Version 4 (modified by martin, 6 years ago) |
|---|
OSG Visibility Group
TracNav
Documentation
- OSG BillBoard Helper
- OSG LOD Helper
- OSG NodeMask Helper
- OSG Impostor Helper
- OSG Visibility Group Helper
- OSG StateSet Helper
- OSG Sequence Helper
- OSG Switch Helper
- OSG Occluder Helper
- OSG Exporter
- CVS
- Download
- Changes
- WishList
- ToDo
- Compile Instructions
- Contact
- FAQ
- HOWTO(external page)
- Back to Plugins
- Back to Support
General
The Visibility group allows you assign a volume to a group of (geometrical ) objects. When the camera is within this bounding volume the objects within the group are visible, when the camera is outside, they are not. Use it to optimise your scene.
To create a Visibility Group in MAX
- Create some geometry;
- Create a volume (a box f.i.) which will be used as bouding object;
- Add an OSG Visibility Group Helper-object to the scene;
- Assign the volume shape to 'Visibility Volume' and the objects to 'Visibility Geometry'.
The modfiy panel options for the Visibility Group Helper
Other options
- Visibility Volume: This defines the boundaries of the Visibility Group. This volume can have any shape (even very complex ones), but calculation time will increase with the complextity of the volume so this will more or less nullify the gained optimsation.
- Visibility Geometry: The objects in the Group. Note that the objects in the Group do not necessarily have to lie within the box (although this makes sense) but can be outside it as well;
Demonstration
In the first picture the camera is outside the Groups Visibility Volume (denoted by the green dots): only the sphere which is not part of the group is visible. The second picture shows what happens when the camera is within the volume. The others spheres appear as well. You can download this demonstration. The .MAX, .OSG and Images are included in the archive.
More information
Attachments
- OSGVisibilityGroupDemo1.jpg (13.8 kB) - added by martin 6 years ago.
- OSGVisibilityGroupDemo2.jpg (12.0 kB) - added by martin 6 years ago.
- OSGVisibilityGroupRollout.jpg (7.6 kB) - added by martin 6 years ago.
- dsVisGroup.zip (186.7 kB) - added by martin 6 years ago.



