Planetside Software Forums

General => Terragen Discussion => Topic started by: Hannes on April 04, 2019, 05:05:50 AM

Title: Subsurface scattering so far...
Post by: Hannes on April 04, 2019, 05:05:50 AM
Matt asked me to write a short post on how I did the weird subsurface scattering stuff mainly in the second half of this thread:
https://planetside.co.uk/forums/index.php/topic,26401.0.html
Translucency is the light shining through thin objects without volumetric density. To fake subsurface scattering I had to place a slightly smaller object (that fakes the internal density) inside my main object that has a translucent material assigned to (like the "Fleshy" or "Translucent plastic" materials in the Materials section. The path tracer is way more accurate for this than the legacy sampler.
In this case I didn't use Matt's great translucency settings here:
https://planetside.co.uk/forums/index.php/topic,26401.msg263012.html#msg263012
and just used values that looked OK to me.

I attached the scene file for those who want to play with the scene.
I'm really looking forward to try the SSS material Matt had announced and compare it to my method, since it's only a fake.

EDIT: In the scene file the main object is disabled. I forgot to reenable it!!!

Be aware that the color of the internal object can make the image look quite different, since it shines through, but that may produce interesting effects.
Title: Re: Subsurface scattering so far...
Post by: Matt on April 04, 2019, 05:12:15 AM
This is great! Can you show us the examples of what you can do with this technique, copied from other threads?
Title: Re: Subsurface scattering so far...
Post by: Hannes on April 04, 2019, 05:17:44 AM
Sure.
Title: Re: Subsurface scattering so far...
Post by: Hannes on April 04, 2019, 05:51:28 AM
Indirect lighting.
Title: Re: Subsurface scattering so far...
Post by: bobbystahr on April 04, 2019, 11:48:24 AM
Brilliant work Hannes, thanks for the share.
Title: Re: Subsurface scattering so far...
Post by: sjefen on April 04, 2019, 05:22:15 PM
This is ridiculously awesome!  :o
Really wish there was a native SSS in TG.


- Terje
Title: Re: Subsurface scattering so far...
Post by: Hannes on April 05, 2019, 05:22:06 AM
Nothing really weird this time. I used the Stanford dragon model and created an inner object by a negative extrusion of the faces in Max. If you look closely you can see the shape of the inserted model, especially inside the upper horns and in the end of the tail, but nevertheless it looks like subsurface scattering.

I may have mentioned that before, but I'm really looking forward to Matt's SSS solution... ;) ;) ;)
Title: Re: Subsurface scattering so far...
Post by: Kadri on April 05, 2019, 05:24:45 AM

Nice and thanks for sharing Hannes.
Title: Re: Subsurface scattering so far...
Post by: mhaze on April 05, 2019, 06:25:47 AM
Thanks for that, Hannes - will be useful for ice amongst other things.
Title: Re: Subsurface scattering so far...
Post by: luvsmuzik on April 05, 2019, 06:48:23 AM
Messin' with Hanne's measles tgc (no reflect) pinkish,  and Matt's suggested translucency settings, yellowish

2 gourds set one inside of the other, already displaced surface (Blender modifier)

One light source, may try two.