|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"stelzenegger" <ste### [at] gmxde> wrote in message
news:web.3e2fcba7aa5a7cdc25152d880@news.povray.org...
<snip>
Well, I'm not getting perfect results, but the problem seems to be that you need
to specify target for the media - however, you can't specify target for global
media, so you will need to place your media in a container. e.g.:
box{
0,10
pigment{rgbf 1}
hollow
interior{media{scattering{1,0.2} method 3}}
photons{target}
}
... you might want someone who actually knows what they are doing to comment.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I thought media was developed to do without those containers. Actually it's
quite hard to get them right especially in animations.
stelzenegger
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tom Melly wrote:
> Well, I'm not getting perfect results, but the problem seems to be that
> you need to specify target for the media - however, you can't specify
> target for global media, so you will need to place your media in a
> container. e.g.:
> <snip>
If media photons are turned on in global media settings, they're also
turned on by default in all object medias in the scene. The reason that
photons work only with contained medias is probably that in an infinite
media, a potentially infinite number of photons would have to be calculated
and stored. The docs don't seem to mention this anywhere, though.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Johannes Dahlstrom" <sad### [at] tkukoulufi> wrote in message
news:3e30071e@news.povray.org...
>
> If media photons are turned on in global media settings, they're also
> turned on by default in all object medias in the scene. The reason that
> photons work only with contained medias is probably that in an infinite
> media, a potentially infinite number of photons would have to be calculated
> and stored. The docs don't seem to mention this anywhere, though.
Makes sense - so stelz., the critical thing is to put the media in a container
(you don't need to make the container a target - that was a red-herring*)
* I wrapped the media in a container *so* that I could add target, and assumed,
when the beam showed up, that the target attrib. was wot did it, rather than the
fact of the container.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Makes sense - so stelz., the critical thing is to put the media in a
container
> (you don't need to make the container a target - that was a red-herring*)
FYI, the reason that the spotlight works but the photons don't is that
spotlights change the way media is sampled, by forcing the media to take
some samples in the spotlight.
In general, infinite media is a bad idea, in my experience. It never really
works like you expect it to.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |