Announcement

Collapse
No announcement yet.

V-Ray standalone: layer names

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

  • V-Ray standalone: layer names

    Hey,

    I am rendering a .vrscene, exported out of Maya using MEL:
    Code:
    vrend -camera $camera -layer $layer ;
    ...where $camera is the name of the renderable camera and $layer is the name of the renderable renderlayer. As a side note, I'm looping through all renderable cameras/layers and exports a vrscene for each combo.

    In most situations, the exported vrscene will have "defaultRenderLayer" in its filename whenever the "masterLayer" is renderable -- but in one particular scenario, the .vrscene file will actually have "masterLayer" in the file name instead. After a little testing it seems this is the scenario:
    If there are multiple renderlayers in the scene but only one renderlayer is renderable, and this is the "masterLayer" renderlayer.

    I'm automating the exporting of vrscene files as well as render job submission and I had to put in an exception in my code to support this behavior, so it's not a problem for me, but I figured I'd point this out in case someone else gets confused...

    I'm still waiting to see whether the resulting files will also be named with "masterLayer" in the filename rather than "defaultRenderLayer".

    I don't know what you think, but maybe it would be better to always use the name "masterLayer" OR "defaultRenderLayer"?
    Best Regards,
    Fredrik

  • #2
    Thanks for the pointer; will think about it.

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

    Comment

    Working...
    X