POV-Ray : Newsgroups : povray.general : Making Clouds : Re: Making Clouds Server Time
19 Nov 2024 18:16:05 EST (-0500)
  Re: Making Clouds  
From: Zeger Knaepen
Date: 28 Jan 2002 19:29:50
Message: <3c55ecfe@news.povray.org>
> That looks like it may work but when I run the Cloud POV Ray file in 3.5 I
> get a black background and no cloud. Is there something I might be doing
> wrong. I see a reference to something called superpatch but don't know what
> that is.
The Superpatch is more or less an old version of MegaPov.
If POV-Ray didn't halt on the double_illuminate keyword, the problem is probably the
max_trace_level.
Add this at the end of your POV-file:
//start code
global_settings {
    max_trac_level 50  //should be enough
}
//end code
The problem is that the code uses 10 layers of clouds and the default max_trace_level
is
less than 10, so you couldn't look through the last couple of layers.

Oh, and don't forget to add a light_source outside of the clouds (inside would work
also,
but the results will be less realistic).

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)               // ZK http://www.povplace.be.tf


Post a reply to this message

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