|
![](/i/fill.gif) |
> Can anybody give me some pointers on how to create a media density like
> the one you can see in http://tinyurl.com/4ddjl (the two spheres at the
> right side). I tried it using a spherical warp on a scaled leopard
> pattern and using actual cones, but none look good.
Looks like it's the noise function sampled along the surface of a sphere:
#include "functions.inc"
// separate function used to avoid recalculating dist multiple times
#declare noisefunc = function(x,y,z,dist) {f_noise3d(x/dist,y/dist,z/dist)}
density {
function {noisefunc(x,y,z,sqrt(x*x+y*y+z*z))}
// you may want to add a color map too, or maybe not:
color_map {
[.4 rgb 0]
[.6 rgb 1]
}
}
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |