POV-Ray : Newsgroups : povray.general : QUESTION: Camera Perspective Server Time
8 Oct 2024 17:25:00 EDT (-0400)
  QUESTION: Camera Perspective (Message 1 to 5 of 5)  
From: Sven Littkowski
Subject: QUESTION: Camera Perspective
Date: 27 Feb 2020 12:30:00
Message: <web.5e57fbbbd4ebc7c78378cda80@news.povray.org>
Usually, the camera is used with its default setting PERSPECTIVE.

But I came across a challenge, where the perspectivic distortion of the camera
needs to be reduced, a little bit towards the ORTHOGRAPHIC kind. But not fully
orthographic.

How can this be achieved, deear members of the POV-Ray community?

And is there a way, to reduce the perspective of only one axis, like from left
to right in my scene (this would be the "x" axus in my scene)?

On request, I can give the scene source code, it is a small scene. Thanks.


Post a reply to this message

From: Sven Littkowski
Subject: Re: QUESTION: Camera Perspective
Date: 27 Feb 2020 13:10:01
Message: <web.5e5805a727e7d2b18378cda80@news.povray.org>
The only way I can get a result that I want, is to view the target items from a
far distance, and to get it still big enough with details, to use an output size
of 24,000 x 3,500 pixels. But even with ALPHA enabled, the outpot takes time.

Thus my epic quest for a simpler way...


Post a reply to this message

From: Subclick
Subject: Re: QUESTION: Camera Perspective
Date: 28 Feb 2020 01:23:08
Message: <s6u36av1b90.fsf@sp.am>
Orthographic is basically the limit of
perspective as the point of view
recedes to infinity while the frame stays still
and its dimensions
remain constant, so you can get a perspective
camera that looks as much
like an orthographic one as you like by toying
with the camera vectors:

camera{
  location FrameCentre
    - FocalLength*vnormalize(LookAt - FrameCentre)
  right FrameWidth*x
  up FrameHeight*y
  direction FocalLength*z
  look_at LookAt
}

Now make FocalLength as large as needed, provided
you don’t make it so
large (think a human-sized frame on the Earth’s
surface with a point of
view on the Sun) rounding errors destroy the scene.

On the other hand, to get “more perspective”
along one axis than along
the other, you need to combine somehow two
different points of view.


Post a reply to this message

From: Sven Littkowski
Subject: Re: QUESTION: Camera Perspective
Date: 28 Feb 2020 10:35:00
Message: <web.5e59326e27e7d2b18378cda80@news.povray.org>
Thanks - I will try it out!


Post a reply to this message

From: Mike Horvath
Subject: Re: QUESTION: Camera Perspective
Date: 1 Mar 2020 20:40:09
Message: <5e5c63f9$1@news.povray.org>
On 2/27/2020 12:26 PM, Sven Littkowski wrote:
> Usually, the camera is used with its default setting PERSPECTIVE.
> 
> But I came across a challenge, where the perspectivic distortion of the camera
> needs to be reduced, a little bit towards the ORTHOGRAPHIC kind. But not fully
> orthographic.
> 
> How can this be achieved, deear members of the POV-Ray community?
> 
> And is there a way, to reduce the perspective of only one axis, like from left
> to right in my scene (this would be the "x" axus in my scene)?
> 
> On request, I can give the scene source code, it is a small scene. Thanks.
> 
> 

Here is an image I created:

https://commons.wikimedia.org/wiki/File:Camera_focal_length_distance_house_animation.gif

There is a link to source code in the description.\



Mike


Post a reply to this message

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