POV-Ray : Newsgroups : povray.binaries.images : random Earth-like planet generator : random Earth-like planet generator Server Time
5 Nov 2024 08:27:44 EST (-0500)
  random Earth-like planet generator  
From: Zeger Knaepen
Date: 13 Nov 2006 13:12:59
Message: <4558b5ab@news.povray.org>
I made a random-planet generator that can create earth-like planets.  Still
struggling with the clouds (they're very hard to do convincingly :-/) but I
think it doesn't look too bad the way it is now.

Comments welcome!

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


Post a reply to this message


Attachments:
Download 'planetgenerator.jpg' (74 KB)

Preview of image 'planetgenerator.jpg'
planetgenerator.jpg


 

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