Planetside Software Forums

General => Image Sharing => Topic started by: domdib on January 16, 2010, 11:01:56 AM

Title: Rock surface
Post by: domdib on January 16, 2010, 11:01:56 AM
I was doing some experimenting with rock surfacing, and this is the first one I'm moderately happy with. Still early days though. C + C welcome.
Title: Re: Rock surface
Post by: Henry Blewer on January 16, 2010, 11:08:12 AM
It looks like some of my stuff when I really take time to make a good surface. (Better actually) What I found was that it comes down to scale and masking. Where does the surface need to be rough, like where something has broken off. Or smooth, like where it has been eroded away by water. Getting it just right is like looking for the Holy Grail. You can get close, but often end up in terrible peril in Castle Anthrax.
Title: Re: Rock surface
Post by: Marcos Silveira on January 16, 2010, 11:52:41 AM
Hey, BEAUTIFUL!!!!!! 8)
Title: Re: Rock surface
Post by: Thelby on January 16, 2010, 12:06:02 PM
Put this in a Cafe and you would have 'Hard Rock Cafe'  ;D
Really though, this is very nice and natural looking.
Title: Re: Rock surface
Post by: inkydigit on January 16, 2010, 12:20:48 PM
really nice looking - almost igneous!
Title: Re: Rock surface
Post by: domdib on January 16, 2010, 03:50:17 PM
Thanks everyone, for your comments. njeneb is certainly right that getting the scales and the masking right is important.
Title: Re: Rock surface
Post by: TheBlackHole on January 17, 2010, 01:14:44 AM
Quote from: Thelby on January 16, 2010, 12:06:02 PM
Put this in a Cafe and you would have 'Hard Rock Cafe'  ;D
Lollerskates falling out of a roflcopter. :D
Title: Re: Rock surface
Post by: Dune on January 17, 2010, 04:50:01 AM
This rocks! Did you guys ever try to set up a network of rocky displacement shaders (twist, strata, etc) and then feed this into the terrain generate (from shader)? I did. It wouldn't use the sideways distorted areas, I figured, but you can add erosion then and might end up with a nice terrain.

---Dune
Title: Re: Rock surface
Post by: domdib on January 17, 2010, 11:56:04 AM
Thanks Dune. I'm not quite clear what you're asking re the rock shaders though. Are you talking about taking a procedural terrain with other "sideways-displacement" shaders added, and then generating a .ter from it? IN which case, why not make the .ter straight from the procedural, then the erosion, then add the "sideways-displacment" shaders in later? Or am I missing something? I've made a .ter from an Alpine fractal, which already has erosion built in, and I'm planning to use this surfacing on it.
Title: Re: Rock surface
Post by: Dune on January 18, 2010, 03:50:40 AM
We're on the same line, but once you have the erosion and then displace sideways, it wouldn't be 'real' erosion anymore. Very interesting, though. What I just meant was that it would be interesting to put a whole lot of nodes before the shader input in generate terrain, instead of just one fractal. And then apply erosion.
Title: Re: Rock surface
Post by: Tangled-Universe on January 18, 2010, 04:32:34 AM
Quote from: Dune on January 18, 2010, 03:50:40 AM
We're on the same line, but once you have the erosion and then displace sideways, it wouldn't be 'real' erosion anymore. Very interesting, though. What I just meant was that it would be interesting to put a whole lot of nodes before the shader input in generate terrain, instead of just one fractal. And then apply erosion.

I've tried this before, it's dead slow, but cool :)
Title: Re: Rock surface
Post by: domdib on January 18, 2010, 08:10:37 AM
@Dune - I see what you mean - so eroding a terrain with overhangs etc. isn't possible (I can kind of understand, as the program will effectively find two different values for the height at the same spot, which probably throws it into a loop). I wonder - do GeoControl or World Machine allow this?

@Martin - When you say "it's dead slow", do you mean generating the terrain is slow? Because presumably once the heightfield is generated, it renders pretty quick?
Title: Re: Rock surface
Post by: Henry Blewer on January 18, 2010, 08:15:23 AM
Probably the render. I have done some very complex displacement work, and it takes forever to render on my machine.
Title: Re: Rock surface
Post by: Tangled-Universe on January 18, 2010, 10:08:21 AM
No, the render and heightfieldgeneration is just fine.
I meant that the erosion operator is very slow.
It often crashes here, and if it works, an hour or more is not rare.
Title: Re: Rock surface
Post by: Hetzen on January 18, 2010, 10:39:23 AM
Quote from: domdib on January 18, 2010, 08:10:37 AM
so eroding a terrain with overhangs etc. isn't possible (I can kind of understand, as the program will effectively find two different values for the height at the same spot, which probably throws it into a loop). I wonder - do GeoControl or World Machine allow this?

