Announcement

Collapse
No announcement yet.

Force Z Up

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

  • Force Z Up

    Hi, is there a way to force Z up in a file?
    Our farm is Y up and we work Z up. What happen is when sending a file with dome light the dome light follow the Y up and therefore rotate automatically.
    is there a way to tell the dome light that Z is up like for the sun&sky?

    And no we cannot change the render farm to Z up.

    Thanks,

    Yannick
    Portfolio: http://www.cgifocus.co.uk

  • #2
    I'm not sure about Maya, but you can use a post-translate Python callback to modify the V-Ray scene, like this:
    Code:
    from vray.utils import *
    
    p=findByType("SettingsUnitsInfo");
    p[0].set("scene_upDir", Vector(0,0,1))
    The post-translate Python callback is saved with the Maya scene and will be executed on the slaves too.

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

    Comment


    • #3
      Thanks Vlado.
      Any chance to have an option with the light to force the up direction?

      Yannick
      Portfolio: http://www.cgifocus.co.uk

      Comment


      • #4
        Hm, this won't work for a dome light though, as the matrix is calculated by the V-Ray for Maya translator only by looking at the Maya preferences, and not the V-Ray scene info. But you can probably use the same approach to either change the Maya setting at the start of the rendering, or to modify the transform of the UVWGenEnvironment plugins.

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

        Comment


        • #5
          Originally posted by Yannick View Post
          Any chance to have an option with the light to force the up direction?
          There is only an option for the V-Ray sun currently; I guess we can expand this to cover all of the translation.

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

          Comment

          Working...
          X