POV-Ray : Newsgroups : povray.general : Re: Major bug in SOR : Re: Major bug in SOR Server Time
7 Aug 2024 15:20:25 EDT (-0400)
  Re: Major bug in SOR  
From: Bob H 
Date: 3 Sep 2001 22:03:10
Message: <3b94365e@news.povray.org>
"Anders K." <and### [at] f2scom> wrote in message
news:3b9396e8@news.povray.org...
> > Well, I believe what you are experiencing there is that the first and
last
> > points are only controls.
>
> No, I know that the first and last points are controls. What I'm creating
is
> a cylinder of radius 2 and height 2 resting on the plane. Of course I
could
> do that with a cylinder, but I'm trying to demonstrate a bug in SOR. I'm
> having the same problem trying to model a set of chess pieces; certain
> camera angles are giving me the same problem.
>
> The trouble is that the endcaps look wrong with the camera angle I showed.
> The documentation says the SOR is closed by default, and it looks closed
> when the camera is at <10, 10, 15>. But when the camera is at <10, 15, 15>
> as in my code, it looks like the SOR is colored as if it were closed, but
> rays are tested for intersection as if the SOR was open. (Look at
> sorbug2.png.)

I'll try and see what the experts and v3.5 pre-beta testers think about
this.  It still occurs in v3.5 so nothing has changed from v3.1g.
The following does the same thing and I expected it might close the sor yet
did not.

camera { location <10, 15, 15> look_at <0, 1, 0> angle 15 }
light_source { <2, 15, 5> color rgb 1 }
plane { +y, 0 pigment { rgb 1 } }

sor
 {
         4,
         <2, 0>, <2, 0>, <2, 2>, <2, 2>
 // open
         pigment { checker }
}

Bob H.


Post a reply to this message

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