POV-Ray : Newsgroups : povray.binaries.images : random Earth-like planet generator Server Time
13 Oct 2026 16:55:05 EDT (-0400)
  random Earth-like planet generator (Message 1 to 17 of 17)  
From: Zeger Knaepen
Subject: random Earth-like planet generator
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


 

From: Tek
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 13:43:41
Message: <4558bcdd@news.povray.org>
Wow that looks awesome!

I may be able help with the clouds, I had a go at doing a similar thing a 
while ago and got a good cloud effect but could never get the land right! 
I've attached a picture of my attempt, and the source for it.

-- 
Tek
http://evilsuperbrain.com

"Zeger Knaepen" <zeg### [at] povplacecom> wrote in message 
news: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 'cheapworld.inc.txt' (4 KB) Download 'cheapworld.jpg' (99 KB)

Preview of image 'cheapworld.jpg'
cheapworld.jpg


 

From: Ross
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 14:57:02
Message: <4558ce0e$1@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote in message
news: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!

That's pretty cool. I'd like to see what the function is for generating the
continents. I tried this once and couldn't come up with anything realistic
or even stylized and unrealistic but visually appealing.

nice work


Post a reply to this message

From: Zeger Knaepen
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 15:32:52
Message: <4558d674@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote in message news:4558bcdd@news.povray.org...
> Wow that looks awesome!

thanks :)
 
> I may be able help with the clouds, I had a go at doing a similar thing a 
> while ago and got a good cloud effect but could never get the land right! 
> I've attached a picture of my attempt, and the source for it.

hmm, seems like a good start, I might just be able to use your code! :)
thanks !

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

From: Zeger Knaepen
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 15:34:19
Message: <4558d6cb$1@news.povray.org>
"Ross" <rli### [at] speakeasynet> wrote in message
news:4558ce0e$1@news.povray.org...
> That's pretty cool.

thanks :)

> I'd like to see what the function is for generating the
> continents. I tried this once and couldn't come up with anything realistic
> or even stylized and unrealistic but visually appealing.

this is the pattern that determines the height of the landscape:

  pigment_pattern {
   pigment_pattern {
    crackle scale .75
    poly_wave .125
    warp {turbulence .125 lambda 3}
   }
   pigment_map {
    [0 rgb 0]
    [1 granite scale 10
    scale .5 warp {turbulence .75 lambda 3} scale .5
    ]
   }
  }

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

From: mine
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 18:30:00
Message: <web.4558ff6fe7514cf3599865c40@news.povray.org>
That's a very cool idea, I hope you get the clouds sorted out soon. :)


Post a reply to this message

From: Zeger Knaepen
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 22:31:36
Message: <45593898$1@news.povray.org>
"mine" <nomail@nomail> wrote in message
news:web.4558ff6fe7514cf3599865c40@news.povray.org...
> That's a very cool idea, I hope you get the clouds sorted out soon. :)

I think I have: http://www.povplace.com/gallery/SciFi%20-%20Own/planeet3.jpg

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

From: jtico
Subject: Re: random Earth-like planet generator
Date: 14 Nov 2006 08:08:54
Message: <4559bfe6@news.povray.org>
Zeger Knaepen wrote:
> "mine" <nomail@nomail> wrote in message
> news:web.4558ff6fe7514cf3599865c40@news.povray.org...
> 
>>That's a very cool idea, I hope you get the clouds sorted out soon. :)
> 
> 
> I think I have: http://www.povplace.com/gallery/SciFi%20-%20Own/planeet3.jpg
> 
> cu!
> --

Nice result, Zeger. Congratulations!

What about a close up? ;-)


Post a reply to this message

From: Zeger Knaepen
Subject: Re: random Earth-like planet generator
Date: 14 Nov 2006 08:38:43
Message: <4559c6e3@news.povray.org>
"jtico" <men### [at] gmailcom> wrote in message
news:4559bfe6@news.povray.org...
> Nice result, Zeger. Congratulations!

thanks :)

> What about a close up? ;-)

maybe if I add one more small turbulence, but now it all looks too fuzzy for
close ups :)

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

From: Nekar
Subject: Re: random Earth-like planet generator
Date: 14 Nov 2006 09:46:16
Message: <4559d6b8@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote in message 
news: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.
>
Fantastic! Now see how close you can get to the real continents this way ;oD