No they don't, for exactly those reasons. These systems generate verticle displacement only. Of course you can then push/pull these things in TG to create overhangs. But another good aspect of these programs, is the ability to export masks for each layer of erosion. So for example you could use a fake stones shader only on a generated scree slope...
Title: Re: Rock surface
Post by: domdib on January 18, 2010, 05:36:40 PM
OK, I added strata and fractalised Voronoi cracks. Next, I may add light displacement to the base colour.
Title: Re: Rock surface
Post by: Henry Blewer on January 18, 2010, 07:55:39 PM
This is much better. The texture is more 'real' looking.
Title: Re: Rock surface
Post by: TheBlackHole on January 18, 2010, 09:50:26 PM
The only problem I have with that is there's a huge spike in the upper left part of the image.
Title: Re: Rock surface
Post by: domdib on January 19, 2010, 08:47:47 AM
@TBH - what, you mean the interesting landscape anomaly?  :)

Anyway, here is the next iteration - I've now added some small-scale displacement. Ignoring minor render glitches, do you think this is believable? (apart from the obvious lack of water erosion - let's just say this is in an arid country  ;))
Title: Re: Rock surface
Post by: Henry Blewer on January 19, 2010, 09:04:50 AM
I think a surface layer should be added to make some of the flat and large slope areas smoother. Use the intersect underlaying with 85% smoothing.
It's really coming along.
Title: Re: Rock surface
Post by: FrankB on January 19, 2010, 11:28:03 AM
Dominic, I find the previous image more interesting. I think in the last iteration there's just too much of these "downwards flowing shapes". Like, the rocks had been liquid once, and then froze suddenly. That being said, I often struggle with this sometimes unwanted effect, too.
Personal taste perhaps, but sometimes less detail is better. Instead, I would try to add small fake stones everywhere.

Cheers,
Frank
Title: Re: Rock surface
Post by: domdib on January 19, 2010, 04:06:23 PM
@njeneb - I've done something similar to your suggestion in an image below.

@Frank - I think I know what you mean re the frozen shapes, and the level of detail. It's partly because I'm seeing how far I can push things right now - and there is a small amount of breakage. From now on, I'm going to be dialling back the displacements a bit. Although this began as pure exploration, the seeds of an actual image are beginning to grow, so I may add in some fake stones once I'm happy - and I'm also planning to add some of Martin's sand.
Title: Re: Rock surface
Post by: TheBlackHole on January 19, 2010, 04:09:14 PM
After there's some fake stones, can you post a tgd?
Title: Re: Rock surface
Post by: domdib on January 19, 2010, 04:28:18 PM
Sure - I was actually thinking of doing a beginners/intermediate tutorial on this stuff, once I've finished exploring.
Title: Re: Rock surface
Post by: Zairyn Arsyn on January 19, 2010, 04:32:22 PM
those are some really cool/good displacements! :)
Title: Re: Rock surface
Post by: Henry Blewer on January 19, 2010, 04:50:46 PM
This last image is what I had in mind. From here it should not be too hard to get many types of igneous rock. Color variations and changes in the reflective index would do much of this.
Title: Re: Rock surface
Post by: domdib on January 19, 2010, 05:06:10 PM
Changes in the reflective index - done! (Actually, it's tiny fake stones)
Title: Re: Rock surface
Post by: Tangled-Universe on January 20, 2010, 02:11:51 AM
A very nice looking rock surface!
This seems nearly finished, isn't it?
Only thing left perhaps is a more clean crisp render, then it will probably be quite photorealistic :)
What were the rendersettings for this one, including lighting and atmosphere?
Title: Re: Rock surface
Post by: Dune on January 20, 2010, 03:31:54 AM
I like 'smoother.jpg' the best, really perfect. The colours and displacements work together really well. I wouldn't have added the tiny fake stones.
Title: Re: Rock surface
Post by: inkydigit on January 20, 2010, 07:21:01 AM
both smoother and shiney have their merits...very good work here, love to see a tgd/node shot?
Title: Re: Rock surface
Post by: Henry Blewer on January 20, 2010, 07:45:07 AM
I think the small fake stones may be too much. I would have used a PF for a mask which is scaled very small for a slight reflective shader. (I never do, render time...)
Title: Re: Rock surface
Post by: domdib on January 20, 2010, 05:02:24 PM
TGD, TGC and brief explanation now up at http://forums.planetside.co.uk/index.php?topic=8668.0
Title: Re: Rock surface
Post by: domdib on January 20, 2010, 05:17:34 PM
Here is the final version. Thanks to everyone for your comments.

@Martin - the render settings for this one : Detail 0.9, AA 6, GI 2/4, Catmull-Rom. Previous render was 0.6, 6, 1/2
Lighting and atmo on both are just the standard out-of-the-box ones.
Title: Re: Rock surface
Post by: domdib on January 20, 2010, 05:21:54 PM
Here is another version, with the addition of negatively displaced fake stones - an effect that I'd probably tone down with a painted shader if I did it again.
Title: Re: Rock surface
Post by: Tangled-Universe on January 21, 2010, 02:18:09 AM
Perhaps a tad bit too rough, but I still like this very much!

