Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 10-04-2008, 02:35 PM   #1
JNN
Registered User
 
Join Date: Apr 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Drawing a fresnel falloff / ramp?

If anyone has used 3ds Max, you know that a fresnel falloff can be drawn by playing with bezier points on an actual 0-1 curve.

In maya I have been piping a spot info node (facing ratio) into a ramp...and the ramp then dictates the fresnel falloff. My question is - is there a way in maya to make this curve with beziers rather than with a ramp more like a falloff in max? I like to make my own fresnel falloffs and it makes more sense to me to be able to actually see the curve in profile and weight it with beziers rather than using a ramp...

-John
JNN is offline   Reply With Quote
Old 14-04-2008, 03:09 AM   #2
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

why dont you use the fresnel shader?

dumb question i know..
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 16-04-2008, 02:04 AM   #3
JNN
Registered User
 
Join Date: Apr 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Because when art directing the fresnel on, say, car paint - one needs to be able to have complete control over the incidence angle falloff. Although the default fresnel is a "mathematical" fresnel, our research shows that many car paints have a curve that is MUCH steeper and more weighted. By drawing a curve in profile it is much easier to get that photoreal look and tweak it to match reference.

I found a script that will tie the frensel to points in the graph editor to draw it there...but unfortunately it isn't supported by our renderer of choice

-John
JNN is offline   Reply With Quote
Old 16-04-2008, 05:55 AM   #4
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

I understand. this makes sense ofc.

I thought about a workaround. if it is only for visualization purpose to get a feeling for the curve you could try this ->


open Hypergraph - crate a hightField from the maya general utilities. take a simple ramp texture make it black and white and map the texture into the heightField´s Displacement channel. increase the heightField´s Resolution untill you get a smooth curve. I also set the ramp Interpolation to smooth, but you can play with the settings. you should pretty fast end up with something like this. see pics.

now you can tweak the ramp till your heart´s content. the hightField in viewport shows a direct representation of your b/w rampTexture. it´s no bezier curve I know, but it helps to get a better feeling of the ramp texture.
Attached Thumbnails
 
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote
Old 16-04-2008, 07:08 AM   #5
JNN
Registered User
 
Join Date: Apr 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great idea! Now I can "see" my curve! Thanks for your input!
JNN is offline   Reply With Quote
Old 16-04-2008, 07:10 AM   #6
Falott
Registered User
 
Falott's Avatar
 
Join Date: Jan 2005
Location: vienna
Posts: 1,095
Thanks: 3
Thanked 20 Times in 18 Posts
Default

you´re welcome!
__________________
everything starts and ends in the right place at the right time.
Falott is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.