POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface Pigment help : Re: Isosurface Pigment help Server Time
2 Nov 2024 07:23:03 EDT (-0400)
  Re: Isosurface Pigment help  
From: Chris Huff
Date: 30 Dec 1999 16:06:45
Message: <chrishuff_99-302DCE.16074030121999@news.povray.org>
In article <386BC319.CA6726FC@istar.ca>, sde### [at] istarca wrote:

> Can anyone offer specific advice on how to use pigments in isosufaces?
> 
> I've played around a lot with noise3d, and would like to try granite, or
> bozo, or another pigment type to shake up my sphere.

Well, in order to give you specific advice, you will need to be more 
specific about your questions... :-)

What are you having trouble with? The syntax? Or are you asking about 
the different ways of using the pigment functions to modify the 
isosurface?

There are several ways of using pigments as isosurfaces, but probably 
the best would be to declare it as a separate function to use, like this:

#declare MyPigmentFunc =
function {
    pigment {agate
        color_map {[0 color Black][1 color White]}
    }
}

Then you use MyPigmentFunc() as you would noise3d(). With this 
Black-White color map, it will be similar to directly accessing the 
pattern functions would be, you can modify the color map to change the 
"waveform".

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

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