POV-Ray : Newsgroups : povray.beta-test : [bug] orthographic camera bug? Server Time
30 Jul 2024 16:19:56 EDT (-0400)
  [bug] orthographic camera bug? (Message 1 to 6 of 6)  
From: Gergely Vandor
Subject: [bug] orthographic camera bug?
Date: 28 Oct 2001 19:42:19
Message: <3bdca5eb@news.povray.org>
Hello,

I must have gone insane or this is a bug I found. Here's the scene:

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} }  }

My findings:
If I comment out the orthographic keyword, the scene renders OK.
When using an orthographic camera, AND the last three spheres commented out,
the scene renders OK.
With the complete source above, the scene returns a black image. POV-Ray
reports that there were no ray/shape intersections at all.

Sorry if this one is known.

Celeron 300, Win2k SP2, Beta6

Cheers,

Gergely


Post a reply to this message

From: Warp
Subject: Re: [bug] orthographic camera bug?
Date: 29 Oct 2001 06:45:38
Message: <3bdd4161@news.povray.org>
Also the camera angle seems to have some effect in this. If you set the
camera angle to 40, then only the white sphere is rendered. If you set the
angle to 60, both spheres are rendered.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Redbeard (MDJohnson)
Subject: Re: [bug] orthographic camera bug?
Date: 30 Oct 2001 08:42:12
Message: <3bdeae34$1@news.povray.org>
I had a similar problem involving halos over the last week.  I switched to the
perspective camera to get rid of the problem and didn't think anything of it.
I'll see if I can duplicate it again.

Basically, when I used the orthographic camera, some of the halos went black or
gray (I can't recall).  Switching to the perspective camera fixed it.  IIRC, it
didn't seem to matter how far away the objects were.

Michael
"Gergely Vandor" <ger### [at] vandordatanethu> wrote in message
news:3bdca5eb@news.povray.org...
> Hello,
>
> I must have gone insane or this is a bug I found. Here's the scene:
>
> 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} }  }
>
> My findings:
> If I comment out the orthographic keyword, the scene renders OK.
> When using an orthographic camera, AND the last three spheres commented out,
> the scene renders OK.
> With the complete source above, the scene returns a black image. POV-Ray
> reports that there were no ray/shape intersections at all.
>
> Sorry if this one is known.
>
> Celeron 300, Win2k SP2, Beta6
>
> Cheers,
>
> Gergely
>
>
>


Post a reply to this message

From: Warp
Subject: Re: [bug] orthographic camera bug?
Date: 30 Oct 2001 09:13:45
Message: <3bdeb598@news.povray.org>
"Redbeard \(MDJohnson\)" <red### [at] wvadelphianet> wrote:
: I had a similar problem involving halos over the last week.

  Halos?

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Redbeard (MDJohnson)
Subject: Re: [bug] orthographic camera bug?
Date: 31 Oct 2001 16:57:21
Message: <3be073c1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message news:3bdeb598@news.povray.org...
> "Redbeard \(MDJohnson\)" <red### [at] wvadelphianet> wrote:
> : I had a similar problem involving halos over the last week.
>
>   Halos?
>

Ooops.... media of course.  I dunno, I've been using 3.1g for ages, but I still
think of halos, even though I type media.  It doesn't help that I don't use
hal.. er media much.

Michael
--
camera{location<8,20>look_at<6,0,4>}light_source{<8,8>rgb 1}difference{union{
#macro M(D,J)#local R=asc(substr(D,J,1))-32;<div(R,10)*2,mod(R,10)>#end#macro
E(D,B,R)prism{-D,4+D,R#local C=1;#while(C<R+1)M(B,C)#local C=C+1;#end}#end E(
0," (2:FPKAD80* U_dZU"18)sphere{2,2}#macro T(N)cylinder{<9,-N,3><9,4+N,3>3-N}
#end T(0)}T(2)E(1"45LNXUK4"8)pigment{rgb x+y/2}}//(c)2001 MDJohnson(Redbeard)


Post a reply to this message

From: Gergely Vandor
Subject: Re: [bug] orthographic camera bug?
Date: 4 Nov 2001 17:59:54
Message: <3be5c86a@news.povray.org>
I've just checked and this is not a bug introduced by the 3.5 betas.

The same problem arises in 3.1g as well.

"Gergely Vandor" <ger### [at] vandordatanethu> wrote in message
news:3bdca5eb@news.povray.org...
> Hello,
>
> I must have gone insane or this is a bug I found. Here's the scene:
>
> 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} }  }
>
> My findings:
> If I comment out the orthographic keyword, the scene renders OK.
> When using an orthographic camera, AND the last three spheres commented
out,
> the scene renders OK.
> With the complete source above, the scene returns a black image. POV-Ray
> reports that there were no ray/shape intersections at all.
>
> Sorry if this one is known.
>
> Celeron 300, Win2k SP2, Beta6
>
> Cheers,
>
> Gergely
>
>
>


Post a reply to this message

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