POV-Ray : Newsgroups : povray.general : Procedural Clouds : Re: Procedural Clouds Server Time
8 Aug 2024 01:19:53 EDT (-0400)
  Re: Procedural Clouds  
From: Kevin Ellis
Date: 25 Mar 2001 07:48:48
Message: <3abde930@news.povray.org>
Hi

Try using a multiple density statement with planar if using a containing
box, i.e

        density {                  // The main cloud density statement
            normal cloud stuff
        }
        density {                  // Just to tidy it up this multiplies the
previuos density statement
          planar                   // by a slighly turbulated planar layer
to make the base and top of
          color_map {              // of the clouds less abrupt and more
wavy
            [0 rgb 0]
            [0.1 rgb 0]
            [0.1 rgb 0.9]
            [1 rgb 0.9]
          }
          scale <20,30,20>*5       // Just a bit smaller than the containing
box in y, with x and z components giving size of bumps
           turbulence 0.25
        }

See the picture "Doorway To Enlightenment" on my webpage for a better
example, the full code for the clouds is available for download in the
models section

Kev
--
http://perso.libertysurf.co.uk/kevin.ellis


Post a reply to this message

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