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
Example with refinement == 1
Note the rounder shape of the pendulum bases
Checklist
[X] 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)
[ ] 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.
* [#38 sdf2usd: set cylinder refinement parameter (backport #34)](https://github.com/gazebosim/gz-usd/pull/38) has been created for branch `fortress`
* [#39 sdf2usd: set cylinder refinement parameter (backport #34)](https://github.com/gazebosim/gz-usd/pull/39) has been created for branch `garden`
🦟 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
Example with refinement == 1
Note the rounder shape of the pendulum bases
Checklist
codecheck
passed (See contributing)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.