POV-Ray : Newsgroups : povray.general : Extracting values from predefined vectors : Re: Extracting values from predefined vectors Server Time
13 Aug 2024 21:17:42 EDT (-0400)
  Re: Extracting values from predefined vectors  
From: Michael Lundahl
Date: 15 Jun 1998 04:38:59
Message: <6m2mj3$96a$1@oz.aussie.org>
In article <6lp4ld$pmr$1@oz.aussie.org>,
	"Greg Sanders" <gvi### [at] oraclerenonvus> writes:
>Does anyone know how to extract the X,Y and Z values from a defined vector.
>Specifically, I am using Chris Colefax's Spline Generator.  It generates a
>"spline_pos" vector of (X,Y,Z).  Is there a way to extract the numerical
>values of each?  I hope this is clear.

Well, there should have been, by using the dot-operator... To get the x-value, 
you should have been able to type spline_pos.x according to the manual.
However, there is a bug in POV which causes this operator to malfunction
for .y, .z, .v and .t  I hope POV 3.1 will have this bug fixed.

/Michael


Post a reply to this message

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