SSS in Blender? Easy!!! Tutorial on line.

(Manuel) #1

http://www.dedalo-3d.com/images/bake_home.jpg

Working on MakeHuman, we have finally found the most easy and robust way to have sss in human skin.
We have written a short article (it’s WIP !) about how to obtain a good SSS effect using Blender and Gimp.

Take a look, and when you improve the basic tecnique (I’m sure of this!) report me the most impressive images.

http://makewiki.aleppax.it/pmwiki/pmwiki.php/User/QuickAndSimpleSSSWithBlenderAndGimp

Note this is the most basic implementation of this method, perfect to explain the
concept, but, of course, it’s possible work without use Gimp, in example with these nodes (thanks Alessandro Proglio):

http://www.aleppax.it/img/blur-sssUV.jpg

Ciao,

        Manuel (MHteam admin)
0 Likes

(Falgor) #2

Thanks, I shall surely check this one out! =)

0 Likes

(BgDM) #3

Have you seen this yet? -> mke3.net / Footprints in a digital world by Matt Ebb » Archive » Fast fake SSS

broken posted this to his blog a while ago and does virtually the same thing, but all within Blender.

BgDM

0 Likes

(Falgor) #4

Yeah I did see it. I thought this was something very new… But then again, knowing what is probably coming… secrets… Ton Roosendaal secrets…

0 Likes

(free_ality) #5

Yeah, I like Matt’s way better…less work :slight_smile:

0 Likes

(rexprime) #6

you mean “Matt”

0 Likes

(Koba) #7

Manuel

Interesting tut you’ve got there Manuel!
Oh, and I hope makehuman is progresing nicely as it is so useful to me at the moment. Keep up the great work I’m seeing on the Makehuman blog!

Koba

0 Likes

(free_ality) #8

Nah, I meant Mike…

not, yeah typo. I was talking to my friend mike…

0 Likes

(aleppax) #9

We didn’t know about Matt’s article, yes, it’s the same thing, with a faster method than using Gimp. I’ve also tried using nodes, an even better way for me, since with the compositor we can separate the channels and simulate more precisely the different behaviour of the light, and the result can be corrected with RGB curves.
Here are more images from our tests:

http://www.aleppax.it/img/01blur-sss-before-after.jpg

A simple model with a flat color, without textures and head

http://www.aleppax.it/img/01with-overlay.jpg

The same model but the sss channel is mixed with the render using the “overlay” method.

0 Likes

(cekuhnen) #10

aleppax,

maybe it is the light setup, but the SSS does not work on the cylinder at all!

0 Likes

(aleppax) #11

the cylinder is there only to be sure that the node setup in the compositor doesn’t affect other parts of the scene.

0 Likes

(mattebb) #12

edit:

Oops, I misread the above node setup, and made a mistaken comment. My bad!

0 Likes

(eeshlo) #13

That certainly is looking very close to what I was getting a few years back from my own renderer. You might remember Manuel, I think you saw that too back then on the old yafray forums.

Thing is, I found these color changes not very natural looking, and worked on it so long trying to improve it that I eventually grew tired of it, and so never did anything with it (as usual…)

Anyway, as reference, for those that didn’t see it back then, here is what my results looked like for skin, upper left is without sss, the others are various tweaks of the sss method I was using.

http://eeshlo.googlepages.com/ssstest_skin.jpg

As for blurring, you probably want to use a special kind of blur. If you could make a graph of it, it would look like a fast exponential falloff, not like a gaussian blur or any other filters available in blender, but with a sharp peak at it’s center, then decaying fast.
At least, that is what I think it looks like, can’t remember anymore, too long ago.

0 Likes

(cekuhnen) #14

To aleppax:
claas is slapping himself :wink:

somehow some of the renderings look like color dispersentions
or viewed through a 3d stereo glasses. I see blue and red edges a lot.

0 Likes

(brecht) #15

I’ve made a compositor node that does that same effect, but without the need for a uv map and baking, and the exponential falloff functions built-in. So no translucency, but only ‘blurring the light’ over the surface as done here. If you’ve got a blender compiled you can try the patch:
http://users.pandora.be/blendix/scatter.html

0 Likes

(eeshlo) #16

That is all looking very good brecht, well done! From a very quick look at the source, it all looks quite familiar :wink: I spent so long tweaking all those equations…
Anyway, very well done, brecht, Keep up the good work! :yes:

0 Likes

(Wim) #17

Hey Brecht, that is a nice compositor node… If you read this I do have a few questions:
Is it reall SSS or still some kind of fake method?
This is now a compositor node, but is there also some way of making it a material node?..so that you could specify the scattering per material…

0 Likes

(Manuel) #18

@ BgDM:

We didn’t know about Matt’s article, anyway the simulation of different light frequency scatter is very important to have a good result. Anyway we can do all using only Blender:

http://www.aleppax.it/img/blur-sssUV.jpg

@Eeshlo!

Ho eeshlo!! Od course I remember your work!
Too bad you have not released it!
About blur type…it’s just gaussian. Here is a sshot (sorry for italian):

http://makewiki.aleppax.it/pmwiki/uploads/gimpsss.png

@Brecht:

Nice work. We should force Ton to include it in official reelase…

0 Likes

(Koba) #19

Interesting node Brecht!

Any chance it will make its way into the CVS?

Koba

0 Likes

(mickael lebihan) #20

Yesss , i hope too , that this node will be added into the CVS .

Thanks for your nice job Brecht and everybody else for your research :).

Peace :spin:.

0 Likes