CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 01-06-2014, 10:20 AM   #1
FerryP
Parttime lurker
 
FerryP's Avatar
portfolio
Ferry Passchier
2D/3D artist
The Hague, Netherlands
 
Join Date: Jul 2009
Posts: 217
DSLR Lens Shader - Maya MR

Does anyone know how to achieve a shader that behaves like the glass from a DSLR lens?
I mean that oily-looking shade that's so typical for lenses.







I did a brief search, but are not finding real answers tho.
This is the only topic I found, but it also doesn't offer a solution :(

http://forums.cgsociety.org/showthread.php?t=759907

Thanks!
__________________
Ferry Passchier [2D/3D Visualizer + Fan Photographer]
Facebook - Twitter - Instagram
^
Most updates here
 
Old 01-06-2014, 11:11 AM   #2
FerryP
Parttime lurker
 
FerryP's Avatar
portfolio
Ferry Passchier
2D/3D artist
The Hague, Netherlands
 
Join Date: Jul 2009
Posts: 217
I know faked it by using a ramp on the reflection, but I would like to have it react like the real thing, so it should change when you look at it from a different direction.

Any tips?

This is what I have now:

__________________
Ferry Passchier [2D/3D Visualizer + Fan Photographer]
Facebook - Twitter - Instagram
^
Most updates here
 
Old 01-06-2014, 02:04 PM   #3
FerryP
Parttime lurker
 
FerryP's Avatar
portfolio
Ferry Passchier
2D/3D artist
The Hague, Netherlands
 
Join Date: Jul 2009
Posts: 217
Solved! I fixed it with an expression:
Code:
camera_00:polyPlanarProj3rotateX = persp.rotateX * 2; camera_00:polyPlanarProj3.rotateY = persp.rotateY * 2;
__________________
Ferry Passchier [2D/3D Visualizer + Fan Photographer]
Facebook - Twitter - Instagram
^
Most updates here
 
Old 01-07-2014, 03:51 PM   #4
Schempp
Know-it-All
portfolio
Eric Schempp
Stockholm, Sweden
 
Join Date: Dec 2011
Posts: 323
If you are using vray you can checkout the dispersion attribute on the shader.
__________________
Voxels for dinner.
_____________
http://esvfx.wordpress.com/ maya vfx blog
 
Old 01-07-2014, 03:51 PM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:56 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.