|
|
Please don't post binaries in this group. Thanks.
Andy Cocker
(I always wanted to say that! :-))
"Anders K." <and### [at] f2scom> wrote in message
news:3b92f511@news.povray.org...
> [I tried to post this in povray.bugreports but it didn't show up; then I
saw
> a note about posting to .general before .bugreports, so I'm doing that
now.
> I apologize for not reading directions before. Since then, I've corrected
a
> minor error in my sample code that was unrelated to the bug. I also found
a
> workaround.]
>
> There appears to be a major bug in POV-Ray's SOR implementation. Here's
some
> example code.
>
> camera { location <10, 15, 15> look_at <0, 1, 0> angle 15 }
> light_source { <2, 15, 5> color rgb <1, 1, 1> }
> plane { +y, 0 pigment { rgb <1, 1, 1> } }
> sor { 4, <2, -1> <2, 0> <2, 2> <2, 3> pigment { checker } }
>
> If the camera is at <10, 10, 15> instead of <10, 15, 15>, the scene
renders
> fine (sorbug1.png, attached). But when the camera is at <10, 15, 15>, the
> SOR has a hole in it (sorbug2.png)! And the SOR is certainly not open,
since
> adding "open" to the SOR results in a totally different picture
> (sorbug3.png).
>
> I found a workaround that seems to render fine (sorbug4.png):
>
> camera { location <10, 15, 15> look_at <0, 1, 0> angle 15 }
> light_source { <2, 15, 5> color rgb <1, 1, 1> }
> plane { +y, 0 pigment { rgb <1, 1, 1> } }
> difference {
> sor { 4, <2, -1> <2, 0 - .000001> <2, 2 + .000001> <2, 3> }
> plane { -y, -2 }
> plane { +y, 0 }
> pigment { checker }
> }
>
> Still, this is very strange. Is this a known problem, and is there an
easier
> way to fix it?
>
> Anders K.
> and### [at] f2scom
>
>
>
>
Post a reply to this message
|
|