Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

sdf2usd: set cylinder refinement parameter (backport #34) #39

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 3, 2024

🦟 Bug fix

Summary

The refinement parameter is 0 by default when loaded in Isaac Sim, which makes cylinders look like extruded polygons. Setting the refinement parameter to 1 makes them rounder.

Thanks to @rgasoto for the assistance with the OpenUSD API.

Example with unrefined cylinders

Note the polygonal shape of the pendulum bases

cylinders_refinement_0

Example with refinement == 1

Note the rounder shape of the pendulum bases

cylinders_refinement_1

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.


This is an automatic backport of pull request #34 done by [Mergify](https://mergify.com).

The refinement parameter is 0 by default when loaded in
Isaac Sim, which makes cylinders look like extruded
polygons. Setting the refinement parameter to 1 makes
them rounder.

Signed-off-by: Steve Peters <[email protected]>
(cherry picked from commit 0b699a6)
@mergify mergify bot requested a review from ahcorde as a code owner October 3, 2024 08:25
@mergify mergify bot mentioned this pull request Oct 3, 2024
8 tasks
@ahcorde ahcorde merged commit 8260f8c into garden Oct 3, 2024
5 checks passed
@ahcorde ahcorde deleted the mergify/bp/garden/pr-34 branch October 3, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants