Planetside Software Forums

General => Terragen Discussion => Topic started by: 3DGuy on December 26, 2006, 11:49:58 PM

Title: Fun with the crater shader
Post by: 3DGuy on December 26, 2006, 11:49:58 PM
I was playing with the crater shader and came to the conclusion that you can have negative values for craters :D. This means you can turn craters into spikes. Playing around with the crater shader I created the olympic logo.. sortof. There's just a basic power fractal applied to the planet, the rest is crater shader. For some reason the back spike is cut short. Don't know why that happened, should be as tall as the one on the left. The 3D view showed it allright.

(http://temp.theglasseye.nl/rings.jpg)

Here's an another attempt at combining craters (both positive and negative values).
(http://temp.theglasseye.nl/vulcano.jpg)
This one also has a strata and shear shader applied.

I know these aren't the best of renders, they're just intended to show the crater shader at work. It can produce some interesting effects, maybe it'll inspire someone to do some more interesting stuff with it :) Sorry if this is all known stuff, but I didn't see it mentioned yet I think.
Title: Re: Fun with the crater shader
Post by: Tim O'Donoghue on December 26, 2006, 11:55:02 PM
Using that technique, you should be able to mimic Wizard Island in Crater Lake:

http://www.planetside.co.uk/gallery/v/tg09gallery/CraterLake_aerial.jpg.html (http://www.planetside.co.uk/gallery/v/tg09gallery/CraterLake_aerial.jpg.html)
Title: Re: Fun with the crater shader
Post by: rcallicotte on December 27, 2006, 10:48:50 PM
Thanks 3DGuy.  Don't apologize for showing what you know.  It's a privilege to hear all of these things.  I'd be curious what your TGD file looked like on both of these.
Title: Re: Fun with the crater shader
Post by: 3DGuy on December 27, 2006, 11:17:18 PM
I thought I attached them.. guess I didn't. That's what happens when I post in the middle of the night hehe. Anyway here they are.
Title: Re: Fun with the crater shader
Post by: FrankThomas on December 28, 2006, 08:08:48 AM
Is there any way of setting the "circularity" of the rim (for want of a better word)

I've never seen a crater that's a perfect circle before but I haven't figured out how to deform it yet
Title: Re: Fun with the crater shader
Post by: 3DGuy on December 28, 2006, 12:38:13 PM
I was wondering about that myself. Haven't found anything to set that yet. I'd like to see shaders applied to the ringshape (like you can with the rim, but then to the inward/outward) and make it an oval shape.. eggshape etc.
Title: Re: Fun with the crater shader
Post by: crazymonkey on December 28, 2006, 11:13:30 PM
very cool idea, so many things to play with...
Title: Re: Fun with the crater shader
Post by: Oshyan on December 30, 2006, 02:33:05 AM
Nice work, good experimentation. One of the great things about TG2 as compared to TG 0.9 is that, although there are limited values on the sliders (by necessity, and in many cases to suggest "reasonable" values), you can also enter almost any numerical value you want into most controls. This allows for a great deal of flexibility and power to achieve unusual and interesting effects. Sometimes it just doesn't work at all, but often times you get really cool results.

I believe uou can distort the edges of craters using a Rim Shader input.

- Oshyan
Title: Re: Fun with the crater shader
Post by: FrankThomas on December 30, 2006, 03:10:12 AM
Well, Oshyan got me thinking so I thought I'd give it a shot - does this look more like a crater ?
(yeesh - the things I do a 4 am ;D)

TGD file attached - have at it :)

[edit]
Forgot to mention that I used some pretty extreme numbers in the displacement part of the powerfractal
Title: Re: Fun with the crater shader
Post by: 3DGuy on December 30, 2006, 03:14:31 AM
It's still a circle. It's only distorted in height. Is there a way to dirtort the ring shape itself? Elongate it for instance?
Title: Re: Fun with the crater shader
Post by: FrankThomas on December 30, 2006, 03:18:25 AM
yeah, that's what I was thinking - it's a lot more crumbly round the rim than before.  What I guess you'd want is some "Rim Thickness" Parameter that will accept displacement or power fractal shaders
Title: Re: Fun with the crater shader
Post by: VermilionMartyr on December 30, 2006, 04:16:37 AM
Hmm...

(http://i117.photobucket.com/albums/o61/VermilionMartyr/Untitled.jpg)

Title: Re: Fun with the crater shader
Post by: crazymonkey on December 30, 2006, 07:17:47 AM
Well, Oshyan got me thinking so I thought I'd give it a shot - does this look more like a crater ?
(yeesh - the things I do a 4 am ;D)

TGD file attached - have at it :)

[edit]
Forgot to mention that I used some pretty extreme numbers in the displacement part of the powerfractal

nice one mate ;D
Title: Re: Fun with the crater shader
Post by: Oshyan on December 30, 2006, 09:13:12 AM
You might need to feed your displacement through a Redirect Shader to get lateral displacement on the crater rim...

- Oshyan
Title: Re: Fun with the crater shader
Post by: FrankThomas on December 30, 2006, 01:54:38 PM
Now I'm a bit more awake ;D

I had a quick browse round the t'interweb for photos of craters and such.  Most of them are pretty much circular in shape - the rim is more or less eroded but the general shape is circular.  I'll have a go with Oshyans last suggestion if I can ever figure out how to do it
Title: Re: Fun with the crater shader
Post by: rcallicotte on December 30, 2006, 02:04:04 PM
You guys ROCK!!!    :P
Title: Re: Fun with the crater shader
Post by: 3DGuy on December 30, 2006, 04:09:27 PM
The redirectshader was indeed the key. It has some funky effects on the surrounding landscape as you can see. This is just a bare planet with one crater.

(http://temp.theglasseye.nl/crater.jpg)

inverting the crater:
(http://temp.theglasseye.nl/crater2.jpg)
Title: Re: Fun with the crater shader
Post by: rcallicotte on December 30, 2006, 04:44:20 PM
Oh my god!  How fun!!  There's so much to find just by experimenting.
Title: Re: Fun with the crater shader
Post by: buchvecny on December 30, 2006, 06:47:44 PM
wow guyz, i love u :D next thread to add =D
Title: Re: Fun with the crater shader
Post by: VermilionMartyr on December 31, 2006, 03:46:23 AM
3D Guy, can you upload the .tgd for that funny looking crater?
Title: Re: Fun with the crater shader
Post by: Oshyan on December 31, 2006, 07:54:07 AM
You might also try a regular Displacement shader set to displace by the Normal.

- Oshyan
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 01, 2007, 01:38:12 AM
(http://temp.theglasseye.nl/pillars.jpg)

Couple of inverted craters with a warpshader attached. Now I've got to figure out how to resrict the warping to a certain height if that is possible.
Title: Re: Fun with the crater shader
Post by: Sethren on January 01, 2007, 02:08:36 AM
Cool, it looks like some scapes that i had seen in Utah photographs.
Title: Re: Fun with the crater shader
Post by: FrankThomas on January 01, 2007, 03:07:57 AM
Don't suppose you have a .tgd file for that do you ? I'm having problems getting it to work properly :)
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 01, 2007, 03:22:10 AM
Luckily I still had it open :P

Title: Re: Fun with the crater shader
Post by: 3DGuy on January 01, 2007, 03:43:44 AM
I figured out how to control the the distortion by height with a distrubution shader :)
If done right I think this technique could be used to create a huge underground cavern!
Title: Re: Fun with the crater shader
Post by: Sethren on January 01, 2007, 04:20:48 AM
Thank You Kindly!     ;D
Title: Re: Fun with the crater shader
Post by: FrankThomas on January 01, 2007, 04:36:51 AM
You sir, are a gentleman and a scholar
Title: Re: Fun with the crater shader
Post by: lonewolf on January 01, 2007, 12:18:12 PM
Have been playing around with the redirect shader and multiple inverted craters with interesting results. Using twist and shear on the x & z axis with values around 3-5 for the lean factor, things tend to end up like this. The second one has surface texture applied as well with stones and displacement.
Title: Re: Fun with the crater shader
Post by: rcallicotte on January 01, 2007, 12:21:43 PM
Hey, cool.   :o
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 01, 2007, 12:34:52 PM
Cool. The bottom one kina looks like a spaceship :)
Title: Re: Fun with the crater shader
Post by: groverwa on January 01, 2007, 01:53:05 PM
my thanks to 3dguy for his pillar tgd - they have got me thinking i may be able to replicate "The Bungle Bungle" range in the north of western australia with a lot of playing around

see a pic of the beehive shaped lumps that form the range - http://www.ozoutback.com.au/postcards/postcards_forms/wa_bungles/Source/5.htm

maybe some others may like to try

regards

mike belgrove
Title: Re: Fun with the crater shader
Post by: buchvecny on January 01, 2007, 02:31:51 PM
Wow 3D, the pillars are super awesome i think ima try render with it thx :D
Title: Re: Fun with the crater shader
Post by: RealUser on January 01, 2007, 02:33:48 PM
great experiments
Title: Re: Fun with the crater shader
Post by: Ricowan on January 01, 2007, 05:21:02 PM
Immediately reminded me of Goblin Valley State Park in Utah.
http://www.utah.com/stateparks/goblin_valley.htm

Google images:
http://images.google.com/images?q=goblin+valley+state+park

Title: Re: Fun with the crater shader
Post by: 3DGuy on January 01, 2007, 05:45:00 PM
Immediately reminded me of Goblin Valley State Park in Utah.
http://www.utah.com/stateparks/goblin_valley.htm

Google images:
http://images.google.com/images?q=goblin+valley+state+park

Hehe, that just proves it. We can't think of something so weird or nature already did it :D
Title: Re: Fun with the crater shader
Post by: crazymonkey on January 02, 2007, 11:20:12 PM
woah! some very nice results there...
Title: Re: Fun with the crater shader
Post by: Tim O'Donoghue on January 03, 2007, 12:59:06 PM
Couple of inverted craters with a warpshader attached. Now I've got to figure out how to resrict the warping to a certain height if that is possible.

I modified the project file a bit, and found the perfect spot for my mirror ball...

http://www.pbase.com/tjod/image/72532990

Tim O
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 03, 2007, 01:26:44 PM
Hehe cool. Gives it a real surreal ;) look.
Title: Re: Fun with the crater shader
Post by: rcallicotte on January 03, 2007, 06:45:28 PM
The redirectshader was indeed the key. It has some funky effects on the surrounding landscape as you can see. This is just a bare planet with one crater.

How did you set this up to use the redirectshader?  I've been trying for a while and haven't been able to reproduce what you have in this post.
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 03, 2007, 07:01:41 PM
It looks like this
Title: Re: Fun with the crater shader
Post by: rcallicotte on January 03, 2007, 08:08:07 PM
Thanks, 3DGuy.  I figured it out and am beginning to understand the node mapping.  Appreciate your help.  I'm pretty sure I wouldn't have figured it out, otherwise.
Title: Re: Fun with the crater shader
Post by: Oshyan on January 04, 2007, 07:25:57 AM
Awesome stuff guys. Pushing the boundaries ever forward!

- Oshyan
Title: Re: Fun with the crater shader
Post by: RedSquare on January 04, 2007, 09:04:26 PM
@ Frank Thomas & Oshyan

FYI
The accompanying crater began as in the right hand one but finished up as in the left hand shot.  No Rim shader was used but I did place 9 shaders around it. With 4 on the inside walls. The rim gradually eroded.

Cheers Roy
Title: Re: Fun with the crater shader
Post by: FrankThomas on January 04, 2007, 10:24:44 PM
Useful to know - I'll be playing around with craters at some point no doubt and I'll have to give that a go
Cheers for that :)
Title: Re: Fun with the crater shader
Post by: king_tiger_666 on January 07, 2007, 10:54:10 AM
is there a way to have a number of craters randomly distributed over a map without adding them individually?.. and can you somehow set a impact angle? Instead of having the crater represent a vertical impact.... thank s
Title: Re: Fun with the crater shader
Post by: lonewolf on January 07, 2007, 11:41:13 AM
With a simple twist and shear applied to the crater rim we get a directional crater.

- Iain
Title: Re: Fun with the crater shader
Post by: oggyb on January 07, 2007, 12:14:33 PM
yeah but that looks extremely weird. . . I suppose it looks more natural with some redirect going on?

M.
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 07, 2007, 04:15:23 PM
linewolf: I would use a distrubution shader to move restrict the shearing just below the surface and use less shearing. That would make it more natural.
Title: Re: Fun with the crater shader
Post by: Oshyan on January 07, 2007, 10:12:55 PM
You can't currently do a "population" of craters, but we hope to provide that kind of ability in the future.

- Oshyan
Title: Re: Fun with the crater shader
Post by: MeltingIce on January 07, 2007, 10:20:18 PM
You can't currently do a "population" of craters, but we hope to provide that kind of ability in the future.

- Oshyan
Yea I tried that and didn't work  :-[
I have found though that you can create tidal waves using the crater shader combined with some other shaders  ;)
Title: Re: Fun with the crater shader
Post by: efflux on January 07, 2007, 10:42:54 PM
Populations of craters would be great. Some cool ideas in this thread.
Title: Re: Fun with the crater shader
Post by: king_tiger_666 on January 07, 2007, 11:11:34 PM
meltingice, i was just rendering something like that lol, how did you know, though it is very simple so far

Title: Re: Fun with the crater shader
Post by: MeltingIce on January 07, 2007, 11:33:22 PM
meltingice, i was just rendering something like that lol, how did you know, though it is very simple so far


