Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[katana] unexpected geometry.point.P sample times when using a reference and offset #352

Closed
nxkb opened this issue Dec 14, 2017 · 3 comments

Comments

@nxkb
Copy link
Contributor

nxkb commented Dec 14, 2017

Description of Issue

When rendering a reference with an SdfLayerOffset, the attribute data that winds up in geometry.point.P sample times is not what we expect.

The sample times are -.25, 9.75, 10, 10.25, when we expect something more like -.25, 0 -.25. Or possibly 9.75, 10, 10.25.

Steps to Reproduce

  1. Open attached katana file and render at any frame > 10

System Information (OS, Hardware)

Linux

Package Versions

0.8.2

referenceOffsetFiles.zip

@spiffmon
Copy link
Member

spiffmon commented Dec 14, 2017 via email

@spiffmon
Copy link
Member

Hmmm... it looks like we missed a codesite or two that needed updating when we un-inverted the layerOffsets. I can repro bad behavior in your test just using GetTimeSamplesInInterval(). Sorry for the trouble - I'm filing an internal bug specifically for the core issue, but let's leave this open for now just in case there's additionally anything to fix in Katana (hopefully not).

In the meantime, I confirmed that the old behavior still works as expected, which you can get back to, for now, by setting the env var USD_USE_INVERSE_LAYER_OFFSET=1

--spiff

@jtran56
Copy link

jtran56 commented Dec 18, 2017

Filed as internal issue #155178.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants