Announcement

Collapse
No announcement yet.

Vray and alfred (linux)

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

  • Vray and alfred (linux)

    Hello we are trying to render with vray and alfred on the renderfarm. We can render with mentalray and alfred without problems.
    But for some reason it doesn't work with vray. It gives messages that it cannot find the vray environment variables.
    Strange thing is that the environment variables are working on the computers with vray installed. If I send render commands manually on the computers local then it renders but for some reason it doesn't work if alfred send the same command.
    Does someone has any experience with this?

  • #2
    the problem can also be licensing...
    Vray starts with a registry problem:

    [2011/Oct/12|18:35:12] V-Ray error: Could not register VRayGeoSun (kFailure): Unexpected Internal Failure
    registerTransform failed: (kFailure): Unexpected Internal Failure
    Error: line 1: Could not read V-Ray environment variable "VRAY_FOR_MAYA2011_MAIN_x64". Please re-install.

    But why does the license work if I submit the command manually and does it not work when it goes via alfred?

    Comment


    • #3
      This is not a licensing issue, but something is wrong, when loading the plugin inside Maya.

      Can you tell Alfred to execute a mel command when Maya loads?
      If you can, you can execute this command "system("env > /tmp/env.log");" (without the quotes).
      Then you can look it the file /tmp/env.log, if there are any environment variables for VRAY.
      Also do you know how Alfred is starting Maya? What user?

      /Teodor
      V-Ray developer

      Comment


      • #4
        Got it working! After adding the vray environment variables with the remote commands from alfred. Thanks

        Comment

        Working...
        X