POV-Ray : Newsgroups : povray.general : Trace(): Extracting the Z Variable Server Time
1 Aug 2024 00:24:03 EDT (-0400)
  Trace(): Extracting the Z Variable (Message 1 to 3 of 3)  
From: Sven Littkowski
Subject: Trace(): Extracting the Z Variable
Date: 19 May 2006 21:39:34
Message: <446e7356@news.povray.org>
Greetings Folks!

How can I extract, let's say, just the Z variable from the trace coordinates 
(which contains < x, y, z >)?

Sven


Post a reply to this message

From: Mike Williams
Subject: Re: Trace(): Extracting the Z Variable
Date: 19 May 2006 21:56:51
Message: <dgik3FAYdnbEFwiw@econym.demon.co.uk>
Wasn't it Sven Littkowski who wrote:
>Greetings Folks!
>
>How can I extract, let's say, just the Z variable from the trace coordinates 
>(which contains < x, y, z >)?

#declare P = trace( ... );

Then use P.z

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Sven Littkowski
Subject: Re: Trace(): Extracting the Z Variable
Date: 20 May 2006 00:05:14
Message: <446e957a$1@news.povray.org>
Great! Thanks a lot! It works well.

Sven



> Wasn't it Sven Littkowski who wrote:
>>How can I extract, let's say, just the Z variable from the trace 
>>coordinates
>>(which contains < x, y, z >)?


"Mike Williams" <nos### [at] econymdemoncouk> schrieb im Newsbeitrag 
news:dgi### [at] econymdemoncouk...
> #declare P = trace( ... );
> Then use P.z


Post a reply to this message

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