Falloff Map like max

Hi,

Coming from max where I used falloff maps in every material (grant warwick style) I am finding recreating these complex materials a rather clunky and non-intuitive process.

How difficult would it be to recreate a falloff map in Maya the same as is already done for Max?

It is extremely fast and useful to have all these controls in one map, especially when creating very complex blend materials where in max I would have falloff maps on eeeeeverything.

Being able to control the falloff type, direction, control with a bezier curve and not just a simple gradient, as well as switch between RGB curves so quickly is very powerful and I think would be a great addition to Vray for Maya.

Thoughts?

-Eric

FWIW I am using the ramp + sampler info method to recreate falloff maps. Let me know if there is a better method please?

I found this script but have been unable to get it working in maya 15.. http://therenderblog.com/custom-fresnel-curves-in-maya-part-2/

V-Ray does include a texture plugin equivalent to the Falloff map in 3ds Max, but there is no UI for it… getting a curve control in Maya is a bit complicated. For the moment, ramp+samplerInfo is the best way to do that.

Best regards,
Vlado

hmmm so someone just needs to make a UI for it? Is there even much request for this? I can’t imagine I’m the only one that would really like this in Maya vray, is everyone really just using the ramp sampler info method? Is this even on the radar for future builds?

Cheers,

Eric

I think it’s come up a few times before…

Best regards,
Vlado

Ramps and samplerInfo works, but it just doesn’t have the amount of control that the curve editor does. I’ve wanted this in Maya for years and I know many others do too.

Actually the only way I managed to do Falloff Map like max curves is as follows :):

I saw a guy using the curves of the graph editor but could not do work very well:

I hope this helps! :stuck_out_tongue:


Meant to get back to you earlier, nice workaround! Thanks for the tip!

thanks doark! very helpful.

still no bezier handles for control though :confused:

maybe next vray build? :slight_smile: :slight_smile:

No, I don’t think so. Maya doesn’t have a Bezier curve control, and I really have no desire to code one - we don’t have any experience with custom Qt widgets, so we will probably make a mess out of it anyways.

Best regards,
Vlado

Bummer, thanks for the heads up though!

Yes, no bézier. But most important is working. I made a curve at Maya and recreated the same curve in the Max Falloff. And worked very well. Here’s the test:

My curve was this: but I did not save the curve of the Max. The only caveat is: the end result is just next to the curves are linear. Since the Maya has no bezier. The trick is to compensate by hand.

Vlado out of curiosity: Would not it have a way to use the implementation of the VFB Curve to control the values of a ramp for example?

Thanks for your attention!




Unfortunately it’s not that easy - they are in very different parts of the code. I’m not saying we won’t ever do it; it could make a nice project for an intern, but it’s a bit low priority.

Best regards,
Vlado

I understand. Well, today I found your OSL Complex Fresnel. And it is working very well and fast. :stuck_out_tongue: So I think for now may be low priority.

Thanks for the shader and response.

nice

how do you wire up the nodes?
i don’t see any shader attributes after creating the texture and wiring up the shader file

To be honest the curve control in Max badly need some love as well so hopefully Autodesk will share a resource on this one so materials can easily be sent back and forth between Max and Maya.

Scene file for testing

HI Vlado,
                  Setting up animated curve with set driven key is easy and gives Bezier curve control inside of Animation graph editor but sadly it does not work with vray when sampler info is attached :frowning: Attaching a scene file for your reference. Funny enough if I just animate the color values it works just fine…
FresnelCurve.zip (25.7 KB)

Hi Vlado,
         the images attached works perfectly with mentalray and maya materials… set driven key method i can send you a demo file if it helps… is it possible to integrate the same in vray that would really help. all we need to do is add a reverse node and it will start working like max curves… end of the day its a curve attached to samplerinfo to get the falloff… also support with basier handles and adding weights to them could be really powerfull.

really want/need this support…

yes the OSL fresnel would help but then it wont get the finer control as the curves in max.. some times it comes down to aesthetics and not physical accuracy… with curves we can tweak and fake things a little to make it pleasing… there is a script out there which does similar thing with cuves but very hard to modify as it adds lots of control points…

I know a lot of people, including myself, that would love to have the functionality of the Max vray power shader falloff maps in Vray for Maya.

The OSL Complex Fresnel shader is great but like sajeelshukla writes, “some times it comes down to aesthetics and not physical accuracy.”

Please make this a priority.

Thank you Chaos Group team!

Ok, will see what can be done about it.

Best regards,
Vlado