|
|
I want to use the "f_r" function to color a sphere from black (inner) to
white (outer). However, there needs to be a hole in the center equal to
1/7 of the sphere's radius, and the gradient must start at this location
instead of the sphere's exact center.
Here is what I have:
pigment
{
function {f_r(x,y,z) * 6/7 + 1/7}
pigment_map
{
[0 color srgb 0]
[1 color srgb 1]
}
}
But the results are not correct.
How do I accomplish this? Thanks!
Mike
Post a reply to this message
|
|