Announcement

Collapse
No announcement yet.

Trace sets question

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

  • Trace sets question

    Sorry I don't really know where to post this since it may not be a problem but a misunderstanding from my behalf...

    I am doing a script do edit "en masse" rendering properties for objects and lights and bumped into something weird:
    if I try to reflection or refraction exclude object A from B, and then B from A, maxscript send an error for "assignment failed, POSSIBLE dependency loop".
    First I find it funny that it isn't sure... second I don't get why it could lead to a problem... and third I was really surprised to see the if I use VRay properties panel it is actually impossible without any message.

    Can you help me understand?

  • #2
    It's the way references in 3ds Max work (you can't have object A depend on B, and B depend on A); it can probably be reworked to use weak references or something...

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

    Comment


    • #3
      I think I usually get what the circular dependencies problems are but for this I don't... it's like two objects simply not seeing each other, what is circular or dependent??
      Anyway it is probably not a deal breaker for rendering, I don't think it can be useful it is just generating an error in my script but I temporary solved it with try and catch...
      Just curious to understand better...

      Comment


      • #4
        how do you control the history and correction control windows (visible or not) with maxscript?
        Trying to have "clean" vfb on the farm...
        Can't find it in the vfbControl()...

        Regards
        Last edited by gregvfx; 09-05-2016, 05:25 AM.

        Comment


        • #5
          Maxscript Clear Image command
          Code:
          vfbControl #clearimage
          The following MaxScript commands could be used to change the status of the color corrections:
          vfbControl #exposure|#whitebalance|#huesat|#colorbalance|#lev els|#curve|#bkgr|#lut|#ocio|#icc|#srgb <BOOLEAN> for example:

          Turn Exposure ON:
          Code:
          vfbControl #exposure true
          Turn Exposure OFF:
          Code:
          vfbControl #exposure false
          What would you like to control about the history?
          Svetlozar Draganov | Senior Manager 3D Support | contact us
          Chaos & Enscape & Cylindo are now one!

          Comment


          • #6
            Thank you.
            What I am looking for is a way to close the windows/panels of both history and color correction of the vfb. I am monitoring the render farm with vlc, small screen space, and it is just not very elegant to have the vfb opened with the panels taking more space than the image itself. I am writing a script that send to the farm while overriding certain VRay parameters like where to write and color threshold and I want to have a neat vfb.

            Comment


            • #7
              I'm not sure if the panel visibility could be controlled via MaxScript but I'll request some assistance from our Developers and will update you afterwards.
              Svetlozar Draganov | Senior Manager 3D Support | contact us
              Chaos & Enscape & Cylindo are now one!

              Comment


              • #8
                It seems that currently it is not possible to show/hide history and color corrections panels via maxscript but I got confirmation that this feature will be available in future builds.
                Svetlozar Draganov | Senior Manager 3D Support | contact us
                Chaos & Enscape & Cylindo are now one!

                Comment


                • #9
                  Ok, that is not a matter of life and death...
                  is there a dedicated forum for help in maxscript? I am struggling to learn it on my own with the very difficult to understand autodesk help files...

                  Comment


                  • #10
                    You can check ScriptSpot community here: http://www.scriptspot.com/
                    A very good introduction to maxscript dvd could be watched for free here: https://vimeo.com/album/1514565
                    Svetlozar Draganov | Senior Manager 3D Support | contact us
                    Chaos & Enscape & Cylindo are now one!

                    Comment

                    Working...
                    X