POV-Ray : Newsgroups : povray.binaries.images : Clouds are back in style : Re: Clouds are back in style Server Time
16 Aug 2024 14:24:56 EDT (-0400)
  Re: Clouds are back in style  
From: Nekar Xenos
Date: 22 Jan 2002 04:20:24
Message: <3c4d2ed8@news.povray.org>
Nice work. I've been thinking about how to do clouds for some time. I've noticed
that cumulus clouds seem to be constructed of lots of tiny spheres. I'm not sure
how you would do that with the isosurface - maybe just ad small spheres in
random places?

--
#local X=20*<-2,2,5>;sphere_sweep{catmull_rom_spline 6<-8,-8>1<-8,-8>1<-8,8>1<
8,-8>1<8,8>1<8,8>1translate 20*z pigment{gradient z scale 3color_map{[0rgb<0,9
,18>][1rgb 0]}}}#local K=2*z*X-X;#local R=seed(clock);blob{#while(K.x>X.x)
#local N=X+<rand(R)rand(R)1>/3;#local X=(vlength(N-K)<vlength(X-K)?N:2*X-N);
sphere{X,1,1rotate z*90}sphere{X,1,1}#end pigment{rgbt 1}interior{media{//Nekar
emission<2,4,5>*5}}hollow scale.05}//   http://nekar_xenos.tripod.com/metanoia/


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.314 / Virus Database: 175 - Release Date: 2002/01/11


Post a reply to this message

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