Author Topic: Fancy Metals and stuff Tutorial >>>  (Read 7637 times)

2017-12-19, 18:47:15

Shawn Astrom

  • Active Users
  • **
  • Posts: 244
    • View Profile

Hey everyone, I just wanted to share a little tutorial I made with everyone here on the forums:

t=353s

Pretty cool little plugin: http://graphos.xyz/Products/

This is one way I figured out how to get https://refractiveindex.info/ into Corona.

Maybe there might be another way? Would love to see if any other Corona users have any ideas.

Thanks, people.

- Shawn

2017-12-20, 00:25:22
Reply #1

Ealexander

  • Active Users
  • **
  • Posts: 170
    • View Profile
    • evan alexander
Thanks Shawn - lots of good info here.

e.

2017-12-20, 17:12:02
Reply #2

Studio Heisenberg

  • Active Users
  • **
  • Posts: 67
  • Let's cook
    • View Profile
Hi,

As we discussed on you tube, here is my result on this subject using falloff, I put it all in diffuse channel just for visualisation purpose... Funny is that I have yesterday completed tutorial for my patreon page on this subject :)

2017-12-20, 17:24:13
Reply #3

Shawn Astrom

  • Active Users
  • **
  • Posts: 244
    • View Profile

Awesome! Thanks so much, yeah I felt like the fresnel mapping was a bit off for sure...

- Shawn

2017-12-20, 17:29:33
Reply #4

Studio Heisenberg

  • Active Users
  • **
  • Posts: 67
  • Let's cook
    • View Profile
No problem, I had struggle with this also until I played with falloff where I found most simillar way to 3ds max falloff which is at the moment the only thing I miss in Cinema 4D...

2017-12-20, 18:26:52
Reply #5

Shawn Astrom

  • Active Users
  • **
  • Posts: 244
    • View Profile

Thanks again for the tip! I made an updated tutorial using the Falloff shader!
Yeah it would be great if Cinema had a falloff shader with separate RGB channels!

- Shawn

2017-12-21, 07:57:05
Reply #6

Gruender

  • Active Users
  • **
  • Posts: 109
    • View Profile
What I figured out is that the Falloff doesn't work as you expect it. It is not a falloff that looks at the view angle of the normal, it is more of a depth (if you use camera with z-direction).
Fresnel is the correct way to do it.
Set the gradient to linear and put the fresnel shader inside a filter and in there you can activate curves and voila, RGB channels can be set with that plugin or manually.
Don't flip the curves, you reverse the fresnel effect in that case.

Cheers...

2017-12-21, 11:44:25
Reply #7

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1251
    • View Profile
    • My personal website
What I figured out is that the Falloff doesn't work as you expect it. It is not a falloff that looks at the view angle of the normal, it is more of a depth (if you use camera with z-direction).
Fresnel is the correct way to do it.
Set the gradient to linear and put the fresnel shader inside a filter and in there you can activate curves and voila, RGB channels can be set with that plugin or manually.
Don't flip the curves, you reverse the fresnel effect in that case.

Cheers...

Indeed, falloff in c4d =/= to the falloff in 3ds Max. Fresnel does seem to be better suited for the job.
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2017-12-21, 13:48:11
Reply #8

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
I'd also go with fresnel.
Since the fall-off shader takes the whole object into account, everything after 50% of the gradient won't be visible since it's going to be projected onto the objects back-side.(z-camera view)
However, it might be useful for non-opaque materials.

Edit: Since we're already on the topic of fancy materials, what about the thin-film shader?
I know it's mainly used for coatings, oil, iridescent mats etc. But could it play a role in this? Could it be abused instead of the fresnel shader to take the job?(given the right values&expressions)
« Last Edit: 2017-12-21, 14:46:46 by Eddoron »

2017-12-21, 18:18:21
Reply #9

Shawn Astrom

  • Active Users
  • **
  • Posts: 244
    • View Profile
This is all great stuff and great ideas! I'm gonna have another play around and I might try and test these methods and compare them with other engines that have these features built-in. See if we can't come up with the "correct" way of doing this with Corona in C4D...

Maybe the developers can chime in as well on this topic? Do they plan on implementing this ability (without plugins) to have separate falloffs, facing ratio, Fresnel or whatever... for each color spectrum?

- Shawn

2017-12-21, 20:39:08
Reply #10

Studio Heisenberg

  • Active Users
  • **
  • Posts: 67
  • Let's cook
    • View Profile
I already talked about them about it and at the moment it is not in plans cause probably other stuff are more important, and as they said they need to make changes in corona core to make this happen. So I guess we will have to stick to these options we have atm :)

2017-12-21, 23:34:06
Reply #11

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1251
    • View Profile
    • My personal website
Well for the most part this workflow is very specific and not a lot of users are going to go down this path... Even in 3ds Max you don't see that many people using this approach.

My guess is that there are other more fundamental things that are wrong in our renders than a perfect fresnel curve. Just guessing :) Its nice to see you guys are trying to mimick the workflow in c4d though! The more we get the better!
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2017-12-22, 00:17:59
Reply #12

Eddoron

  • Active Users
  • **
  • Posts: 552
  • Achieved Pedestrian
    • View Profile
Well, we are a bunch of people obsessed with details. ;)

2017-12-22, 16:51:25
Reply #13

burnin

  • Active Users
  • **
  • Posts: 1537
    • View Profile
... or simply in love with reality & truth a.k.a. philosophers ;)

2017-12-22, 17:05:06
Reply #14

Shawn Astrom

  • Active Users
  • **
  • Posts: 244
    • View Profile
Yeah, I just feel like there's certain gratification in knowing the correct way to do something and knowing that you have not made any mistakes. Also it's pretty cool to be able to look up scientific data and apply it to non-scientific art form :)

- Shawn