|
|
In article <3d322fe0$1@news.povray.org>,
"TinCanMan" <Tin### [at] hotmailcom> wrote:
> I'm not sure exactly what is the problem here but try doing something like
> this instead:
>
> #declare Long=yes;// no for short lens
> camera {
> #if (Long)
> location -z*100 angle 3 //Long lens
> #else
> location -z*50 angle 15 //Short lens
> #end
> look_at Here
> }
Or use macros:
#declare Here=<0,0,0>;
#macro Long_Lens() location -z*100 angle 3 #end
#macro Short_Lens() location -z*50 angle 15 #end
camera {Long_Lens() look_at Here}
Or something like:
#macro Long_Lens(LookAt)
camera {
location -z*100
look_at LookAt
angle 3
}
#end
Other ideas:
Make position relative to look_at (location LookAt + RelPos).
Specify location as parameter and automatically adjust angle depending
on distance of look_at from location.
Specify angle, look_at, and direction as parameters and adjust distance
of location.
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|