POV-Ray : Newsgroups : povray.beta-test : Known Bugs - 31 Dec 2001 : Re: Known Bugs - 31 Dec 2001 Server Time
30 Jul 2024 12:27:39 EDT (-0400)
  Re: Known Bugs - 31 Dec 2001  
From: Gergely Vandor
Date: 2 Jan 2002 18:13:56
Message: <3c339434@news.povray.org>
> > Please also note my recent additions in the Dec 24th list thread.
>
> Regarding:
> job000208
> with orthographic camera objects disappear when "angle" keyword is used
>
> Analysis:
> It turns out this never was a bug. 'angle' works exactly as advertised in
> the manual.  The problem is the user specified the camera type after the
> angle, which assumed it was applied to a perspective camera and
consequently
> changed the direction vector length, which makes it look like the object
> disappears.

I bet you are already fed up with plain users arguing with the real
programmer, but this may be interesting :o)

The scene in the bug report was basically two spheres thrown in front of an
orthographic camera. It rendered *perfectly* until I put a couple of
additional spheres in, after which everything disappeared (no ray/shape
intersections).

This made me believe that the camera setup was correct and what I was
witnessing was a bug. And I'm still not entirely convinced it isn't. I hope
it's not a big sin to drop the slightly modified source in again (a couple
of lines):

camera { location <0,1,-1> look_at <0,1,0> angle 30 orthographic }

sphere { 0,1 texture { pigment {color rgb 1} finish {ambient 1} }  }

/*sphere { <0,1.2,0>,0.18 texture { pigment {color rgb <1,0,0>} finish
{ambient 1} }  }
sphere { <1.2,0,0>,0.18 texture { pigment {color rgb <0,1,0>} finish
{ambient 1} }  }
sphere { <-1.2,0,0>,0.18 texture { pigment {color rgb <0,0,1>} finish
{ambient 1} }  }
sphere { <0,-1.2,0>,0.18 texture { pigment {color rgb <1,1,1>} finish
{ambient 1} }  }*/

sphere { 0,5  texture { pigment {color rgb 1/2} finish {ambient 1} } }

/*plane {y,-100}*/

Here is a new finding: the scene renders perfectly in this form, but if you
bring back any one of the spheres that are currently commented out (or put
any new objects in, like the distant plane), the white sphere disappears.
Which means the camera works as expected as long as there aren't more than
two objects in the scene!

beta9 (but I guess it's the same with any version), w2k
---
Gergely


Post a reply to this message

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