POV-Ray : Newsgroups : povray.binaries.images : Knot world WIP (#3) : Re: Knot world WIP (#3) Server Time
7 Aug 2024 11:23:30 EDT (-0400)
  Re: Knot world WIP (#3)  
From: Bill Pragnell
Date: 15 Mar 2006 05:05:00
Message: <web.4417e5817ed40d46731f01d10@news.povray.org>
"Paolo Gibellini" <p.g### [at] teinoscom> wrote:
> Your clods are fascinating, but I haven't understood how did you realized
> them, what's exactly meaning "pushing" a point of a surface?
Sorry, it wasn't phrased very rigorously, I was just being colourful. The
density function I use is:

#local sc = 2.5;
function { (1-min(1,sqrt(x*x+y*y/9+z*z) + 0.5*gran(x/sc,y/sc,z/sc).x)) }

where gran(x,y,z) is just a simple granite pigment function (no scaling or
anything), producing clouds of scale approximately <1,3,1>. The density_map
then uses a sharp step to produce "solid" looking clouds. Of course, the
granite perturbation is applied to every point in the density, not just the
surface.

hope that helps!
Bill


Post a reply to this message

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