POV-Ray : Newsgroups : povray.general : overlapping independent media containers objects : Re: overlapping independent media containers objects Server Time
6 Oct 2024 13:34:58 EDT (-0400)
  Re: overlapping independent media containers objects  
From: Kenneth
Date: 1 Apr 2017 15:20:01
Message: <web.58dffc97c6a36aac883fb31c0@news.povray.org>
Clipka and Alain are correct-- sampling method 3 (with its default interval
count of 1) is the right way to do it. Then choose a *high* samples count. This
is the way I've always done it as well. (Sorry if I confused you earlier, about
using a higher number of intervals.)

Here's another interesting point to consider: Let's say you have several
concentric spheres as different media containers (each sphere smaller than the
previous one.) They can all have different media types and density, and they
*do* mix visually, as Clipka pointed out. But the largest enclosing sphere
(which is the one that a camera 'ray' sees first) actually sets the number of
media samples and intervals for the entire group. In other words, if you give
the largest sphere 50 samples (for example), and the smallest inner sphere 500
samples, the entire group will be working with only 50 samples. (In my own
scenes like this, I actually leave out the inner objects' samples and intervals
altogether, as they will be overridden anyway.)

I don't know if this situation also applies to the media 'method' as well (for
example, method 2 vs. method 3, if you happen to use different methods for the
different overlapping objects.)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.