POV-Ray : Newsgroups : povray.beta-test : default camera angle in Doc Server Time
6 May 2024 05:41:17 EDT (-0400)
  default camera angle in Doc (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Anders K 
Subject: Re: default camera angle in Doc
Date: 16 Oct 2001 11:35:07
Message: <3bcc53ab$1@news.povray.org>
> When I try to find that according to the
> formula mentioned in that section, "direction_length = 0.5 * right_length
/
> tan(angle / 2) where right_length is the length of the right vector", I
come
> up with about 'direction 0.56' which is just more than half of what it
ought
> to be.

Really? I come up with 1.00722346241. The exact value for angle is 2 atan
(2/3), or about 67.38013502.

Anders


Post a reply to this message

From: Anders K 
Subject: Re: default camera angle in Doc
Date: 16 Oct 2001 11:45:54
Message: <3bcc5632$1@news.povray.org>
Speaking of this, in doc sections 6.4.1.5.1 and 6.4.1.5.2, it says that the
default value for right is <1.33, 0, 0>. Shouldn't this be <4/3, 0, 0>, as
stated in section 6.4.1.5?


Post a reply to this message

From: Tom Melly
Subject: Re: default camera angle in Doc
Date: 16 Oct 2001 12:18:31
Message: <3bcc5dd7$1@news.povray.org>
"Anders K." <and### [at] f2scom> wrote in message
news:3bcc5632$1@news.povray.org...
> Speaking of this, in doc sections 6.4.1.5.1 and 6.4.1.5.2, it says that the
> default value for right is <1.33, 0, 0>. Shouldn't this be <4/3, 0, 0>, as
> stated in section 6.4.1.5?

Hmm, AFAIK 4/3 cannot be expressed accurately in either dec. or bin. - both
therefore look like approximations - or did you just mean for consistency's
sake?


Post a reply to this message

From: Christoph Hormann
Subject: Re: default camera angle in Doc
Date: 16 Oct 2001 12:41:34
Message: <3BCC633C.FFF910D0@gmx.de>
Tom Melly wrote:
> 
> Hmm, AFAIK 4/3 cannot be expressed accurately in either dec. or bin. - both
> therefore look like approximations - or did you just mean for consistency's
> sake?

To clarify things, the default right vector is 1.33*x so this is what the
docs should say too IMO.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Bob H 
Subject: Re: default camera angle in Doc
Date: 16 Oct 2001 15:16:00
Message: <3bcc8770@news.povray.org>
"Anders K." <and### [at] f2scom> wrote in message
news:3bcc53ab$1@news.povray.org...
> > When I try to find that according to the
> > formula mentioned in that section, "direction_length = 0.5 *
right_length
> /
> > tan(angle / 2) where right_length is the length of the right vector", I
> come
> > up with about 'direction 0.56' which is just more than half of what it
> ought
> > to be.
>
> Really? I come up with 1.00722346241. The exact value for angle is 2 atan
> (2/3), or about 67.38013502.

Right.  Well, apparently tan 67/2 isn't a good way to go about calculating
it.  I left off the parentheses in my quick attempt  :-)

Bob H.


Post a reply to this message

From: Anders K 
Subject: Re: default camera angle in Doc
Date: 16 Oct 2001 17:27:46
Message: <3bcca652$1@news.povray.org>
> To clarify things, the default right vector is 1.33*x so this is what the
> docs should say too IMO.

If the default right vector is really 1.33*x and not 4/3*x then that is a
program bug (or design flaw, or whatever), since the aspect ratio of the
images it normally produces is *exactly* 4 to 3 and not 1.33 to 1.

Of course, I realize that 1.33 is an "approximation" to 4/3, but IMO it's a
pretty bad approximation, especially for large images. And in this case
there is no need to approximate at all (other than the internal floating
point rounding error, which is going to be much, much less than .01). So I
think that both the program and the docs should use 4/3.

Anders


Post a reply to this message

From: ingo
Subject: Re: default camera angle in Doc
Date: 17 Oct 2001 03:31:52
Message: <Xns913D60F49492Aseed7@povray.org>
in news:3BCC633C.FFF910D0@gmx.de Christoph Hormann wrote:

> To clarify things, the default right vector is 1.33*x so this is
> what the docs should say too IMO.

If this value comes from the source, I'll match the documentation.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Christoph Hormann
Subject: Re: default camera angle in Doc
Date: 17 Oct 2001 07:30:00
Message: <3BCD6BC0.48ED3CCC@gmx.de>
ingo wrote:
> 
> If this value comes from the source, I'll match the documentation.
> 

It does (in Povray 3.1)

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: default camera angle in Doc
Date: 17 Oct 2001 15:34:02
Message: <3bcddd29@news.povray.org>
ingo <ing### [at] homenl> wrote:
: If this value comes from the source, I'll match the documentation.

  Also I think that it's the source which should be fixed (to 4.0/3.0).

-- 
#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: ingo
Subject: Re: default camera angle in Doc
Date: 17 Oct 2001 17:36:10
Message: <Xns913DF01946A88seed7@povray.org>
in news:3bcddd29@news.povray.org Warp wrote:

>: If this value comes from the source, I'll match the documentation.
> 
>   Also I think that it's the source which should be fixed (to
>   4.0/3.0). 
> 

Could The Team take a position on this so I can make the appropriate 
changes?

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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