![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3C4558b5ab%40news.povray.org%3E/planetgenerator.jpg?ttop=443866&toff=4150&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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] povplace com> 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](/povray.binaries.images/attachment/%3C4558bcdd%40news.povray.org%3E/cheapworld.jpg?ttop=443866&toff=4150&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Zeger Knaepen" <zeg### [at] povplace com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Zeger Knaepen
Subject: Re: random Earth-like planet generator
Date: 13 Nov 2006 15:32:52
Message: <4558d674@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Tek" <tek### [at] evilsuperbrain com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Ross" <rli### [at] speakeasy net> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
That's a very cool idea, I hope you get the clouds sorted out soon. :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Zeger Knaepen
Subject: Re: random Earth-like planet generator
Date: 14 Nov 2006 08:38:43
Message: <4559c6e3@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"jtico" <men### [at] gmail com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Zeger Knaepen" <zeg### [at] povplace com> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |