POV-Ray : Newsgroups : povray.general : Function based patterns ... value returned from function ... : Re: Function based patterns ... value returned from function ... Server Time
2 Aug 2024 04:22:45 EDT (-0400)
  Re: Function based patterns ... value returned from function ...  
From: Warp
Date: 19 Jan 2005 05:54:31
Message: <41ee3c67@news.povray.org>
Neil Kolban <kol### [at] kolbancom> wrote:
> But what about values outside of the color map range ... what of values < 
> 0.0 and > 1.0 ... how do they get mapped to a color value?

  Why don't you simply test it?

  AFAIK pattern values beyond those limits get clipped. That is, everything
larger than 1 is converted to 1 and everything smaller than 0 is converted
to 0.

-- 
#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.