LumaPictures / maya-to-hydra

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
10 stars 3 forks source link

Use MDGContextGuard to export motion samples #11

Closed chadrik closed 5 years ago

chadrik commented 6 years ago

HdStream does not support motion blur yet, but until then this would be useful for offline renderers.

It is theoretically possible to use MDGContextGuard to gather data from other frames without actually changing frames, but I am very skeptical. I don't know of any renderers that have pulled this off, and my experience working on MtoA backed that up: MDGContextGuard simply did not provide the correct results all of the time, which is understandable if you consider the amount of scene state that has to be prepped to correctly compute a rigged mesh. Maybe this has been improved in the last 6 years, but I'm doubtful.

sirpalee commented 6 years ago

I'm removing this from the Initial Release, I feel that this is a big and complicated problem to solve.

sirpalee commented 5 years ago

Note: Updated ticket description and title to limit the scope to using MDGContextGuard.

sirpalee commented 5 years ago

This was implemented for transformation and vertex position.