POV-Ray : Newsgroups : povray.programming : About the Intersection points again : Re: About the Intersection points again Server Time
6 Oct 2024 12:45:29 EDT (-0400)
  Re: About the Intersection points again  
From: Christopher James Huff
Date: 18 Nov 2002 12:28:19
Message: <chrishuff-2FA841.12271818112002@netplex.aussie.org>
In article <3dd89338@news.povray.org>, "Wu Yang" <wya### [at] cswrightedu> 
wrote:

> >It would really help if you just said what you wanted...
> 
>   I called the distance between the camera and a intersection point the
> RANGE of that point, and what I want now is the Range Rate of that point
> when the object moves. Range and Range Rate are two important parameters for
> Target Tracking. I am now trying to generate date (Range, Range Rate) from
> this program for a target tracking test.

If you just want a point on the object that moves around with the 
object, there is no need for patching POV. Just define a point that is 
on the object, or at the center of it, or whatever you want to define it 
as, and then apply the same transformations to that point and the 
object. If you had just said this at the beginning, your question could 
have been answered then, there would have been no need for all these 
messages and threads.


> >If you just want the change in distance to the camera, one possibility
> would be to compute the change in average or >minimum distance.
> 
> What I need is the Range Rate of every intersection point not just the
> average and minimum Range's.

Read what I said again...the *change* in average or minimum distance. 
You must define what you want "range" to be, it could be average or 
minimum distance, distance to a constant point on the object, or 
something else. The change in this value would be the rate of distance 
(or "range") change in units per frame. However, even if you decided to 
do it this way, patching POV is not necessary, it could be done in the 
existing scene language with the trace() function.

-- 
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.