|
![](/i/fill.gif) |
"Simon" <povray@*NOSPAM*SOWare.co.uk> wrote in message
news:465b3b5b@news.povray.org...
> Anyone know how I can get a plane that is non-infinite? I tried to do an
> intersection with a box and of course got everything in the box that was
> below the plane. I really want a lamina...
>
> I'm currently using a VERY narrow box but... Any help appreciated.
>
> Thanks!
Hi Simon,
It depends which infinite dimension you're not happy with and why. If a box
doesn't do what you want then it sounds like you don't want something
completely finite. You can make something that's only infinite in certain
directions by intersecting the desired number of planes.
So, the following example uses 3 planes that give a thin slice that
stretches away infinitely in the z, x and -x dimensions, but gives a crisp
edge in the foreground. I've made the top surface slightly translucent so
you can see the checkered plane beneath.
camera {location <0, 0.8,-2> look_at <0,0,0>}
light_source { <0, 50, -30> color rgb <1,1,1>}
intersection {
plane{y,0.01 pigment{color rgbt <1,1,1,0.3>}}
plane{-y,0.01 pigment{checker}}
plane{-z,0 pigment{color rgb <1,0,0>}}
}
Regards,
Chris B.
Post a reply to this message
|
![](/i/fill.gif) |