POV-Ray : Newsgroups : povray.newusers : How to get a texture like (y>0.8 & z>0.9) -> texture a else -> texture= b? : Re: How to get a texture like (y>0.8 & z>0.9) -> texture a else -> tex= Server Time
30 Jul 2024 06:18:00 EDT (-0400)
  Re: How to get a texture like (y>0.8 & z>0.9) -> texture a else -> tex=  
From: D  H  Berlin
Date: 4 Sep 2004 12:00:01
Message: <web.4139e6222ee2b705a7e1bd0f0@news.povray.org>
>      Mytexture[ ((py>0.8) & (pz>1-0.1)) ]
Do you mean y and z instead of py and pz here?
> RG


Btw: When using x, y or z in an texture-block, does this always mean the x,y
and z used by the texture-calculations, in contrary to the normal meaning
of x,y and z which is <1,0,0>, <0,1,0> and <0,0,1>?  (Would be great.)
Or is this special meaning of x,y and z only in effect in a function
statement as used in the before examples?

Greetings
Dieter


Post a reply to this message

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