POV-Ray : Newsgroups : povray.general : Retrieving Speed from Moving object : Re: Retrieving Speed from Moving object Server Time
5 Nov 2024 13:24:41 EST (-0500)
  Re: Retrieving Speed from Moving object  
From: Christopher James Huff
Date: 4 Apr 2003 11:13:45
Message: <cjameshuff-E73D01.11142304042003@netplex.aussie.org>
In article <3e8da2c3$1@news.povray.org>,
 "Tim Nikias v2.0" <tim### [at] gmxde> wrote:

> So, if I can check object at X=0 and at X=.1, I've possibly
> got two different positions for the object, but there might
> as well be two different objects, if the macro switches
> between objects according to the X-Value.

It *is* two different objects. An object only has current state, no 
information about past or future state. X is just a parameter for 
generating the object. The clock value only has any meaning to the code 
that generates the objects for the current frame. For each frame, it is 
just a number.
Did you think an object with a transform based on clock was actually 
moving? It's not, it is just a series of stills. There is no motion 
information to retrieve, you have to handle it yourself.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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