LuciadCPillar C# 2023.1.03
Luciad.Maps.Effects.AmbientOcclusionEffect Class Reference

This class implements the Ambient occlusion effect, which shades areas of 3D geometry based on their proximity to other 3D geometry. More...

Inheritance diagram for Luciad.Maps.Effects.AmbientOcclusionEffect:

Public Member Functions

void Dispose ()
 
void Set (double radius, double power)
 Sets the radius and power values for the ambient occlusion effect. More...
 

Properties

bool IsEnabled [get, set]
 
double Power [get, set]
 
double Radius [get, set]
 

Detailed Description

This class implements the Ambient occlusion effect, which shades areas of 3D geometry based on their proximity to other 3D geometry.

This mimics a behavior of the real world where light gets trapped in tight areas. Typical examples are the corners of a room, which are slightly darker than the rest of the room as the light is trapped in the corners. Left: ambient occlusion disabled, Right: ambient occlusion enabled

Ambient Occlusion is recommended for cases in which 3D datasets with simple colors, such as 3D CAD & BIM models, are visualized. For these types of datasets, Ambient Occlusion can help give the dataset more depth and make it easier to understand how geometry relates to each other. On top of that, it also improves the visual quality of such datasets, and gives an overall better impression. Note that Ambient Occlusion is only applied in 3D views. You cannot create an AmbientOcclusionEffect. Instead, you can retrieve it from luciad::GraphicsEffects::getAmbientOcclusion. 2022.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::AmbientOcclusionEffect.

Member Function Documentation

◆ Dispose()

void Luciad.Maps.Effects.AmbientOcclusionEffect.Dispose ( )
inline

◆ Set()

void Luciad.Maps.Effects.AmbientOcclusionEffect.Set ( double  radius,
double  power 
)
inline

Sets the radius and power values for the ambient occlusion effect.

radius

radius in meters at which the effect should be sampled.

power

a factor to brighten or darken the effect.

setRadius

setPower

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::AmbientOcclusionEffect::set.

Property Documentation

◆ IsEnabled

bool Luciad.Maps.Effects.AmbientOcclusionEffect.IsEnabled
getset

◆ Power

double Luciad.Maps.Effects.AmbientOcclusionEffect.Power
getset

◆ Radius

double Luciad.Maps.Effects.AmbientOcclusionEffect.Radius
getset