It is currently 20 Jun 2013, 06:17

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: MR Index of Refraction Facing ratio
PostPosted: 07 Aug 2012, 18:26 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
Hey guys, i have a problem which is bugging me since a lot now..

I need to blend different shaders one on top of each other, creating complex effects and texturing, the problem is i've noticed both mr and vray in 3ds max have the ability to use the blending mode with a fresnel fallof, based on index of refraction, which makes the shading be physically correct related to the IOR and the actual material you are creating.

Now i've banged my head on the wall for the past 2 hours tryin to replicate this thing inside Softimage without any success. Here is the thing, to do the fresnel effect i would use the Incidence node, but this node has nothing to do and its not driven by the index of refraction, its more "artistic" oriented tool, you move the sliders and the fresnel effect changes as you like it. But again its not that correct.

So what i thought was.. ok lets see if mental has some IOR node i could use, with my big surprise i typed "index" in the search toolbox in render tree and a mib_refraction_index popped out.
I tried to use this node and set the IOR here to drive the incidence but again i cannot be sure this is the correct way to do so. The results are quite different from the 3ds max "Fresnel" texture at same IOR values.

Here are couple of screens to illustrate what i mean. This is the normal setup in softimage where you have the incidence controlling the blend between the 2 shaders, again this has nothing to do with IOR and the fresnel effect its not controlled by that. The Incidence is set to surface/camera standard.

Image

Here is a screen of 3ds max with the option to drive the fresnel effect based on a IOR.

Image

Basically, how can i have the fresnel effect driven by the IOR in Softimage? This is vital to create some realistic materials to me.

Thanks, Max


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 07 Aug 2012, 19:14 
Offline

Joined: 03 May 2011, 14:38
Posts: 52
Did you use the dielectric shader ? it have both reflection and refraction output IOR.


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 07 Aug 2012, 19:33 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
Fer wrote:
Did you use the dielectric shader ? it have both reflection and refraction output IOR.


I'm not sure what should i do with this shader, the Dielectric has just 1 output, i cant find the IOR output as you said, but even if it has where should i plug it into?


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 07 Aug 2012, 20:44 
Offline

Joined: 03 May 2011, 14:38
Posts: 52
in the weight of a mix 2colors, choose "output reflection energy" in the Dielectric shader and insert an IOR in index of refraction slot. I think the reflection energy is an intensity multiplier or a bias ?

edit: or a gradient mixer :-B


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 08 Aug 2012, 23:27 
Offline

Joined: 11 Apr 2011, 12:27
Posts: 38
another option you may want to use is the mia_multioutput material and use the refra_level output.
Set your IOR and done.


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 09 Aug 2012, 00:51 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
Saturn wrote:
another option you may want to use is the mia_multioutput material and use the refra_level output.
Set your IOR and done.


Hmmm i tried both architectural_multi-out and mia_material_x refr_level but it doesnt work for some reason, the dielectric does.
Bit confused


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 09 Aug 2012, 11:53 
Offline

Joined: 11 Apr 2011, 12:27
Posts: 38
what isn't working ?

If you plug it to the surface slot of your material do you see anything ?


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 09 Aug 2012, 13:48 
Offline

Joined: 03 May 2011, 14:38
Posts: 52
You should crank up the reflectivity or the refraction at 1.


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 09 Aug 2012, 15:59 
Offline
User avatar

Joined: 09 Jun 2009, 15:45
Posts: 817
I rather use the dielectric, i am tryin mia material_x and this is what happens:
set refraction to 1, plug the refr_level output to the weight of the mix2 colors (or even surface of the material). When then i play with IOR the effect doesnt change while it does with dielectric.
So something is missing.


Top
 Profile  
 
 Post subject: Re: MR Index of Refraction Facing ratio
PostPosted: 09 Aug 2012, 18:48 
Offline

Joined: 03 May 2011, 14:38
Posts: 52
Did you check default IOF on ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group