| genre | VolRendExtensions |
| status | stable |
| author | Florian Link |
| package | MeVisLab/Standard |
| dll | SoGVR |
| definition | soGVR.def |
The SoGVRFirstHitAmbientOcclusion module adds ambient occlusion to the first hit ray caster, see SoGVRFirstHitRayCastSettings. The ambient occlusion is implemented as described in GPU-Based Monte-Carlo Volume Raycasting by Christof Rezk Salama. The module casts a number of rays on the hemisphere of each hit point, directed towards the gradient of the hit point and calculates how many rays are occluded. Occluded regions are thus darkened.
The module needs to be added to a SoGVRVolumeRenderer scene, make sure that a SoGVRRayCastSettings and a SoGVRFirstHitRayCastSettings are part of the scene.
(left) Example rendering with ambient occlusion (right) First hit rendering without ambient occlusion
Node to be placed in front of a SoGVRVolumeRenderer, make sure that a SoGVRRayCastSettings and a SoGVRFirstHitRayCastSettings are part of the scene.
| Enabled: Bool |
| Noise Scale Factor: Integer |
| Num Ray Steps: Integer |
| Num Samples: Integer |
| Ray Step Size: Integer |
Defines the number of occlusion rays that are sampled.
Defines the number of steps that each ray is casted.