About your rendersettings, very well chosen in my opinion. The GI 2/4 really pays off I think. Hence the lighting and coloring in the shadows.
You mentioned that you didn't alter the atmosphere settings and that's probably the culprit why it isn't looking so clean.
I suggest you render this with at least 48 atmo samples, preferably with 64 or 80 for perfect clean results, but that's taking quite long.

If you need renderhelp then just let me know, I'm happy to do it for you.

Cheers,
Martin
Title: Re: Rock surface
Post by: EoinArmstrong on January 21, 2010, 08:27:54 AM
Wow - that's come on a lot!  I prefer the second last one, though :)
Title: Re: Rock surface
Post by: domdib on January 21, 2010, 05:29:28 PM
@Martin - well, you might have already tried this yourself now, but I tried your suggestion of upping the atmo, and didn't really see much difference. I then switched GI Surface Details on (pleasantly surprised that this only increased render time by about a third - perhaps an optimisation in 2.1??) and I think I can see some subtle differences. See what you think.
Title: Re: Rock surface
Post by: domdib on January 21, 2010, 05:31:16 PM
The next two images also had GI Surface Details on. Moved to a higher POV...
Title: Re: Rock surface
Post by: domdib on January 21, 2010, 05:33:02 PM
Then I switched the sun heading by 180, and was surprised by the difference this made to the rock colour. N.B. that's the ONLY setting I changed.
Title: Re: Rock surface
Post by: Tangled-Universe on January 21, 2010, 05:34:23 PM
Hmmm...the result is not as spectacular as I would have expected.
You have changed two things, upping atmo samples and enabling GI surface details, so it's hard to say which is most responsible for the improvement.
I haven't looked at it by the way...after seeing this my first guess is playing with the haze settings (less dense) along with increasing atmo samples slightly and see if it then looks better.

These kind of color-schemes together with heavy displacements tend to look noisy in the shadowy areas very fast. Hence some of my canyon-renders and my "inside deep forest" render. Suffering from the same difficult conditions for the renderer, I used 256 atmo samples there.

Martin
Title: Re: Rock surface
Post by: domdib on January 21, 2010, 05:36:49 PM
Finally, two closer renders - the first one shows a really weird displacement - no idea how it came about. The second one, from a slightly different POV, has Intersect Underlying switched on in the Roughen Surface node, and shows an interesting almost polished finish in the foreground.
Title: Re: Rock surface
Post by: Tangled-Universe on January 21, 2010, 05:37:28 PM
Quote from: domdib on January 21, 2010, 05:33:02 PM
Then I switched the sun heading by 180, and was surprised by the difference this made to the rock colour. N.B. that's the ONLY setting I changed.

That's not such a big surprise honestly.
First of all you changed the POV dramatically which makes quite a difference.
Second you added a lot more direct lighting by moving the sun behind the camera.
I hope you agree with me that this looks dull, flat and much worse this way.

If you prefer to solve the lighting problem by moving the sun, instead of tinkering with the atmo settings, then I'd get back to your original POV and try moving the sun around in 10 degree increments to see if some extra direct lighting will give better results.
Title: Re: Rock surface
Post by: domdib on January 21, 2010, 05:38:53 PM
I might try upping the atmo samples further, as I didn't notice any big difference in render time. And reducing haze is also a good idea - I often switch it off altogether. Thanks for your suggestions.
EDIT: And I neglected to mention earlier that I made a render with just the atmo samples increased (to 80), and could see no difference - that's why I switched the GI Surface details on.
Title: Re: Rock surface
Post by: domdib on January 22, 2010, 07:35:28 AM
OK, switching off haze and upping the atmo samples to 200 does make a difference - the shadows are much bluer, and arguably 'cleaner'. Is this the sort of thing you were driving at, Martin?
Title: Re: Rock surface
Post by: CCC on February 24, 2010, 07:01:31 PM
Martin?    ;D
Title: Re: Rock surface
Post by: Tangled-Universe on February 24, 2010, 07:34:51 PM
Oops...thought I had replied to this already, sorry :)

Anyhow, this was indeed more or less where I was "driving at"...though the shadows are bluer and lots cleaner they still have a strange hue/tone.
Sometimes I find it easier to use TG's gamma and contrast settings and then render straight to final with barely doing postwork afterwards.
With surfaces and lighting like this I often run into this same kind of challenge of lighting the shadows without getting a strange hue etc.

My suggestion for this now would be to actually lower the GI strength and color on surfaces somewhat and then render at slight higher exposure, or adjust that in post.
Too strong GI on surfaces can cause a strange hue. My first strata wall image is a perfect example of this.

Bedtime now, if needed I will contemplate more about this :)

Cheers,
Martin