POV-Ray : Newsgroups : povray.newusers : Compute camera position : Re: Compute camera position Server Time
23 Apr 2024 13:40:27 EDT (-0400)
  Re: Compute camera position  
From: kurtz le pirate
Date: 10 Jul 2016 11:51:05
Message: <57826ee9$1@news.povray.org>
Le 10/07/2016 à 17:14, kurtz le pirate a écrit :
>
> 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 ?


Found :
	ceil((max*0.50)/tan(radians(cameraAngle*0.50)))




-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message

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