Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/feature/multiverse' into feature…
Browse files Browse the repository at this point in the history
…/multiverse
  • Loading branch information
dmo-j-cube committed Jun 2, 2022
2 parents 7d3b76c + 5c8e7fd commit bbbe5b3
Show file tree
Hide file tree
Showing 13 changed files with 529 additions and 392 deletions.
26 changes: 25 additions & 1 deletion openpype/hosts/maya/plugins/publish/extract_multiverse_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,31 @@


class ExtractMultiverseLook(openpype.api.Extractor):
"""Extractor for Multiverse USD look data into a Maya Scene."""
"""Extractor for Multiverse USD look data.
This will extract:
- the shading networks that are assigned in MEOW as Maya material overrides
to a Multiverse Compound
- settings for a Multiverse Write Override operation.
Relevant settings are visible in the Maya set node created by a Multiverse
USD Look instance creator.
The input data contained in the set is:
- a single Multiverse Compound node with any number of Maya material
overrides (typically set in MEOW)
Upon publish two files will be written:
- a .usda override file containing material assignment information
- a .ma file containing shading networks
Note: when layering the material assignment override on a loaded Compound,
remember to set a matching attribute override with the namespace of
the loaded compound in order for the material assignment to resolve.
"""

label = "Extract Multiverse USD Look"
hosts = ["maya"]
Expand Down
16 changes: 15 additions & 1 deletion openpype/hosts/maya/plugins/publish/extract_multiverse_usd.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,21 @@


class ExtractMultiverseUsd(openpype.api.Extractor):
"""Extractor for Multiverse USD asset data."""
"""Extractor for Multiverse USD Asset data.
This will extract settings for a Multiverse Write Asset operation:
they are visible in the Maya set node created by a Multiverse USD
Asset instance creator.
The input data contained in the set is:
- a single hierarchy of Maya nodes. Multiverse supports a variety of Maya
nodes such as transforms, mesh, curves, particles, instances, particle
instancers, pfx, MASH, lights, cameras, joints, connected materials,
shading networks etc. including many of their attributes.
Upon publish a .usd (or .usdz) asset file will be typically written.
"""

label = "Extract Multiverse USD Asset"
hosts = ["maya"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,21 @@


class ExtractMultiverseUsdComposition(openpype.api.Extractor):
"""Extractor of Multiverse USD Composition."""
"""Extractor of Multiverse USD Composition data.
This will extract settings for a Multiverse Write Composition operation:
they are visible in the Maya set node created by a Multiverse USD
Composition instance creator.
The input data contained in the set is either:
- a single hierarchy consisting of several Multiverse Compound nodes, with
any number of layers, and Maya transform nodes
- a single Compound node with more than one layer (in this case the "Write
as Compound Layers" option should be set).
Upon publish a .usda composition file will be written.
"""

label = "Extract Multiverse USD Composition"
hosts = ["maya"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@


class ExtractMultiverseUsdOverride(openpype.api.Extractor):
"""Extractor for Multiverse USD Override."""
"""Extractor for Multiverse USD Override data.
This will extract settings for a Multiverse Write Override operation:
they are visible in the Maya set node created by a Multiverse USD
Override instance creator.
The input data contained in the set is:
- a single Multiverse Compound node with any number of overrides (typically
set in MEOW)
Upon publish a .usda override file will be written.
"""

label = "Extract Multiverse USD Override"
hosts = ["maya"]
Expand Down
Loading

0 comments on commit bbbe5b3

Please sign in to comment.