Add Maya material integration#46
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThe PR adds complete Maya material support by introducing traversal, standardization, and recreation modules that enable reading Maya shading networks, converting them through a neutral graph format, and writing them back to Maya. Mapping infrastructure is extended, adapters bridge the pipeline, smoke validation tests the round-trip, and a CLI flag integrates validation into the runtime check script. ChangesMaya Material Read/Convert/Write Pipeline
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
materials_processor.dcc.mayastandardSurface,file,place2dTexture,bump2d, andshadingEnginemaya_nodesas a standardizer source type while keeping Maya out of Houdini targetFORMAT_CHOICESmayapyand expose it viascripts/validate_maya2024_runtime.py --smoke-materialNotes
mayapy, actual Maya DG nodes, and actual Maya connections in a synthetic in-memory scene..ma/.mbscene or broad Maya/Arnold utility-node fidelity.Validation
uv --native-tls run pytest tests/test_maya_support.py tests/test_maya_runtime.py tests/test_public_imports.pyuv --native-tls run pytest -m mayauv --native-tls run python scripts/validate_maya2024_runtime.py --timeout 120 --smoke-materialuv --native-tls run pytestuv --native-tls run ruff check src tests scriptsuv --native-tls buildFull local pytest result: 134 passed, 21 skipped, 1 xfailed.
Summary by CodeRabbit
Release Notes
New Features
--smoke-materialCLI flag to validate Maya material conversion functionalityTests