Announcement

Collapse
No announcement yet.

vray script cmd problems

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

  • vray script cmd problems

    hi

    the switch for
    setAttr "defaultRenderGlobals.animation" 1;
    is in the vray common rendersettings tab

    I wonder if I can switch
    cmds.setAttr("vraySettings.animation", 1)
    in Maya/Vray GUI somehow ? I find no option in the GUI to do so

    andre
    __________________________________
    - moste powerfull Render farm in world -
    RebusFarm --> 1450 nodes ! --> 2.900 CPU !! --> 20.000 cores !!!
    just 2,9 to 1.2 cent per GHZ hour --> www.rebusfarm.net

  • #2
    make a shelf button?

    cmds.setAttr is python so you'll need this line before:
    import maya.cmds as cmds
    cmds.setAttr("vraySettings.animation", 1)
    showreel: http://vimeo.com/27236919

    Comment


    • #3
      I think V-Ray will take the value from the Maya default render globals (we had issues otherwise).

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

      Comment


      • #4
        and thats the matter i have
        I enable in GUI the Animation switch
        setAttr "defaultRenderGlobals.animation" 1;
        but sometimes
        vraySettings.animation
        return me 0

        I notice a similar mismatch for
        cmds.getAttr("vraySettings.endFrame")
        GUI setup is 1900 but it return 0

        i can not reproduce it all time and find no logic

        maya 2011 x64 vraySP1
        Last edited by QuakeMarine1; 16-11-2010, 08:51 AM.
        __________________________________
        - moste powerfull Render farm in world -
        RebusFarm --> 1450 nodes ! --> 2.900 CPU !! --> 20.000 cores !!!
        just 2,9 to 1.2 cent per GHZ hour --> www.rebusfarm.net

        Comment


        • #5
          Actually these (and some others) attributes of vraySettings are not used anymore, the values are taken from the corresponding Maya attributes directly. The vraySettings ones are still present just so we can avoid warnings/errors with loading of older scenes.
          I guess we should make a note for the ones that are not currently used (the last of the group is vraySettings.batchCamera) to avoid that misunderstanding.
          Sorry for the inconvenience.
          V-Ray for Maya developer

          Comment

          Working...
          X