POV-Ray : Newsgroups : povray.newusers : using coordinate vectors in #if statements : Re: using coordinate vectors in #if statements Server Time
30 Jul 2024 00:25:39 EDT (-0400)
  Re: using coordinate vectors in #if statements  
From: Warp
Date: 11 Dec 2004 10:36:22
Message: <41bb13f6@news.povray.org>
Floyd <nomail@nomail> wrote:
> How do I
> extract the value of y out of the coordinate vector for conditional
> testing?

  Perhaps you should read the documentation for time to time?

  vector.y dhouls do it.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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