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 #34

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Oct 2, 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.

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 <scpeters@openrobotics.org>
@scpeters scpeters requested a review from ahcorde as a code owner October 2, 2024 22:05
@ahcorde ahcorde merged commit 0b699a6 into main Oct 3, 2024
5 checks passed
@ahcorde ahcorde deleted the scpeters/cylinder_refinement branch October 3, 2024 08:24
@ahcorde
Copy link
Collaborator

ahcorde commented Oct 3, 2024

https://github.com/Mergifyio backport fortress garden

Copy link

mergify bot commented Oct 3, 2024

backport fortress garden

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Oct 3, 2024
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 <scpeters@openrobotics.org>
(cherry picked from commit 0b699a6)
mergify bot pushed a commit that referenced this pull request Oct 3, 2024
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 <scpeters@openrobotics.org>
(cherry picked from commit 0b699a6)
ahcorde pushed a commit that referenced this pull request Oct 3, 2024
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 <scpeters@openrobotics.org>
(cherry picked from commit 0b699a6)

Co-authored-by: Steve Peters <scpeters@openrobotics.org>
ahcorde pushed a commit that referenced this pull request Oct 3, 2024
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 <scpeters@openrobotics.org>
(cherry picked from commit 0b699a6)

Co-authored-by: Steve Peters <scpeters@openrobotics.org>
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