POV-Ray : Newsgroups : povray.general : media and MegaPOV : Re: media and MegaPOV Server Time
9 Aug 2024 09:04:05 EDT (-0400)
  Re: media and MegaPOV  
From: Bob Hughes
Date: 10 Aug 2000 05:00:20
Message: <39926f24@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:39922198.2997B183@pacbell.net...
|
| You either need to flip the normal of the plane (you can use the
| inverse keyword) or make the plane hollow by adding the hollow keyword
| at the end of the plane statement. Either method should restore your
| media effects.

Flipping the normal, as Ken says, for a plane has to do with using a
negative or positive axis, so you could say:

// This should no longer cause you problems
plane
{
  -y, -10 // facing downward because it's negative y but -10 is also needed
to move it in opposite direction
  pigment { rgb 1*y } // if this were filtered or transparent color then no
media would show above it
} // if hollow is used then media can show up on both sides instead of just
the one side

Thing to remember about planes is that they are like extended boxes with the
surface being one side but maybe you already knew that.

Bob


Post a reply to this message

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