POV-Ray : Newsgroups : povray.advanced-users : Vector Math Problem : Re: Vector Math Problem Server Time
29 Jul 2024 04:23:50 EDT (-0400)
  Re: Vector Math Problem  
From: Christopher James Huff
Date: 5 Jan 2003 22:07:46
Message: <cjameshuff-037E3F.21574505012003@netplex.aussie.org>
In article <3e18ef67@news.povray.org>, "Kevin Loney" <klo### [at] pt2mcom> 
wrote:

> How would I go about finding a point on a ray the is equa-distant from to
> other points?

Your message is a little garbled. You want to find a point on a ray, the 
point being equidistant to two other points? This is not always 
possible, not without having the point shoot off to infinity.

The point will be in a plane perpendicular to a line between the two 
known points and passing through the midpoint. You can easily calculate 
this plane and find the intersection of the ray with it (with trace() or 
by using the plane equation), but as I mentioned, with a line it can go 
off to infinity, and with a ray there is sometimes no solution.

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