Exclude/Include Reflections of objects ... How?

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
  01 January 2010
Question Exclude/Include Reflections of objects ... How?

Hello. We have an issue regarding the reflections of objects reflected into others.
Is it possible to exclude/include reflections between objects like it works between object and lights using the "light linking" tool (but in this case controlling the reflections)?
i.e. I want to keep the reflection of the white plane over the blue cube, though at the same time I would like to get rid of the reflection of the plane in the ground... inside Maya, is it possible???(specially in more complex scenes).



Using Maya 2009. Thanks in advance.
__________________
-Gabriel Chiang-
 
  01 January 2010
Good questions, seems it's not that easy, see this link
__________________
3D Reel, Photography and Blog
 
  01 January 2010
Thanks Morlankey ... it seems there is no easy way to do it.
__________________
-Gabriel Chiang-
 
  01 January 2010
Custom Flags, Dynamic Attribute

Custom flags The Maya transform node does not expose all extended instance flags for mental ray, but they can be controlled via dynamic attributes:

'miReflection' (integer)
'miRefraction' (integer)
'miTransparency' (integer)

The value is an index into predefined flags (bit sets):



  • 0 - cast off, receive off
  • 1 - cast on, receive on
  • 2 - no bit set, inherit
  • 3 - cast on, receive off
  • 4 - cast off, receive on
Create the attributes above by following these examples:

addAttr -ln "miReflection" -at "enum" -enumName "Cast Off Receive Off:Cast On Receive On:Inherit:Cast On Receive Off:Cast Off Receive On" myTransformNodeaddAttr -ln "miRefraction" -at "enum" -enumName "Cast Off Receive Off:Cast On Receive On:Inherit:Cast On Receive Off:Cast Off Receive On" myTransformNodeaddAttr -ln "miTransparency" -at "enum" -enumName "Cast Off Receive Off:Cast On Receive On:Inherit:Cast On Receive Off:Cast Off Receive On" myTransformNode


If any of the reflection and refraction attributes is present, then the standard trace flag is not respected any more.

'miFinalGather' (integer)

This attribute follows the scheme of the existing caustic and globillum standard flags, and supports the following values:

  • 0 - hide on
  • 1 - cast off, receive off
  • 2 - cast on, receive off
  • 3 - cast off, receive on
  • 4 - cast on, receive on
  • 5 - not bit set, inherit
Create this attribute as follows:

addAttr -ln "miFinalGather" -at "enum" -enumName "Hide On:Cast Off Receive Off:Cast On Receive Off:Cast Off Receive On:Cast On Receive On:Inherit" myTransformNode


Run on script editor and change the myTransformnode with the real transform node of your objects.
__________________
www.darioortisi.it
MayAdvanced Blog
My youtube channel
 
  01 January 2010
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 05:07 PM.


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