©BBB3viz

Table of Contents

This page provides information on the V-Ray Aerial Perspective Atmospheric Effect.

 

Overview


The VRayAerialPerspective atmospheric effect simulates the aerial perspective effect, the result of viewing objects from a distance through the Earth's atmosphere. The effect is similar to fog or haze. This atmospheric effect works together with VRaySun and the VRaySky to calculate an approximation to the aerial perspective effect.

While this effect renders faster than VRayEnvironmentFog and produces a similar result, it is only an approximation. For example, it does not produce volumetric shadows.

 

 

 

Parameters


Visibility range (in meters) – Specifies the distance at which the fog has absorbed 90% of the light coming from objects behind it. Lower values make the fog appear denser, while larger values reduce the effect of the aerial perspective. The value is in meters and is converted internally based on the currently selected 3ds Max units. For more information, see the Visibility Range example below.

Atmosphere height (in meters) – Specifies the height of the atmosphere layer in meters. Lower values can be used for artistic effects. The value is in meters and is converted internally based on the current 3ds Max units. For more information, see the Atmosphere Height example below.

Inscattered light intensity – Controls the amount of sunlight scattered from the atmospheric effect. The default value 1.0 is physically accurate; lower or higher values could be used for artistic purposes.

Affect environment rays – When disabled, the atmospheric effect is applied only to camera rays that hit actual objects, but not to rays that hit the VRaySky. This option is disabled by default because the VRaySky texture already takes into account the amount of scattered sunlight. However, it is possible to enable this option for artistic effects, especially with low visibility ranges. For more information, see the Affect Environment Rays example below.

Affect background – Specifies whether the effect is applied to camera rays that hit the background (if a background other than VRaySky is used). This option is enabled by default, but some interesting effects are possible when disabled.

Filter color – Affects the color of the inscattered light. For more information, please see the Filter Color example below.

Primary visibility – When disabled, the aerial perspective effect is only seen by secondary rays (e.g. refractions, reflections, etc.).

Affect alpha – Specifies whether the aerial perspective affects the Alpha channel.

 

 


 

 

Example: Visibility Range


This example demonstrates the effect of the Visibility range parameter. Lower values make the fog appear denser, while larger values reduce the effect of the aerial perspective. The value is in meters and is converted internally based on the currently selected 3ds Max units.

 

Example: Atmosphere Height

 

This example demonstrates the effect of the Atmosphere height parameter. Lower values can be used for artistic effects. The value is in meters and is converted internally based on the current 3ds Max units. Note that this is dependent on the scene scale, and in our example relatively low values were sufficient due to the small scene scale.

 

Visibility range = 30 meters

Visibility range = 60 meters

Visibility range = 120 meters

Visibility range = 180 meters

Visibility range = 240 meters

Visibility range = 300 meters

Visibility range = 360 meters

Visibility range = 420 meters

Visibility range = 480 meters

Visibility range = 540 meters

Visibility range = 600 meters

30 meters
600 meters


Atmosphere height = 1 meter


Atmosphere height = 2 meters


Atmosphere height = 3 meters


Atmosphere height = 4 meters


Atmosphere height = 5 meters


Atmosphere height = 6 meters


Atmosphere height = 7 meters


Atmosphere height = 8 meters


Atmosphere height = 9 meters


Atmosphere height = 10 meters

1 meter
10 meters



Example: Affect Environment Rays


When disabled, the atmospheric effect is applied only to camera rays that hit actual objects, but not to rays that hit the VRaySky.

 

 

On
Off

 

 


Example: Filter Color


Affects the color of the inscattered light. In the example below the filter color is set to red (H=0,S=108,V=255) and we are adjusting the Hue value.

 


Filter color hue = 0


Filter color hue = 26


Filter color hue = 51


Filter color hue = 77


Filter color hue = 102


Filter color hue = 128


Filter color hue = 153


Filter color hue = 179


Filter color hue = 204


Filter color hue = 230


Filter color hue = 255

0
255

 

Was this helpful?