Thin Film v1.3 Updated

User avatar
Paul Taylor
Posts: 15
Joined: Fri Nov 11, 2016 5:10 pm

Re: Thin Film v1.3 Updated

Post by Paul Taylor » Thu Oct 26, 2017 6:49 pm

Kudos Martin - thats one epic group and a lot of work
INSYDIUM LTD
http://www.insydium.com

www.facebook.com/Cycles4D/
www.twitter.com/insydium
www.vimeo.com/insydium

PC WIN10 i7-6850K 3.60 GHz 6-Core 64GB 2xGeForce GTX 1080
MacPro OSX Sierra 10.12.5 3.33 GHz 6-Core Intel Xeon 24 GB ATI Radeon HD 5870

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Thu Oct 26, 2017 8:19 pm

Mario Tran Phuc wrote:
Thu Oct 26, 2017 6:06 pm
Priceless work! Big thanks Martin!!!!

You actually forgot to add a screenshot of the Node Group. It looks like the mother of nodegroups! :D.

Would it be fine for you if we add this to the content repository?
Paul Taylor wrote:
Thu Oct 26, 2017 6:49 pm
Kudos Martin - thats one epic group and a lot of work
Thanks Mario, thanks Paul!

Yes please add this to the content repository.
If there will be updates I will run through all groups in this mother of all node groups again :D

Cheers


User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Sat Oct 28, 2017 3:47 pm

Comparison test with a chair from paper.

Chair model:
https://www.blendswap.com/blends/view/67168
Attachments
Chair.jpg
Chair.jpg (373.04 KiB) Viewed 2234 times

User avatar
Mario Tran Phuc
Posts: 158
Joined: Mon Nov 14, 2016 4:03 pm

Re: Thin Film v1.3 Updated

Post by Mario Tran Phuc » Mon Oct 30, 2017 9:37 am

Very nice. Would you mind showing us the node graph? Not really sure how to correctly setup the nodegroup to get such leather.

Thx,

Mario

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Mon Oct 30, 2017 12:39 pm

Mario Tran Phuc wrote:
Mon Oct 30, 2017 9:37 am
Very nice. Would you mind showing us the node graph? Not really sure how to correctly setup the nodegroup to get such leather.

As they say:
"For the leather material on the chair model, we used a thin film of index η2 = 1.3 and thickness d = 290nm,
over a rough dielectric base material (η3 = 1). When the scene is rotated, goniochromatic effects such as subtle
purple colors may be observed at grazing angles."


------
Right, I don't remember what exact setup was but tried again. The setup was very simple.
Sorry had to remove wooden chair parts because of the forum upload limits.

I didn't play much with that leather but you may get better results I believe :)
Attachments
Chair.zip
(1.17 MiB) Downloaded 48 times

User avatar
Mario Tran Phuc
Posts: 158
Joined: Mon Nov 14, 2016 4:03 pm

Re: Thin Film v1.3 Updated

Post by Mario Tran Phuc » Mon Oct 30, 2017 3:06 pm

Ahh, I finally understand the shader setup. Basically you just need to change the Shader 1 and leave the rest as it is. This way you can add the thin film ontop of any kind of material.

So taking into account that in real life a thin film can never be perfectly 290nm thick you can just use a texture to randomise the film thickness as you did with the bubble material.

Here a test using a the principled as shader 1 and adding a bit of poliigon displacement. Left even Thin Film and Right using a texture to randomise the thickness. :)
Leather_test_mtp.jpg
Leather_test_mtp.jpg (533.58 KiB) Viewed 2209 times
Totally amazed by this material workflow. Thanks so much for sharing Martin!

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Mon Oct 30, 2017 6:18 pm

Mario Tran Phuc wrote:
Mon Oct 30, 2017 3:06 pm
So taking into account that in real life a thin film can never be perfectly 290nm thick you can just use a texture to randomise the film thickness as you did with the bubble material.
Thanks Mario!
Yes you are right, the thickness isn't always the same, hard to tell what range of thickness is here.

Check this one.
Attachments
Leather.zip
(1.17 MiB) Downloaded 47 times
Leather.png
Leather.png (613.93 KiB) Viewed 2198 times


User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Tue Oct 31, 2017 3:17 am

Mario Tran Phuc wrote:
Mon Oct 30, 2017 9:23 pm
Smoooth! Great one!
Too smooth, but I'm a bit confused looking at your example.
A minimum value lower than 50, it is so thin that film reflects no light and is often called the black film.
Against the dark background, these areas will be virtually invisible as I understand.
That is kind of normal with bubble, but not in this case with leather I think.
Why you set the minimum value to zero?

My last example:
Attachments
Example.png
Example.png (28.27 KiB) Viewed 2184 times

User avatar
Mario Tran Phuc
Posts: 158
Joined: Mon Nov 14, 2016 4:03 pm

Re: Thin Film v1.3 Updated

Post by Mario Tran Phuc » Tue Oct 31, 2017 12:39 pm

If both min and max are set to 290 i didn´t got any effect with using a texture as thickness input. That´s why I set it to 0.

I didn´t thought about what the nodes physically do more how they behave in relation to each other.

It seems that the thickness color input maps the range between minimum and maximum film thickness.

Setting the minimum to 0 enables the thickness color input to represent the full range from 0 - 290 nm so I was able to input a texture. The gradient that recolored the texture started with a grey into white so I probably used a range between 100 nm - 290 nm (similar to your last example actually).

So I basically used the gradient to set the ranges and to see how they react visually.

Cheers,

Mario

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Tue Oct 31, 2017 1:12 pm

Correct Mario!
I'm curious to see more of your examples using this group.

Cheers

mcha
Posts: 36
Joined: Mon Jul 03, 2017 11:00 am

Re: Thin Film v1.3 Updated

Post by mcha » Thu Nov 02, 2017 11:04 am

Getting some great results using this Martin! Strange how if I render an animation using this shader via Team Render, it doesn't work...

User avatar
Martin
Posts: 545
Joined: Sat Dec 17, 2016 12:03 pm

Re: Thin Film v1.3 Updated

Post by Martin » Thu Nov 02, 2017 11:21 am

Strange and I can't test that, but that's nothing to do with the shader I think.

User avatar
pylik
Posts: 24
Joined: Wed Dec 14, 2016 12:33 pm
Location: Kyiv, Ukraine
Contact:

Re: Thin Film v1.3 Updated

Post by pylik » Thu Nov 09, 2017 12:27 pm

Looks great! Thanks for sharing Martin!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest