Thin Film v1.3 Updated

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

Thin Film v1.3 Updated

Post by Martin » Wed Oct 04, 2017 12:26 am

Here you go, this spaghetti monster Thin Film has finally arrived!
Update 1.3 - Internal IOR fix.

Bacterius, the developer of the Thin Film shader has helped pixelgrip (Blender Artists) rebuild the code in Blender Cycles.
https://www.gamedev.net/articles/progra ... ics-r2962/

I've reproduced it in Cycles 4D.

Cheers


https://www.youtube.com/watch?time_cont ... V6GwcIcSzU
----
Attachments
Soap Bubble.c4d
(574.37 KiB) Downloaded 225 times
Thin Film 1.3.cyg
(447.53 KiB) Downloaded 171 times
Soap Bubble.png
Soap Bubble.png (941.83 KiB) Viewed 1850 times
Last edited by Martin on Tue Oct 24, 2017 9:47 pm, edited 12 times in total.

heyBear
Posts: 180
Joined: Sun Nov 27, 2016 10:54 pm

Re: Thin Film Shader

Post by heyBear » Wed Oct 04, 2017 1:29 am

Holy shit so C4d shader to Cycles back to Cycles 4d? Nice round trip there! That's one hell of a node. Boggles my mind to try to pick that apart.

EDIT - also, thank you! Lots of awesome contributions Martin.

User avatar
Brandroid
Posts: 168
Joined: Thu Feb 23, 2017 8:48 pm

Re: Thin Film Shader

Post by Brandroid » Fri Oct 06, 2017 7:55 pm

Martin, this looks fantastic! Looking forward to trying it out. Thanks for sharing!
Martin Wall wrote:
Wed Oct 04, 2017 12:26 am
Here you go, this spaghetti monster Thin Film shader has finally arrived!

Bacterius, the developer of the Thin Film shader has helped pixelgrip (Blender Artists) rebuild the code in Cycles.
https://www.gamedev.net/articles/progra ... ics-r2962/

I've reproduced it in Cycles 4D, it is by far the most accurate TF I've played.

Cheers

https://www.youtube.com/watch?time_cont ... V6GwcIcSzU
----

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

Re: Thin Film v1.2 Updated

Post by Martin » Sat Oct 07, 2017 4:48 pm

Thanks, try fixed version v1.2.

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

Re: Thin Film v1.2 Updated

Post by Martin » Tue Oct 10, 2017 10:50 pm

More examples of a soap bubble.
Use it for car paints, oil slicks, soap bubbles, optics etc.
Attachments
SoapBubble01.png
SoapBubble01.png (677.79 KiB) Viewed 1896 times
SoapBubble02.png
SoapBubble02.png (689.73 KiB) Viewed 1896 times
SoapBubble03.png
SoapBubble03.png (676.44 KiB) Viewed 1896 times
Last edited by Martin on Sat Oct 14, 2017 12:45 am, edited 1 time in total.

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

Re: Thin Film v1.3 Updated

Post by Martin » Sat Oct 14, 2017 12:09 am

Uploaded Thin Film v1.3 - Internal IOR fix.

heyBear
Posts: 180
Joined: Sun Nov 27, 2016 10:54 pm

Re: Thin Film v1.3 Updated

Post by heyBear » Sat Oct 14, 2017 12:45 am

Thanks!

User avatar
Brandroid
Posts: 168
Joined: Thu Feb 23, 2017 8:48 pm

Re: Thin Film v1.3 Updated

Post by Brandroid » Mon Oct 23, 2017 4:15 pm

Loving this. Thanks Martin!
cycles-thin film crab.png
cycles-thin film crab.png (320.21 KiB) Viewed 1827 times

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

Re: Thin Film v1.3 Updated

Post by Martin » Mon Oct 23, 2017 6:36 pm

Brandroid wrote:
Mon Oct 23, 2017 4:15 pm
Loving this. Thanks Martin!
Have no idea how to do car renders, but this shader is great!
Attachments
Car1.jpg
Car1.jpg (117.18 KiB) Viewed 1813 times
Car2.jpg
Car2.jpg (105.06 KiB) Viewed 1813 times
Car3.jpg
Car3.jpg (108.15 KiB) Viewed 1813 times

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

Re: Thin Film v1.3 Updated

Post by Martin » Mon Oct 23, 2017 11:47 pm

Pixelgrip did some comparison tests in Blender using this reference paper:
https://belcour.github.io/blog/research ... -film.html

So did I.

Cheers
------------------------------
Attachments
pixelgrip.jpg
pixelgrip.jpg (122.58 KiB) Viewed 1806 times
pixelgrip2.jpg
pixelgrip2.jpg (162.93 KiB) Viewed 1806 times
Test.jpg
Test.jpg (1.43 MiB) Viewed 1806 times

User avatar
Brandroid
Posts: 168
Joined: Thu Feb 23, 2017 8:48 pm

Re: Thin Film v1.3 Updated

Post by Brandroid » Tue Oct 24, 2017 3:20 pm

Nice renders Martin. Where exactly do these numbers punch into your shader group? I can't seem to replicate the range of differences that you're showing here.
Martin Wall wrote:
Mon Oct 23, 2017 11:47 pm
Pixelgrip did some comparison tests in Blender using this reference paper:
https://belcour.github.io/blog/research ... -film.html

So did I.

Cheers
------------------------------

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

Re: Thin Film v1.3 Updated

Post by Martin » Tue Oct 24, 2017 6:21 pm

Brandroid wrote:
Tue Oct 24, 2017 3:20 pm
Where exactly do these numbers punch into your shader group?
Attachments
Capture.PNG
Capture.PNG (38.62 KiB) Viewed 1782 times
example.png
example.png (101.43 KiB) Viewed 1782 times

User avatar
Brandroid
Posts: 168
Joined: Thu Feb 23, 2017 8:48 pm

Re: Thin Film v1.3 Updated

Post by Brandroid » Tue Oct 24, 2017 9:27 pm

Excellent. Thanks for the clarity!

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

Re: Thin Film v1.3 Updated

Post by Martin » Tue Oct 24, 2017 9:54 pm

Brandroid wrote:
Tue Oct 24, 2017 9:27 pm
Excellent. Thanks for the clarity!
Some typical indices of refraction of real materials are:
n = 1.000 – Vacuum
n = 1.003 – Air
n = 1.33 – Water
n = 1.44 – Oil
n = 1.50 – Glass

For example soap bubble:

n1 (air outside) = 1.003
n2 (solution of soap in water) = 1.33
n3 (air inside) = 1.003

Lambdas (you can slightly amend these values)
Wavelength of Red Light : The red light of the visible spectrum has a wavelength of about 650 nm.
Wavelength of Green Light : The green light has a wavelength of about 510 nm.
Wavelength of Blue Light : The blue light which we see has a wavelength of about 475 nm.
Attachments
wavelength-visible-light-graph.jpg
wavelength-visible-light-graph.jpg (173.68 KiB) Viewed 1702 times
Last edited by Martin on Sun Oct 29, 2017 6:27 pm, edited 6 times in total.

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 » 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?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest