Announcement

Collapse
No announcement yet.

"vrayrenderinfo" not found when importing pyCallbacks.py ?

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

  • "vrayrenderinfo" not found when importing pyCallbacks.py ?

    hi,

    I want to take use of the functionality that maybe provided by pyCallbacks.py (in VRay_Install_Path/maya_vray/scripts/vray) but i got error when importing this module:
    Code:
    from vray import pyCallbacks
    A error message occur:
    Code:
    Error: line 1446: No module named VismatPythonBridge
    I try to find it around but got nothing, where is this module located ?

    Thanks.

  • #2
    Why do you want to import this file in the first place?
    It is part of the VRMat editor and it seems we've forgotten to remove it from the installation of V-Ray for Maya on Windows.
    V-Ray developer

    Comment


    • #3
      hi,

      I want to find the corresponding command (i.e. callbacks) invoked by tools (such as saves all the render elements into separate files) in Vray Frame Buffer window. Do pyCallbacks module contain these functions ? If not, where can i get them ?

      Thanks.

      Comment


      • #4
        Nope, pyCallbacks doesn't contains stuff related to the VFB.

        Can you tell us what do you want to achieve? If we know we could probably think of a way to do it.
        V-Ray developer

        Comment


        • #5
          What i want to know about is whether there's python call relation to the "save file operation" in VFB since now we have to make a tool that perform automatically save after rendering finish in VFB (I know this is a somewhat crurious request), thanks.

          Comment


          • #6
            You can use a combination post render frame callback (Render Settings -> VRay common -> MEL/Python callbacks -> Post Render Frame MEL) and the vray vfbControl command.
            See here http://docs.chaosgroup.com/display/V...ogrammatically for some more details.
            V-Ray developer

            Comment


            • #7
              hi,

              I don't see any flag that equivalent to the operation of "save all channels to one image" (just "vray vfbControl -saveallimages" that equivalent to save each channel as different image). Does "vray vfbControl" provide the flag mentioned above ?

              Thanks

              Comment


              • #8
                Try using this:

                Code:
                vray vfbControl -savemultiimage "output_path/filename.exr";
                I think we need to edit the help message, it's not clear enough.
                Alex Yolov
                Product Manager
                V-Ray for Maya, Chaos Player
                www.chaos.com

                Comment

                Working...
                X