Mental Ray- Problem keying visibility

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2006   #1
Mental Ray- Problem keying visibility (HELP!!)

Hi, I am trying to key the vsibility on some objects on and off and then render it. . It works fine in the playplast and frame render but when I mental ray batch it, it doesn't work right. It seems that nothing that is already on screen at frame 1 can dissappear, and nothing that appears after frame 1 has a texture. Is there a way to tell mental ray to think about these things on every frame?

Playblast

Batch Render

Thanks for any advice!

Last edited by AloeDesign : 03 March 2006 at 03:41 PM.
 
Old 03 March 2006   #2
ok, I found this thread, which suggests turning off "Optimize non-animated display visibility" but that seems to just make everything visible no matter what.. I will continue to experiment..
 
Old 03 March 2006   #3
hi again, here is the answer. I found it buried in this thread.

the settings that work for me, are to
key the "mi visibility" rather than the regular visibility.
Then to set the mental ray render settings, under

translation->performance->
turn off optimize non-animated visibility,
turn off optimize animation detection


Then, each shape node has a checkbox-
Mental Ray-> Flags-> Derive from Maya
You must uncheck this for each object with keyed visibility.



In fact, I had done a bunch of set driven keys to animate the visibility, and was able to simply link those animation curve output nodes to the mivisibility attribute also. (they were already linked to the regular visibility attribute) This allows me to have it work both in the working view and in the batch render. Hope this helps some people out.

Last edited by AloeDesign : 03 March 2006 at 09:03 PM.
 
Old 03 March 2006   #4
sweet, thanks...
 
Old 03 March 2006   #5
one obnoxious caveat- if you have invisible obejcts that happen to intersect with visible objects, the invisibles' textures may get projected onto the visible geometry.
 
Old 03 March 2006   #6
I believe it is also necessary, if the keyed visibility is visible in reflections, to also key the miTrace function in.
 
Old 03 March 2006   #7
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



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 04:06 AM.


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