|
|
Hi, all
I am now trying to track a moving object. I set clock in translate to make
the object move. For example, add translate <-7*clock*clock,0,-clock> into
an object description. I want to know which codes are about the process of
the translation. Thanks
Wu Yang
Post a reply to this message
|
|
|
|
In article <3df954bb@news.povray.org> , "Wu Yang" <wya### [at] cswrightedu>
wrote:
> I am now trying to track a moving object. I set clock in translate to make
> the object move. For example, add translate <-7*clock*clock,0,-clock> into
> an object description. I want to know which codes are about the process of
> the translation. Thanks
For all objects but those which are trivial to translate POV-Ray implements
the translation as part of the transformation matrix. The code for matrices
can be found in matrices.cpp. The transformation is part of an object can
can be found in the "Trans" member, which is a pointer to a "TRANSFORM".
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|