gazebosim / gazebosim/gz-rendering

Toggle recursive visibility update?

Open
#774 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C++
Stars
81
Forks
90
Avg merge
1d 13h
Merged PRs (30d)
10

Description

It appears that the default behavior at least with Ogre2 is that if you call `SetVisibility` it is a recursive set.

Example:

- Parent (not visible)
- child (visible)
- child(not visible)

If on the parent visual node if I call SetVisibility(true) you get the following

- Parent (visible)
- child (visible)
- child(visible)

Is there a way to set it to not recursively update? I know is possible when using Ogre and Ogre-Next directly but it does not appear to be possible through the provided interface.

Desired behavior SetVisibility(true, not recursive = false).

- Parent (visible)
- child (visible)
- child(not visible)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the SetVisibility interface and its Ogre2 implementation, then compare the recursive behavior with the Ogre and Ogre-Next APIs mentioned in the issue. Done means the provided interface can explicitly preserve child visibility when updating a parent, with behavior covered across the relevant rendering engines.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.