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

Merged
merged 3 commits into from
May 11, 2021
Merged

Visualize wireframes #314

merged 3 commits into from
May 11, 2021

Conversation

atharva-18
Copy link
Contributor

@atharva-18 atharva-18 commented May 2, 2021

Signed-off-by: Atharva Pusalkar [email protected]

🎉 New feature

Summary

Adds wireframe mode to visuals in OGRE 1 and 2. This PR targets Ignition Fortress since the changes break the ABI.

OGRE 2
wireframe_ign_f

OGRE 1
wireframe_ign_f_ogre

Test it

Test it with 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

Signed-off-by: Atharva Pusalkar <[email protected]>
@atharva-18 atharva-18 requested a review from iche033 as a code owner May 2, 2021 17:33
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label May 2, 2021
@atharva-18 atharva-18 mentioned this pull request May 2, 2021
8 tasks
Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor nit

// create visual
VisualPtr visual = scene->CreateVisual();
ASSERT_NE(nullptr, visual);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
EXPECT_EQ(false, visual->Wireframe());

Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

Signed-off-by: Atharva Pusalkar <[email protected]>
@ahcorde
Copy link
Contributor

ahcorde commented May 4, 2021

@osrf-jenkins retest this please

Signed-off-by: Atharva Pusalkar <[email protected]>
@atharva-18
Copy link
Contributor Author

Changed scene name to "scene7" since "scene6" is used in BoundingBox.

@ahcorde
Copy link
Contributor

ahcorde commented May 11, 2021

@osrf-jenkins retest this please

1 similar comment
@ahcorde
Copy link
Contributor

ahcorde commented May 11, 2021

@osrf-jenkins retest this please

@ahcorde
Copy link
Contributor

ahcorde commented May 11, 2021

The Camera test failure is unrelated

@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/google-summer-of-code-2021-new-gui-widgets-in-ignition-gazebo/1081/1

WilliamLewww pushed a commit to WilliamLewww/ign-rendering that referenced this pull request Dec 7, 2021
* Add wireframe mode

Signed-off-by: Atharva Pusalkar <[email protected]>

* Fix visual test

Signed-off-by: Atharva Pusalkar <[email protected]>

* Change scene name

Signed-off-by: Atharva Pusalkar <[email protected]>
Signed-off-by: William Lew <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants