POV-Ray : Newsgroups : povray.general : Working with vectors : Re: Working with vectors Server Time
4 Aug 2024 06:15:37 EDT (-0400)
  Re: Working with vectors  
From: Ray Gardener
Date: 6 Jul 2003 15:22:29
Message: <3f0876f5$1@news.povray.org>
> How can I find a point on a vector with POV-Ray?

What kind of point are you looking for?
Something that intersects an object (use trace()),
or just a point some distance along a ray
(use #declare vecResult = vec.normalize() * the_distance + position;)?


Ray Gardener
Daylon Graphics Ltd.
"Heightfield modeling perfected"
http://www.daylongraphics.com


Post a reply to this message

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