Just a few steps ... to procedural craters ...

Started by Volker Harun, August 23, 2009, 03:21:57 pm

Previous topic - Next topic

Volker Harun

August 23, 2009, 03:21:57 pm Last Edit: August 23, 2009, 04:10:06 pm by Volker Harun
Once ... while working on some functions ... it happened that TG2 rendered the following image:

Volker Harun

Not even 24 hours later ... a guy, let us call him Frank, asked if it  were possible to use those functions for craters ...

TG2 offered a mask:

Volker Harun

This is now 20 minutes ago ... and the first procedural crater function is arising ...

to be continued  ;D ;D ;D  ;)

FrankB


Tangled-Universe

The second one looks like bullet-holes ;D
An easy to use procedural crater shader would be awesome!
What functionality do your craters share with the crater shader within TG2?

Volker Harun

Martin ... I cannot recall to have visited the crater shader.
Seriously, I am at the very beginning ... having at the moment two functions that share the same 'geology' but have very different parameters.
;) As soon as I understand, what I have done, there will be as much functionality as reasonable.
For a decent rim, I'll need a third function, I guess.

Volker ;)

Volker Harun

Okay ... first of all, the overall scale of the functions resize the diameter of the craters and the width of the rim.

There are two displacements used. One for the rim, and one for the crater itself ...

About the relation of rim and crater, I'll have to fiddle around a bit ;) ...

Naoo

Hi

The "20-minutes-ago-crater" are very cool!


ciao
Naoo

trailgirl

I love those voronoi circles, especially the last one, great texture too.

Volker Harun

Thanks  :D :D :D

An Update ... Same Point of view ...

It is reduced to one, more simple function that handles the following inputs:
- Overall scale of the craters (image has 10m, the crater in the lower left corner has a diameter of 8m)
- Prominence of craters (from standalone to flow into each other like in the image)
- Width of rim
- Steepness of the rim

Is there anything that should be included?

;) Volker Harun


Tangled-Universe

Looking great so far!

It would be great to be able to selectively displace the rim and/or crater.
But I'm pretty sure that's possible.

Quote from: FrankB on August 23, 2009, 06:44:22 pm
Geil!


lol

Volker Harun

Ah - yes - the outputs ...

- overall mask of the crater (for shading ...)
- mask of the inner
- mask of the rim (in the above image, the rim has some perlin gaps)

Thanks ;D

Volker


Gannaingh

THis look very promising...also extremely cool, I am especially fond of the first one.

Falcon

Quote from: Volker Harun on August 23, 2009, 03:26:48 pm
This is now 20 minutes ago ... and the first procedural crater function is arising ...

to be continued  ;D ;D ;D  ;)


I want these for my moon scenery! tgc, please... :-)