POV-Ray : Newsgroups : povray.newusers : Calculate the camera position automatic : Re: Calculate the camera position automatic Server Time
30 Jul 2024 20:22:21 EDT (-0400)
  Re: Calculate the camera position automatic  
From: Florian Brucker
Date: 8 Sep 2003 10:23:11
Message: <3f5c90cf@news.povray.org>
Hi guys!

> You can also have a fixed camera and scale your objects to fit in a 
> given box, for example box { -1, 1 }, you would have to find their 
> biggest dimension and then scale that dimension to the box.
I think that's the better one of the two possibilites. This way he can 
use different camera-types (orthographic etc.) and parametres (like 
angle...). Position the camera should be no problem using Trial&Error 
(TM), but calculating it?

So better go and fit your target in the box :)

HTH,
Florian
-- 
//=================[web: http://www.torfbold.com]==================\\
#local a=-5;#while(a<5)sphere{<sin(a*pi)*5a*10pow(a,5)*.01>sin(a*a*a*
.1)+1pigment{rgb 9*z}}#local a=a+.01;#end camera{look_at-y*10location
<8,-3,-8>*10}// [www.povray.org]     [www.imp.org]     [www.irtc.org]


Post a reply to this message

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