POV-Ray : Newsgroups : povray.newusers : Media woes : Re: Media woes Server Time
23 Feb 2025 18:10:10 EST (-0500)
  Re: Media woes  
From: Bald Eagle
Date: 20 Feb 2025 11:45:00
Message: <web.67b75b792d33f9235e04e68c25979125@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> This plane needs to be made 'hollow' for the media to appear:
>       plane {z,  2... }
>
> That's because the spheres are located 'inside' it. (The same effect could be
> achieved by using 'inverse' instead.)
>
> Whereas, the plane{y, -2...} doesn't need the hollow keyword, as the spheres are
> 'outside' it.
>
> Personally, I have always wondered why a z-plane doesn't have it's 'outside'
> facing the -z direction by default, rather than the other way around. I suppose
> that there are old and deep reasons for this.

Aha.
I snoozed and forgot that a plane is actually a half-space with an inside and an
outside...
So I needed a hollow plane, as ridiculous as that first sounds.
I also didn't quite know that any overlapping container needed to be hollow as
well.

I was actually starting to make some helper macros to make using media easier,
and keep track of all of the recommendations that Alain has offered over the
years.

Thanks, Kenneth!

- BW


Post a reply to this message

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