POV-Ray : Newsgroups : povray.general : Point along a line. : Re: Point along a line. Server Time
4 Aug 2024 04:13:21 EDT (-0400)
  Re: Point along a line.  
From: Christopher James Huff
Date: 18 Jul 2003 19:41:00
Message: <cjameshuff-D41A03.18351018072003@netplex.aussie.org>
In article <web.3f18821015c57b22a6ac136d0@news.povray.org>,
 "BorisW37" <Bor### [at] yahoocom> wrote:

> how do i find individual values of x,y and z

You're making it overly difficult. POV has features for making this kind 
of math easier, the best ways to do it in POV have been explained in 
other replies. You might want to look through math.inc, it has some 
macros and functions that themselves may be useful to you as well as 
showing you what you can do. To answer your question, you can access the 
components with the dot syntax: MyVector.x, MyVector.y, etc. There are 
more dot operators for various situations, this feature is fully 
described in the manual, along with the other built-in vector math 
functions.

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