|
![](/i/fill.gif) |
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.
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <386BC319.CA6726FC@istar.ca>, sde### [at] istar ca 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] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Chris Huff wrote:
> 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]}
> }
> }
That's exactly what I was looking for.. I didn't realise the "function" bit
was necessary, and was just using the "pigment" portion.
I'm not a coder, so I don't know this kind of thing.
Post a reply to this message
|
![](/i/fill.gif) |