POV-Ray : Newsgroups : povray.general : Making Clouds : Re: Making Clouds Server Time
7 Aug 2024 01:22:01 EDT (-0400)
  Re: Making Clouds  
From: Zeger Knaepen
Date: 28 Jan 2002 22:24:16
Message: <3c5615e0$1@news.povray.org>
> So the sphere are successively smaller and smaller and in a union. In the
> code below the while statment leads to 10 spheres right? I am not really
that's right.  You'll get as many spheres as you specified in the variable Layers.

> using animation am I as I just see one frame get rendered. So the first
> sphere is scale 125 + 0, the second is 125 + 1/10, the third is 124 "+ /10
> and so on so they are really close together. Seems that I could put 10
> spheres inside eachother in Moray but not sure how to get the double
> illuminate part to work. The pigment could be a material couldn't it, since
> there is nothing changing in the while loop? Excuse me if I seem slow
> figuring this out.
As I said: you could do this in Moray (maybe except for the double_illuminate
modifier),
but it wouldn't be as flexible: you couldn't make test-renders with fewer cloud-layers
without deleting spheres from your scene.

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.