Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
Design of the Interior of transparent Shapes in POV-Ray
Italiano Italiano
Français français
Deutsch Deutsch

- POV-Ray Tutorial

  Content Overview
  material, interior, media

  - Syntax material
      texture + interior
  - Window Glass
      + max_trace_level
  - Fog, Mist or Haze
  - Syntax Media
  - Media+Density Maps
  Atmospheric Media
    with/without density map
  - Beames in the Fog
  Object Media
  Emitting Media
  - Light Sword
  - Candle Flames
  Scattering Media
  - Light through Window
  - Steam, Smoke, Clouds
  Absorbing Media
  - Dust Devils
  Special Problems with Media
  - Scaling of Media
  - Overlapping Media

Overlapping Object Media

The Overlapping Problem:
Problems with overlapping object media.

The Solution:
Correct overlapping media in object.

Overlapping Object Media
If we have two overlapping object media in scene POV-Ray will have a problem to sample both correctly. The overlapping aerea (intersection of the media containers) will show partly the contures of the shapes which are containing media.

Two overlapping media in a collective object.

How to Overlapp Object Media correctly:
Here we have to define a collective shape of all the containers of the overlapping media by "merge" ( not with "union"! ). Here we're combining alle containers in one new object without any media first. This new object we have to give an interior containing all the media elements transformed like the according shapes before!
Note: an object can have in it's "interior{}" statement as many "media{}" statements as you like, they were applied just like in a csg union!

Two overlapping object media.
© Friedrich A. Lohmüller, 2009