POV-Ray : Newsgroups : povray.beta-test : [doc] adapting a paragraph in 6.4.2 (orthographic camera) Server Time
30 Jul 2024 04:19:28 EDT (-0400)
  [doc] adapting a paragraph in 6.4.2 (orthographic camera) (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Herman Serras
Subject: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 11:49:32
Message: <3C445DAB.688AEA43@pandora.be>
I suppose in 3.5 beta 10 there's a change concerning the syntaxis for
using different types of cameras.

Paragraph 6.4.2. of the docs starts with:

The following list explains the different projection types that can be
used with the camera. The most common types are the perspective and
orthographic projections. In
general the CAMERA_TYPE should be the first item in a camera statement.
If none is specified, the perspective camera is the default.

But further we can read:

If you add the orthographic keyword after all other parameters of a
perspective camera you'll get an orthographic view with the same image
area

So to obtain an orthographic view in beta 10 one has to change the place
of the word "orthographic".


-- 
Herman Serras
Gent (Belgium)
http://cage.rug.ac.be/~hs/


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 11:56:04
Message: <3c445f24@news.povray.org>
In article <3C445DAB.688AEA43@pandora.be> , Herman Serras 
<Her### [at] pandorabe>  wrote:

> If you add the orthographic keyword after all other parameters of a
> perspective camera you'll get an orthographic view with the same image
> area
>
> So to obtain an orthographic view in beta 10 one has to change the place
> of the word "orthographic".

Yes, this part of the docs has not been updated.  It no longer matters where
"orthographic" appears to change its behavior.  The "trick" explained in
this place in the docs now always works as long as any of the modifiers only
valid for perspective cameras are used.  This change allows to require the
camera type to always be the first thing in a camera statement, which
corrects some misunderstandings of the previous functionality, but still
keeps previously all available features.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: ingo
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 12:27:44
Message: <Xns9197BC0B3378Cseed7@povray.org>
in news:3C445DAB.688AEA43@pandora.be Herman Serras wrote:

> So to obtain an orthographic view in beta 10 one has to change the place
> of the word "orthographic".
> 

The doc will be changed,

Ingo


Post a reply to this message

From: bob h
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 14:31:35
Message: <3c448397@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3c445f24@news.povray.org...
> In article <3C445DAB.688AEA43@pandora.be> , Herman Serras
> <Her### [at] pandorabe>  wrote:
>
> > If you add the orthographic keyword after all other parameters of a
> > perspective camera you'll get an orthographic view with the same image
> > area
> >
> > So to obtain an orthographic view in beta 10 one has to change the place
> > of the word "orthographic".
>
> Yes, this part of the docs has not been updated.  It no longer matters
where
> "orthographic" appears to change its behavior.  The "trick" explained in
> this place in the docs now always works as long as any of the modifiers
only
> valid for perspective cameras are used.  This change allows to require the
> camera type to always be the first thing in a camera statement, which
> corrects some misunderstandings of the previous functionality, but still
> keeps previously all available features.

Camera type must be the first keyword in a camera statement now or the parse
will error.

bob h


Post a reply to this message

From: Warp
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 16:33:06
Message: <3c44a012@news.povray.org>
By the way, is 'angle' supposed to have some effect in a panoramic camera?

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


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 17:04:05
Message: <3c44a755@news.povray.org>
In article <3c44a012@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   By the way, is 'angle' supposed to have some effect in a panoramic camera?

it depends on where it is in the camera statement...


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Warp
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 17:50:36
Message: <3c44b23c@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
:>   By the way, is 'angle' supposed to have some effect in a panoramic camera?

: it depends on where it is in the camera statement...

  So where does it have some effect?

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


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 18:14:50
Message: <3c44b7ea$1@news.povray.org>
In article <3c44b23c@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

> : it depends on where it is in the camera statement...
>
>   So where does it have some effect?

Some me your camera and I can explain what happens currently.


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Warp
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 18:48:47
Message: <3c44bfde@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
: Some me your camera and I can explain what happens currently.

  angle seems to have no effect whatsoever:

camera
{ panoramic
  location -z look_at 0
  angle 30
}
light_source { y*100, 1 }
plane { y,-1 pigment { checker rgb 1, rgb .5 } }


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


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: [doc] adapting a paragraph in 6.4.2 (orthographic camera)
Date: 15 Jan 2002 19:57:21
Message: <3c44cff1@news.povray.org>
In article <3c44bfde@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>   angle seems to have no effect whatsoever:
>
> camera
> { panoramic
>   location -z look_at 0
>   angle 30
> }
> light_source { y*100, 1 }
> plane { y,-1 pigment { checker rgb 1, rgb .5 } }

Is angle supposed to work with other camera types than "perspective"?

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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