Cause I'm psychic, duh  ;)  The render I was trying was of a shoreline with a massive wave coming in.  Initially it didn't turn out very good but I didn't spend very much time on it.  It's something I plan to come back to soon.
Title: Re: Fun with the crater shader
Post by: xanga433 on January 08, 2007, 04:08:04 AM
The tidal wave idea is really good! Thank you, I've been meaning to make something like that. In King Tigers picture, I can imagine a mushroom cloud sort of formation above the center of the crater...make a nice scene akin to the movie "Deep Impact."

-Iain #2

Title: Re: Fun with the crater shader
Post by: king_tiger_666 on January 08, 2007, 04:59:46 AM
that will be my next attempt using this kind of render adding a cloud plume if possible

Title: Re: Fun with the crater shader
Post by: 3DGuy on January 08, 2007, 07:15:01 PM
Since you can't do crater populations in T2 yet, I've created a simple script to generate a number of random craters.
(http://temp.theglasseye.nl/craters.jpg)
Check it out here:
http://www.theglasseye.nl/terragen/ (http://www.theglasseye.nl/terragen/)

It will create a clipfile you can import into TG2. Just connect the last crater shader to the compute terrain node :)
If there's more options needed, post it here and I'll see if I can add that.
Title: Re: Fun with the crater shader
Post by: John2k6 on January 08, 2007, 07:39:56 PM
how do you invert the crater?
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 08, 2007, 07:42:28 PM
In Terragen, use a negative depth.

In the script just enter negative values for the Min/Max depth percentage entries. There 100 means depth=radius.
Title: Re: Fun with the crater shader
Post by: John2k6 on January 08, 2007, 07:44:17 PM
i see :) thanks ;)
Title: Re: Fun with the crater shader
Post by: John2k6 on January 08, 2007, 07:45:04 PM
ohh, and 1 more thing. How can you position the craters?
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 08, 2007, 07:49:14 PM
You can move a crater by entering values in for the "Center". The 1st and 3rd values will move it around the terrain. The 2nd option will move vertically which I haven't found a use for...yet.
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 08, 2007, 09:28:44 PM
Mushroom forrest :) random generated inverted craters. After importing I applied a distribution shader and a powerfractal with a displace offset.
(http://temp.theglasseye.nl/mushrooms.jpg)
Title: Re: Fun with the crater shader
Post by: oggyb on January 08, 2007, 09:33:12 PM
That's brill.
Title: Re: Fun with the crater shader
Post by: rcallicotte on January 08, 2007, 09:34:12 PM
Cool!!!  Looks like something in a movie.  I expect to see some munchkins suddenly appear to tell me I don't belong there.  LOL.


Mushroom forrest :) random generated inverted craters. After importing I applied a distribution shader and a powerfractal with a displace offset.
(http://temp.theglasseye.nl/mushrooms.jpg)
Title: Re: Fun with the crater shader
Post by: king_tiger_666 on January 08, 2007, 09:39:17 PM
Thats original!!!... would like to see how you can constrain the bottom of the crater shaders like that
Title: Re: Fun with the crater shader
Post by: John2k6 on January 08, 2007, 09:47:34 PM
haha that looks good lol :)
Title: Re: Fun with the crater shader
Post by: 3DGuy on January 08, 2007, 09:54:26 PM
Thats original!!!... would like to see how you can constrain the bottom of the crater shaders like that
I attached a simple example for a single mushroom.
Title: Re: Fun with the crater shader
Post by: groverwa on January 09, 2007, 09:36:42 AM
thanks to 3DGuy for his mushroom tgd - the attachments show "Strange Flower" jpg and tgd which are a modification of his file - i hope this posying goes through

