Announcement

Collapse
No announcement yet.

Building a simple material switch

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Building a simple material switch

    Hey guys,

    we are trying to build a material-switchnode inside maya, were we have for example 10 slots where we can connect different VRayMtls and then have another integer-field where we can choose which slot gets passed to the shadingEngine.

    I saw that somewhere already and i know that it didn't involve a lot of coding but i don't really remember how it was done...

    Any hints?

    thx
    Oliver
    OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

  • #2
    Risking saying that (as its buggy) Did you try maya native switch node?
    CGI - Freelancer - Available for work

    www.dariuszmakowski.com - come and look

    Comment


    • #3
      Originally posted by DADAL View Post
      Risking saying that (as its buggy) Did you try maya native switch node?
      Do you mean the triple switch? If yes, then this is not the behaviour we need....

      We just need a node where we can cycle through materials based on an interger that defines the materialslot we need. we don't want to switch materials on different shapes!
      OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

      Comment


      • #4
        This has actually been requested by some users so we'll see. We already have a V-Ray material for it (MtlMulti), we just need the UI...

        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment


        • #5
          Have u try this maybe ?

          http://www.djx.com.au/blog/2009/06/0...ngleswitchmel/

          Not sure if it does what you need. Its suggestion from my friend.

          thanks, bye.
          CGI - Freelancer - Available for work

          www.dariuszmakowski.com - come and look

          Comment


          • #6
            That's way too complicated for something so simple

            Best regards,
            Vlado
            I only act like I know everything, Rogers.

            Comment

            Working...
            X