Planetside Software Forums

General => Image Sharing => Topic started by: dandelO on August 31, 2009, 02:21:28 PM

Title: Couple of previews of...
Post by: dandelO on August 31, 2009, 02:21:28 PM
My new grassclump shader! :)

I didn't want to really show this until it was finished and time to upload my new library volume but, truth is, I'm kind of excited about this shader myself and I probably won't get near an internet for a while yet...

Here are a couple of screenshots of a couple of variations of the grassclump shader, they won't all fit this post so I'll reply shortly, aswell...

Density = 0.25:
[attachimg=#]

Density = 1:
[attachimg=#]

...

...

...
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 02:24:18 PM
Bigger...

Density = 1. No blendshader:
[attachimg=#]

(bucket render errors all along the halfway mark, a noticeable horizontal cutoff...)
...
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 02:25:03 PM
Density = 1. Powerfractal blendshader:
[attachimg=#]
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 02:27:22 PM
Shader preview shot (2 metres scale):
[attachimg=#]
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 02:39:11 PM
I assure you, each and every grassblade is unique, with translucency, changeable colours, editable seed, density, scales, etc's.

These shots are from just under a 2 metres high POV(about eye level). It's really not heavy on the renderer, far less intensive on memory aswell than a population on a global scale, and not a single object needs instancing, this is just a surface shader.

It isn't as pretty, of course, as some of the beautiful grass models that the modellers here are producing but for me this is a kind of milestone. My old Grass shader is really ugly when you get too close up, looks nice from further above or in the distance. This new one holds up well to a scale of millimetres, is far less uniform in displacement terms(not just upwards, I mean) and is a lot less complicated.

Now to try it out on distance shots to see if it works there, too...

More as it happens, I'm still working on this one...
Title: Re: Couple of previews of...
Post by: Tangled-Universe on August 31, 2009, 02:52:04 PM
Very interesting results so far, looks good!
How about the rendertimes?

Cheers,
Martin
Title: Re: Couple of previews of...
Post by: ndeewolfwood on August 31, 2009, 02:58:11 PM
waahoou..awsome dandelo...it's just incredible for a surface layer.
maybe you find the way for grass animation  ;D can we distort, warp or transform the grass clump shader ?
Title: Re: Couple of previews of...
Post by: Henry Blewer on August 31, 2009, 03:02:34 PM
Remarkable. This looks very good now. If it was at mid distance, it would be totally convincing.
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 03:17:57 PM
Render times are difficult to say here. My pc is crap, I mean REALLY! - 1.33ghz SINGLE CORE, 1gb RAM. The bigger shots are taking me about 3-4 HOURS!

I must say, though, this is much faster than when I populate objects for rendering.

Anything I render takes an absolute age. For instance, a completely seperate scene I rendered on my computer took me 25 hours+, and it hadn't even finished when I aborted it, I had my mum re-render it for comparison, I think it was around 1 hour 45 minutes on her machine!

I'm confident that this is fast because I can render it, at all! ;)

I'll share when I can...
Title: Re: Couple of previews of...
Post by: Naoo on August 31, 2009, 03:40:34 PM
Hi

Great! Very usefull...


ciao
Naoo
Title: Re: Couple of previews of...
Post by: Gannaingh on August 31, 2009, 03:46:28 PM
dandelO, you are a tg2 wizard ;D this looks great!
Title: Re: Couple of previews of...
Post by: old_blaggard on August 31, 2009, 04:23:50 PM
Very cool work!
Title: Re: Couple of previews of...
Post by: CCC on August 31, 2009, 04:32:38 PM
Is there a way you can bend the blades a bit? There all straight.
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 04:44:42 PM
Sadly, you can't bend the blades, no. :(

*** EDIT:

Sadly I can't bend the blades, no. :(

I'm pretty positive they cannot be bent individually, though.
If I could do that then there would be so many things I've wished for in TG that I couldn't achieve in the past.
Title: Re: Couple of previews of...
Post by: cyphyr on August 31, 2009, 04:47:17 PM
So when stones explode they can be given life again as grass clumps ? :)
Very creative and useful, thankyou :)
Richard
Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 05:16:47 PM
Well, almost, Richard. Except these stones aren't the exploded fake stones.

I believe that exploded fake stones come from incorrect blending of displacements at blendshader cutoff points. The blend shader for the base stones layer here doesn't use 'blend as stone density'. I unchecked it before I even started building this, so they aren't the 'exploded' stones, as we've seen as problems here before.

I've purposely made every*** stone explode without letting TG explode 'some' of them for me by accident.

*** Here lies a problem... In the first preview image, the one at 0.25 density, you can see the base stone layer in some parts. Notice in the bare patches... You can see some stones that don't have enough height to accept the blades properly.
When the density is lowered further it becomes more apparent. I need a way to limit the clumps to the 'best' displaced stones according to the values I type. The fake stone shader gives a very unreliable scattering of stones, some high, some too low.

As I said, still tinkering...

Title: Re: Couple of previews of...
Post by: dandelO on August 31, 2009, 05:25:19 PM
The 'blades' are also fake stones, 3 different coloured stones in series, with a single translucency value/colour following them through a Lambert shader. The blades aren't blended in any way at all, they're simply set as a surface shader to the parent-node, the main grass clump shader.
Title: Re: Couple of previews of...
Post by: Mandrake on August 31, 2009, 06:56:32 PM
Ok D' I was making plant's with exploding stones 3 years ago, what took you so long to refine it? ;)
Looks great, I'm wondering if it's a monster drain on resources? I'm guessing it's not..
As long as I have your attention, Could you point me at the best node to add more texture to your cave?
Is there a node I can pile fake stones into? Or might it wreck the whole cave affect.
I was wondering if I could bubble (might be a bad word) out the smoothies and the jaggies a bit.
Kenny
Title: Re: Couple of previews of...
Post by: Oshyan on August 31, 2009, 10:53:46 PM
Grass clump or.... succulent clump?
http://www.danheller.com/images/California/Marin/RodeoBeach/ice-plant-2-big.jpg
http://www.jungyul.com/photoblog/wp-content/uploads/2008/05/ice-plant.jpg
;D
Or maybe crystals?
http://www.minresco.com/display/djpg/mi1154.jpg

Regardless, very cool. :)

- Oshyan
Title: Re: Couple of previews of...
Post by: domdib on September 01, 2009, 04:55:19 AM
Looks very intriguing - look forward to the finished article.

Perhaps the "fake stones shader" should be renamed to "fake stones/sand/grass shader" ?  ;)
Title: Re: Couple of previews of...
Post by: j meyer on September 01, 2009, 09:43:35 AM
Interesting approach! Keep tinkering!
Title: Re: Couple of previews of...
Post by: Tangled-Universe on September 03, 2009, 09:11:32 AM
Quote from: domdib on September 01, 2009, 04:55:19 AM
Looks very intriguing - look forward to the finished article.

