POV-Ray : Newsgroups : povray.binaries.images : Knot world WIP (#3) : Re: Knot world WIP (#3) Server Time
7 Aug 2024 11:17:16 EDT (-0400)
  Re: Knot world WIP (#3)  
From: Paolo Gibellini
Date: 15 Mar 2006 07:43:53
Message: <44180c09@news.povray.org>
> "Bill Pragnell" wrote
> 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
>
It helps a lot, thank you!
;-)
Paolo


Post a reply to this message

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