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

Hydra Sphere adapter mesh doesn't align with origin #1086

Closed
marktucker opened this issue Jan 13, 2020 · 2 comments
Closed

Hydra Sphere adapter mesh doesn't align with origin #1086

marktucker opened this issue Jan 13, 2020 · 2 comments

Comments

@marktucker
Copy link
Contributor

Description of Issue

The mesh representation used by Hydra to describe a sphere primitive does not align its points with the origin. I'd submit a pull request for this, but I was hoping that you have some sort of script for generatig the mesh description code automatically?

Steps to Reproduce

  1. Open a USD file with a default sphere primitive in usdview.
  2. It's easiest to see in "points" drawing mode that the points don't align as one would expect with the axes.
  3. Looking at the code, you can see there are nowhere near enough "0.0000" entries in the mesh (attached image shows both usdview and highlights all zero entries in the code).
    SphereMeshOffset

Package Versions

19.11

@jilliene
Copy link

Filed as internal issue #USD-5791

@c64kernal
Copy link
Contributor

Thanks for reporting this @marktucker -- actually while doing the work in commit 5ed25d9 this issue was also noticed. While the well intentioned engineer wanted to fix it on the spot, it was going to be too time consuming because many of our tests have baked in the assumptions about this incorrect positioning (he also pointed out that they're not spherical either :)). At any rate, this is definitely something we want to fix, but we will have to take the time to go through all our internal tests and update the bad assumptions in them before we can do that unfortunately.

# 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