Perhaps the "fake stones shader" should be renamed to "fake stones/sand/grass shader" ?  ;)

Ghehe indeed :) It once proves again how flexible TG2's features can be!
Title: Re: Couple of previews of...
Post by: dandelO on September 05, 2009, 01:07:49 PM
I have some shots of this shader on terrain, near middle and far distances. It looks quite like my original grass shader in the mid/far distance and looks really nice close up aswell. Can't upload shots as I'm not online on my own pc yet, will do soon, though...

QuotePerhaps the "fake stones shader" should be renamed to "fake stones/sand/grass shader" ?  Wink

Yes, very flexible shader. I have a new route for it, aswell, the render(I can't upload just now) is called 'Eezcoca-Yeena'(or, 'It's Cocaine'! ;)). Lines and a wee pile on a mirror! ;)

So, 'fake drugs shader' can be added to this list, too! :D :D :D
Title: Re: Couple of previews of...
Post by: Njen on September 06, 2009, 05:51:23 AM
Wow, I am very impressed by what I see happening here.

The grass blades can probably be bent by a careful use of a displacement on top of another displacement that has had it's terrain already computed, I do something like this in some of my own scenes here and there.

But the amount of extra time used to calculate and render that type of effect is almost prohibitively too long to use widespread in a scene.

Keep up the great work!
Title: Re: Couple of previews of...
Post by: Matt on September 07, 2009, 09:18:07 PM
This looks very good! I hate to be the bearer of bad news, but the horizontal cut-off you saw at bucket boundaries shows a problem with using extreme displacement instead of actual geometry. You'll potentially see these problems at every bucket boundary. It also means that shadows from this extreme displacement won't be rendered correctly. You can fix these problems with very high values for "displacement tolerance" on the planet node, but that will result in insane render times. In theory, using high displacement is a good way to generate complex surfaces, but the reality of rendering such displacement often makes it impractical.

Matt
Title: Re: Couple of previews of...
Post by: dandelO on September 09, 2009, 04:37:03 PM
Thanks, Matt. That answers that question for me. :)
I think I've only came across this issue the one time I posted above. The near exact same scene with different colours is rendered beneath it, this one had higher AA settings but there are no cutoffs where those buckets meet. These shots are a bit too close for real comfort, mind, just to show how they actually were made.
Good to know what's caused it, though, cheers! :)