POV-Ray : Newsgroups : povray.unofficial.patches : how to mix two hf : Re: how to mix two hf Server Time
6 Oct 2024 11:35:45 EDT (-0400)
  Re: how to mix two hf  
From: Jaime Vives Piqueres
Date: 19 Aug 2001 06:22:38
Message: <3B7F9369.74881675@ignorancia.org>

> How about using pigment functions and the 'max()' function?
> 
> Something like:
> 
> #declare fn_1=function { pigment { ... } }
> #declare fn_2=function { pigment { ... } }
> 
> #declare fn_hf=function { max(fn_1(x, y, z), fn_2(x, y, z)) }

  Yes! That's it! I was just trying with the pigment function, but I
would have expended much more time to figure out this one, wich is
perhaps the only way to get it working. Thanks!

-- 
Jaime Vives Piqueres

La Persistencia de la Ignorancia
http://www.ignorancia.org/


Post a reply to this message

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