Go Back   3D-Palace Community Forums > Application Specific and Hardware Subforums > 3DS MAX FORUM
» Log in
User Name Not a member yet?
Register Now!
Password
Post New Thread Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-31-2008, 05:10 PM
'lectric eye's Avatar
Polygon fancier
Posts quite a lot
 
Join Date: Aug 2008
Location: London
Posts: 130
'lectric eye smells faintly of something similar to wee
mental ray Mist (Lume) Shader

Hi all, I hope you had a good xmas and are tightly clutching your party poppers in anticipation of 12 midnight tonight... unless you're Down Under, I think it's already 2009 there. ANYWAY, I'm having trouble using the Mist shader in mental ray. I'm trying to set it up so that close up to the camera the air is clear, and further away the mist is dense.

In my scene the Y axis is the forward/back axis, so after putting a Mist shader material as the "Volume" camera shader map in the Renderer tab on the render scene dialog, I've checked the layering and realistic falloff options and entered the falloff distances, and then entered 1 in the middle "Plane Normal" box and 0 in the other two, as this should be the Y axis. However I seem to get a lot of mist right up close to the camera no matter how much I play with the values.

I think the problem is that the mist always starts at the camera's position and thins out away from the camera along the normal you give it, as when I enter 1 in the X Plane Normal box, the mist starts on the ground and thins out up the screen. Does anyone know if you can invert the values somehow to get the opposite effect? I tried entering -1 into Plane normal but this doesn't seem to change anything.
__________________
http://www.tombrownonline.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-06-2009, 09:56 AM
jasonmclaren's Avatar
Soft Office Chair
3d Stalker. I can see you.
 
Join Date: Jan 2007
Location: New Zealand
Posts: 72
jasonmclaren smells faintly of something similar to wee
Go into Max's help and search for "Mist Lume". Scroll down a ways and click on the Mist shader. This will bring up another help with the details of the shader. According to the documentation the only control you have over the fog with "Realistic Falloff" is the overall density of the fog.

Just from reading the help and not trying it myself I would try the "Custom Falloff" option and adjust the falloff curve yourself. In theory this should give you the control you need to get the effect you want.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 01-08-2009, 05:24 PM
'lectric eye's Avatar
Polygon fancier
Posts quite a lot
 
Join Date: Aug 2008
Location: London
Posts: 130
'lectric eye smells faintly of something similar to wee
Thanks for that, I didn't notice that entry in the help file the first time I searched it. I kicked myself when I found out the way to change the direction of the mist - You're meant to enter an angle in degrees into the plane normal input box. Makes sense as it's a normal. I entered 90 and the mist falloff direction changed from down-up to forward-back.
__________________
http://www.tombrownonline.co.uk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 01-09-2009, 03:42 AM
jasonmclaren's Avatar
Soft Office Chair
3d Stalker. I can see you.
 
Join Date: Jan 2007
Location: New Zealand
Posts: 72
jasonmclaren smells faintly of something similar to wee
Good stuff. Some options in other shaders expect a value between 0 and 1. Can be a pain when you forget which ones.

Cheers :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Post New Thread Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Online Users: 48
4 members and 44 guests
fatefulgravy, Lighthead, peterv, yamanmax
Most users ever online was 508, 12-19-2009 at 06:41 PM.
» Today's Birthdays
None
Powered by vBadvanced CMPS v3.2.2
Links Legal Notes Disclaimer

Valid CSS!
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
3d-Palace
CGShop 3d-Palace.com
3D-Palace Video Tutorials are supplied to you to download and watch for your own personal use only. Duplication whole or in part is illegal without express permission of 3d-palace International Training. Do not post 3d-palace tutorails to fileshare sites or torrents please..
Email 3D-Palace International Training for clarification or permission.