Announcement

Collapse
No announcement yet.

Overide material per XREF scene

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

  • Overide material per XREF scene

    We use override with/without exceptions quite regularly. It would be very useful to have more control over which XREF scenes have things overriden - for instance, we seperate our buildings and our buildings glass into seperate XREFs:

    Building01.max
    Building01_glass.max
    Building02.max
    Building02_glass.max
    etc

    It would be nice to tell all Buildingxx.max XREFs to have a pure black material applied to them, but not affect all the Buildingxx_glass.max XREFs
    Kind Regards,
    Richard Birket
    ----------------------------------->
    http://www.blinkimage.com

    ----------------------------------->

  • #2
    This is completely possible with maxscript but depending on how you wish to render the files the setup can vary. I can explain how this can be done if you have some knowledge of maxscript.
    Last edited by Mr-JosE; 16-03-2009, 06:13 PM. Reason: Asking for maxscript knowledge.
    José Olivares-Hatch

    Miller Hare

    Comment


    • #3
      some good info here http://www.chaosgroup.com/forums/vbu...ighlight=xrefs
      Eric Boer
      Dev

      Comment


      • #4
        Originally posted by RErender View Post
        Some good stuff in that thread. Its worth checking out.
        José Olivares-Hatch

        Miller Hare

        Comment


        • #5
          Yeah I started that thread for the exact reason. The finished script is nice, I must admit I've not used it for a little while, and I did find a small issue with animations, but its a very cool tool, and you should def try it out.

          Mark

          Comment


          • #6
            Thanks all - I will check out the suggested thread. I must ashamedly admit, my knowledge of Maxscript is none-existant. I rely on forums, Scriptspot and helpful individuals to get me by.
            Kind Regards,
            Richard Birket
            ----------------------------------->
            http://www.blinkimage.com

            ----------------------------------->

            Comment


            • #7
              If you need help with this tricky, let me know. That script works, but isn't quite finished, still beta. I must admit it's a bit painful to do, but it does work
              Colin Senner

              Comment


              • #8
                Tricky? In the other thread it seems like it's being used in production by some without any hiccups. I still do want to improve it, and now that vlado gave us access to the Override Material ExcludeList, it will be very easy to change to code to accomodate! This is a much better solution as the script won't need to iterate over every object and actually change properties. I'll update the code if there's any problems, but it works just fine (It also works with Netrendering) and xrefs!
                Colin Senner

                Comment


                • #9
                  Sorry Colin - I wasn't ignoring your kind offer. Things are rather manic here and we're juggling quite a few jobs. I'll look through it when I get a chance.
                  Kind Regards,
                  Richard Birket
                  ----------------------------------->
                  http://www.blinkimage.com

                  ----------------------------------->

                  Comment


                  • #10
                    Sounds good Colin, Im also damn busy, but will test more when possible.

                    Thanks

                    Comment

                    Working...
                    X