POV-Ray : Newsgroups : povray.newusers : Compute camera position : Re: Compute camera position Server Time
20 Apr 2024 09:38:05 EDT (-0400)
  Re: Compute camera position  
From: William F Pokorny
Date: 10 Jul 2016 12:02:01
Message: <57827179$1@news.povray.org>
On 07/10/2016 11:14 AM, kurtz le pirate wrote:
>
> Hello,
>
> I have datas to plot in <y,z> plane from 0..max(MaxY,MaxZ).
> Image ratio is 1:1.
>
> To see full image, camera position is <???, max/2, max/2>
> and look at <0, max/2, max/2> ok.
>
> But how to compute the x part of camera location ?
>

You could, I think, use the orthographic camera without the angle 
keyword. Just some offset +-x, a direction vector toward your "data"
and in your case, symmetric adjustment of the up and right vector 
magnitudes to encompass your data if need be.

Bill P.


Post a reply to this message

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