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:25:55 EDT (-0400)
  Re: How to get a texture like (y>0.8 & z>0.9) -> texture a else -> tex=  
From: D  H  Berlin
Date: 3 Sep 2004 12:10:00
Message: <web.41389675682bae3f43ad080a0@news.povray.org>
Hi!

This looks like it would work. I will try. Thank you!

But i would be nice, if there is a way to use functions like i have tried
for texture maps. It would great to write an own function where all kinds
of mathematical and _logic_ operations would be useable. The function would
just have to give back a value which could determine the entry to use of
the texturemap.
Is this possible?
Maybe i just have to use a macro instead of a declaration for the function?

Greetings
Dieter


Post a reply to this message

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