POV-Ray : Newsgroups : povray.general : Orthographic to Perspective Camera Shift? : Re: Orthographic to Perspective Camera Shift? Server Time
1 Aug 2024 20:13:37 EDT (-0400)
  Re: Orthographic to Perspective Camera Shift?  
From: Jellby
Date: 15 Apr 2005 14:40:06
Message: <2eb5j2-o6u.ln1@badulaque.unex.es>
Among other things, Kronix saw fit to write:

> I've got a scene rendered with a perspective camera, producing Image #1.
> Switching to an orthographic camera, I can produce Image #2.  It would be
> extremely helpful, however, if I could smoothly transition the scene from
> Image #1 to Image #2.  In other words, produce the same image that results
> from an orthographic camera, yet using a perspective camera.  For example,
> I would like to view my scene at the "halfway" point between Image #1 and
> Image #2.

If I'm not mistaken, an orthographic camera can be "simulated" by a
perspenctive camera placed far far away and with a narrow-angled field of
view, so you could probably start with the normal perspective camera and
move it back while reducing the angle (the exact relationship shouldn' be
too hard to figure out. That could work in the open, but would't if there
are objects (walls, trees) behind the camera that would "move" in front of
the camera when you take it back.

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

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