mike
Title: Re: Fun with the crater shader
Post by: buchvecny on January 09, 2007, 01:02:16 PM
thx for script boy :D
Title: Re: Fun with the crater shader
Post by: doneydonydone on January 09, 2007, 02:56:56 PM
can i just say thanks to everyone who has provided tgd files for us to have a look at -- especially 3D guy -- cheers buddy!!
Title: Re: Fun with the crater shader
Post by: rcallicotte on January 11, 2007, 12:00:49 PM
This is what I've done with the footsteps so far...

Here are footsteps (still need more work, though) behind the mech - http://www.ashundar.com/CPG/displayimage.php?pos=-3684

These shaders will produce six steps.  Haven't figured out how to do more.
Title: Re: Fun with the crater shader
Post by: mt_sabao on January 11, 2007, 12:28:07 PM
wow, the light and shading on the mech is awsome!
and the node structure is a astectic work of art by itself :D
Title: Re: Fun with the crater shader
Post by: rcallicotte on January 11, 2007, 01:07:19 PM
Thanks.

I only wish to figure out a better method for more control on the footsteps.  The snow isn't powdery enough, I think, and I'm not sure about the bump maps on the mech.  I need to experiment more.  Maybe some of the lack of detail I expected comes from being in the shadows. 



wow, the light and shading on the mech is awsome!
and the node structure is a astectic work of art by itself :D
Title: Re: Fun with the crater shader
Post by: AndyWelder on March 19, 2007, 10:02:09 AM
Thank you all who contributed to this thread; learned a lot from it and I'm still having fun with craters (and asteroids/planets, but that's from another thread).

I've attached the key clip file, no other terrain or surface nodes/groups used. Added an extra light source for the glow but that's included.

Just hope the attachments load OK.

Andy
Title: Re: Fun with the crater shader
Post by: child@play on March 19, 2007, 10:05:00 AM
wow, really cool render, thanks for sharing
Title: Re: Fun with the crater shader
Post by: king_tiger_666 on March 19, 2007, 10:37:55 AM
very nice. looks like a snap shot .... nice lighting too! ;D ;D ;D
Title: Re: Fun with the crater shader
Post by: Will on March 19, 2007, 10:44:26 AM
good job and welcome to the fourms :)

Regards,

Will
Title: Re: Fun with the crater shader
Post by: old_blaggard on March 19, 2007, 01:15:22 PM
That's pretyy cool.  Good job!
Title: Re: Fun with the crater shader
Post by: senji on December 31, 2009, 05:17:47 PM
Have been playing around with the redirect shader and multiple inverted craters with interesting results. Using twist and shear on the x & z axis with values around 3-5 for the lean factor, things tend to end up like this. The second one has surface texture applied as well with stones and displacement.

It's been 2 years since this posting.  I don't suppose you still have this .tgd file?  But, if you do, would you mind posting it.
Title: Re: Fun with the crater shader
Post by: dandelO on December 31, 2009, 05:31:45 PM
4th post down on page 1, Senji.

EDIT: Sorry, I thought you meant .tgd for the first post.

Using the base altitude in the twist and shear shader(s) will give you the height(Y value) that the effect will start at. Sorry for the initial post.

Looking directly north and displacing along the 'X' positively, will make displacement to the right, negatively will make displacement to the left.
Same for the 'Z' field, looking north, positive values will displace forward, negative is backwards(or, towards the camera). :)