POV-Ray : Newsgroups : povray.text.scene-files : RidgedMF clouds : RidgedMF clouds Server Time
28 Jul 2024 12:31:05 EDT (-0400)
  RidgedMF clouds  
From: SamuelT
Date: 21 Jun 2000 01:23:10
Message: <395051F3.13CA5AB5@aol.com>
You'll definitely need MegaPov to render this. See thread in p.b.i. for
an image. Happy rendering~

P.S. You might want to use ultra_wide_angle in your camera statement.
I'm not sure, but it may hide some of the artifacts of this technique.
If your clouds look black, try increasing max_trace_level in global
settings.


// ******** CODE
#$ Clouds=function "ridgedMF",<1,2.25,7,-1,1>

#declare Y=0;
#declare Ivals=5; //Number of cloud planes

#while(Y<1)
 //plane{y,100+(Y*20) clipped_by{box{<-1000,0,-1000>,<1000,200,1000>}}
 polygon{5,<-3000,-3000>,<-3000,3000>,<3000,3000>,<3000,-3000>,<-3000,-3000>

  rotate x*90 translate y*100+(Y*20)
  translate y*100+(Y*20)
  pigment{function Clouds(x,y,z)/4+noise3d(x/20,y/20,z/20)/4+(z/20)
   scale<300,150,300> phase -.5
   color_map{[.25 rgbf 1][.4 rgbt<1 1 1 .01>]}
  }
  finish{diffuse 1.5 ambient .25 }
  hollow double_illuminate
 }
 #declare Y=Y+1/Ivals;
#end

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit my isosurface tutorial at http://members.aol.com/stbenge


Post a reply to this message

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