POV-Ray : Newsgroups : povray.advanced-users : Camera positioning : Re: Camera positioning Server Time
28 Jul 2024 14:18:29 EDT (-0400)
  Re: Camera positioning  
From: Florian Brucker
Date: 7 Jan 2005 09:11:38
Message: <41de989a@news.povray.org>
Normally, I prefer the other way round: First create a scene with a 
dummy object in it (like box { <-1,-1,-1>,<1,1,1> }) and manually adjust 
your camera so that this object is captured as you want.
Now if you want to create a picture of another object, pick it's largest 
extremity and scale the whole object by 1/extremity, so that it fits 
inside the object you calibrated the camera for.


HTH,
Florian
-- 
camera{look_at-y*10location<8,-3,-8>*10}#local a=0;#while(a<999)sphere{
#local _=.01*a-4.99;#local p=a*.01-5;#local c=.01*a-4.995;<sin(p*pi)*5p
*10pow(p,5)*.01>sin(c*c*c*.1)+1pigment{rgb 3}}#local a=a+1;#end
/******** http://www.torfbold.com ******** http://www.imp.org ********/


Post a reply to this message

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