This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature
This PR adds ability to work with
vrayscene
type with more control. It inherits basic principles fromrendering
family. So when you create vray scene instance, it monitors render layers and create set under instance for each of them, tracking changes. If you leave that set empty, it will export whole scene under that render layer context to vrayscene. However if you add objects/sets there, it will export only those under render layer context.This is currently publishing only on local computer (not utilizing render farm) and it doesn't support multi-frame sequences of vray files.
Changes in renderning publishing
This PR is also introducing changes in current rendering publishing system. It drops
LAYER_
prefix in names of sets created under rendering instance. Instead it prefix them with Maya namespaces. By default new namespace is determined by name of render instance with added underscore before it -renderingDefault
and render layerFOO
will result in_renderingDefault:FOO
named set under rendering instance. If_renderingDefault
exists and is not empty, it will try to create next available name appending increasing number at the end, so next available namespace would be_renderingDefault1
.This change mitigate chance of name conflicts in scene as Maya doesn't allow two objects under one namespace to share name.