POV-Ray : Newsgroups : povray.general : Transform Look_At? : Re: Transform Look_At? Server Time
7 Aug 2024 11:22:13 EDT (-0400)
  Re: Transform Look_At?  
From: Warp
Date: 30 Sep 2001 15:03:28
Message: <3bb76c80@news.povray.org>
Bill DeWitt <bde### [at] cflrrcom> wrote:
:     I have always used direct calculations to position my camera_location
: and look_at but to adapt something I already have, I want to use a
: transform. But transform doesn't work in a camera_location statement, nor in
: a look_at. I can move the camera with the transform, but I want the camera
: look_at to move with a slightly different transform. How would I do that?

camera
{ location vtransform(initial_camera_location, location_transform)
  look_at vtransform(initial_camera_look_at, look_at_transform)
}

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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