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

assimp importer: repair invalid normals #1452

Merged

Conversation

rhaschke
Copy link
Contributor

Fixes #1451. Some mesh exporters generate zero normals, which results in black visualizations.
Assimp's postprocess option FindInvalidData allows to find and remove this invalid data. Subsequently the data is correctly re-generated by another assimp post-processor.

@rhaschke rhaschke merged commit 22accd1 into ros-visualization:melodic-devel Nov 23, 2019
@rhaschke rhaschke deleted the fix-assimp-normals branch November 23, 2019 17:50
rhaschke referenced this pull request in moveit/moveit_resources Aug 21, 2020
Since ros-visualization/rviz#1365, link 4 is shown black only.
Just loading and re-saving the STL with meshlab fixed the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some STL meshes appear black since assimp was used to load them
1 participant