|
|
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
|
|