-- 
-Nekar Xenos
"The truth is out there"


Post a reply to this message

From: Sven Littkowski
Subject: Re: random Earth-like planet generator
Date: 14 Nov 2006 11:17:09
Message: <4559ec05$1@news.povray.org>
You humans do pretty well!

Once you succed to do generate your own planets with their own clouds, you 
will be accepted to join the ligue of interstellar cultures! Each lifeform 
which has developed their version of POV-Ray becomes a candidate, and each 
of those few civilizations which learns to create their own planets will 
become a member of the Galactic Ligue.

the Blue Klaus
alien


Post a reply to this message

From: EagleSun
Subject: Re: random Earth-like planet generator
Date: 15 Nov 2006 10:50:01
Message: <web.455b3719e7514cf3841337530@news.povray.org>
"Sven Littkowski" <sve### [at] jamaica-focuscom> wrote:
> You humans do pretty well!
>
> Once you succed to do generate your own planets with their own clouds, you
> will be accepted to join the ligue of interstellar cultures! Each lifeform
> which has developed their version of POV-Ray becomes a candidate, and each
> of those few civilizations which learns to create their own planets will
> become a member of the Galactic Ligue.
>
> the Blue Klaus
> alien

Does this qualify?


Post a reply to this message


Attachments:
Download 'b-sys.jpg' (547 KB)

Preview of image 'b-sys.jpg'
b-sys.jpg


 

From: Data Banks
Subject: Re: random Earth-like planet generator
Date: 15 Nov 2006 23:11:14
Message: <455be4e2@news.povray.org>
"EagleSun" <nomail@nomail> wrote in message 
news:web.455b3719e7514cf3841337530@news.povray.org...
> "Sven Littkowski" <sve### [at] jamaica-focuscom> wrote:
>> You humans do pretty well!
>>
>> Once you succed to do generate your own planets with their own clouds, 
>> you
>> will be accepted to join the ligue of interstellar cultures! Each 
>> lifeform
>> which has developed their version of POV-Ray becomes a candidate, and 
>> each
>> of those few civilizations which learns to create their own planets will
>> become a member of the Galactic Ligue.
>>
>> the Blue Klaus
>> alien
>
> Does this qualify?
>
That was beautiful!


Post a reply to this message

From: Nekar
Subject: Re: random Earth-like planet generator
Date: 16 Nov 2006 00:21:09
Message: <455bf545@news.povray.org>
If those clouds are procedural, I'd love to see the code!


-- 
-Nekar Xenos
"The truth is out there"


Post a reply to this message

From: Thomas de Groot
Subject: Re: random Earth-like planet generator
Date: 16 Nov 2006 05:30:41
Message: <455c3dd1$1@news.povray.org>
"EagleSun" <nomail@nomail> schreef in bericht 
news:web.455b3719e7514cf3841337530@news.povray.org...
> "Sven Littkowski" <sve### [at] jamaica-focuscom> wrote:
>> You humans do pretty well!
>
> Does this qualify?
>
Qualify??? You will be immediately promoted to Fearsome Head of the 
InterStellar League!!!

This is really outstanding!!!

Thomas


Post a reply to this message

From: Icewind
Subject: Re: random Earth-like planet generator
Date: 13 Jan 2007 18:30:01
Message: <web.45a96b57e7514cf32e5faae50@news.povray.org>
Hi there, i'm new here (not to POV though) and thought i could show my first
succesful attempt at creating a planet.
And much thanks to Tek, your method of sharpening the normals was really
useful! :)


Post a reply to this message


Attachments:
Download 'procplanet1.jpg' (227 KB)

Preview of image 'procplanet1.jpg'
procplanet1.jpg


 

From: Darren New
Subject: Re: random Earth-like planet generator
Date: 13 Jan 2007 19:52:07
Message: <45a97eb7$1@news.povray.org>
Icewind wrote:
> succesful attempt at creating a planet.

Very nice!

I'm not sure the atmosphere would glow like that, and the clouds show no 
wind-driven effects, but it's a good-looking planet for sure. :-)

-- 
   Darren New / San Diego, CA, USA (PST)
     Scruffitarianism - Where T-shirt, jeans,
     and a three-day beard are "Sunday Best."


Post a reply to this message

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