|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I compiled the crater field generator code by PM 2Ring with a few
modifications:
New functionality:
1) If desired, large craters can now have a central peak.
2) You can specify erosion - the program will average the pixels the
specified
number of times to simulate eroded craters.
3) Output is to .bmp instead of PGM. Unfortunately, in this current version
it's a 24-bit file with only 8 bits of info, so an 8000 x 8000 crater field
produces an output file somewhere around 187 MB. But you can always
convert to .png after you make the .bmp output file. Maybe I'll eventually
re-write this to produce 16-bit output (.pgm, .tga, or .png).
Also, maybe I'll create an option to import an existing hightfield. That
would allow you to use a pregenerated landscape and then subject it to a
meteor storm. Thoughts?
I ran this image 1200 x 1200 pixels, for 1 million craters. Largest craters
have a radius of 120 pixels, with all craters larger than 100 pixels having
a central peak.
Mike
Post a reply to this message
Attachments:
Download 'mars_craters.jpg' (73 KB)
Preview of image 'mars_craters.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Here's the heightfield (a scaled down and compressed version).
Mike
Post a reply to this message
Attachments:
Download 'craters.jpg' (43 KB)
Preview of image 'craters.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Mike Sobers" <sob### [at] mindspringcom> wrote:
> I compiled the crater field generator code by PM 2Ring with a few
> modifications:
>
Hmm.... Did your program make this image? (Originally 4000x4000-16bit)
Post a reply to this message
Attachments:
Download 'crater-quartersize.png' (252 KB)
Preview of image 'crater-quartersize.png'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Why does it look like the craters are reversed?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Your screen is upside down.
I think it looks good, maybe could do with a little higher crater walls
though, and maybe a little less craters.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
RusHHouR wrote:
> Your screen is upside down.
Reversed as in inverted: The crater walls look like they are going
down into the ground, and the plateaus look like hills.
No matter how long and how I look at the image, I can't see the
crater walls going up.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp nous apporta ses lumieres en ce 15/07/2006 04:53:
> Why does it look like the craters are reversed?
The light is comming from the BOTTOM left.
--
Alain
-------------------------------------------------
Christian Science #2: Shit happening is all in your mind.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alain wrote:
> Warp nous apporta ses lumieres en ce 15/07/2006 04:53:
>> Why does it look like the craters are reversed?
> The light is comming from the BOTTOM left.
No matter how long I look at it, I see bubbles, not craters.
Perhaps one problem is that the crater walls don't cast shadows.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp nous apporta ses lumieres en ce 15/07/2006 14:20:
> Alain wrote:
>> Warp nous apporta ses lumieres en ce 15/07/2006 04:53:
>> The light is comming from the BOTTOM left.
>
> No matter how long I look at it, I see bubbles, not craters.
>
> Perhaps one problem is that the crater walls don't cast shadows.
They do cast slight shadows, toward the TOP and a little to the right, and ONLY on the
ground
outside of the craters. Those shadows are what make you see them as inverted.
--
Alain
-------------------------------------------------
Gossip is when you hear something you like about someone you don't.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"EagleSun" <nomail@nomail> wrote:
> "Mike Sobers" <sob### [at] mindspringcom> wrote:
> > I compiled the crater field generator code by PM 2Ring with a few
> > modifications:
> >
>
> Hmm.... Did your program make this image? (Originally 4000x4000-16bit)
Probably, but it's not my program. I only modified it to add some more
details. And it only puts out 8-bit (for now).
Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |