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

Visualize wireframes #312

Closed
wants to merge 6 commits into from

Conversation

atharva-18
Copy link
Contributor

@atharva-18 atharva-18 commented Apr 30, 2021

🎉 New feature

Summary

Adds wireframe mode to visuals in OGRE 1 and 2.

OGRE 2
wireframe
OGRE 1
wireframe_ogre

Test it

Test it with visualize_wireframes.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • 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

@github-actions github-actions bot added the 🔮 dome Ignition Dome label Apr 30, 2021
@atharva-18
Copy link
Contributor Author

ogre2_shadow
Wireframe mode in OGRE 2 is creating shadows that don't seem to be correct. Is this the desired behavior?

@iche033
Copy link
Contributor

iche033 commented Apr 30, 2021

nice, thanks for the contribution! There is a difference between how ogre and ogre2 handles shadows, e.g. semi-transparent objects also cast shadows in ogre2. We'll probably need to explicitly set cast shadows to be off in ogre2.

We promise ABI compatibility for released versions. Adding new virtual functions breaks ABI so these changes will need to go into the main branch and to be released in Ignition Fortress. Do you need this functionality in Dome? If so, we can try get these changes into main first then find an ABI-compatible way to backport the functionality to Dome.

@chapulina
Copy link
Contributor

This is awesome! Looking forward to the ign-gazebo PR! 🚀

@atharva-18
Copy link
Contributor Author

There is a difference between how ogre and ogre2 handles shadows, e.g. semi-transparent objects also cast shadows in ogre2. We'll probably need to explicitly set cast shadows to be off in ogre2.

Got it. I think we can set cast shadows to be off in Gazebo itself.

We promise ABI compatibility for released versions. Adding new virtual functions breaks ABI so these changes will need to go into the main branch and to be released in Ignition Fortress. Do you need this functionality in Dome? If so, we can try get these changes into main first then find an ABI-compatible way to backport the functionality to Dome.

Adding this feature to Dome is not a requirement for me as of now. I'll make changes to the Ignition F branch and create a new PR. Thanks for the info!

@atharva-18
Copy link
Contributor Author

Closing this in favor of #314.

@atharva-18 atharva-18 closed this May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants