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

Consolidate Scene3D with ign-gazebo's GzScene3D #137

Closed
chapulina opened this issue Oct 6, 2020 · 12 comments
Closed

Consolidate Scene3D with ign-gazebo's GzScene3D #137

chapulina opened this issue Oct 6, 2020 · 12 comments
Assignees
Labels
🏢 edifice Ignition Edifice enhancement New feature or request help wanted Extra attention is needed

Comments

@chapulina
Copy link
Contributor

We currently have 2 separate scene plugins in the Ignition ecosystem, one in ign-gui and one in ign-gazebo. The split into 2 scene plugins was something we did to move forward quickly, but the long-term goal is to combine those into a single plugin in a way that all Gazebo-independent features can be pushed into ign-gui so all downstream projects can take advantage of it and there's less duplication to maintain.

Some possible ways to achieve this:

@chapulina chapulina added enhancement New feature or request help wanted Extra attention is needed 🏢 edifice Ignition Edifice labels Oct 6, 2020
scpeters added a commit that referenced this issue Mar 11, 2021
As noted in #137, the Scene3D plugin was forked for use
in ign-gazebo, with the intention of consolidating back
with the ign-gui plugin to reduce duplication. This ports
some fixes for mesh material loading to ign-gui made in
gazebosim/gz-sim@897ef65 as part of
bitbucket PR 315.

Signed-off-by: Steve Peters <[email protected]>
scpeters added a commit that referenced this issue Mar 11, 2021
As noted in #137, the Scene3D plugin was forked for use
in ign-gazebo, with the intention of consolidating back
with the ign-gui plugin to reduce duplication. This ports
some fixes for mesh material loading to ign-gui made in
gazebosim/gz-sim@897ef65 as part of
bitbucket PR 315.

Signed-off-by: Steve Peters <[email protected]>
@scpeters
Copy link
Member

we are using the Scene3D plugin in the delphyne project and have noticed some errors when loading mesh materials, but I believe this has already been fixed in ign-gazebo, so I'm cross-porting the fix from ign-gazebo's SceneManager in #191

scpeters added a commit that referenced this issue Mar 13, 2021
As noted in #137, the Scene3D plugin was forked for use
in ign-gazebo, with the intention of consolidating back
with the ign-gui plugin to reduce duplication. This ports
some fixes for mesh material loading to ign-gui made in
gazebosim/gz-sim@897ef65 as part of
bitbucket PR 315.

Signed-off-by: Steve Peters <[email protected]>
@ahcorde ahcorde self-assigned this Apr 29, 2021
@ahcorde
Copy link
Contributor

ahcorde commented Apr 29, 2021

Related PRs

@ahcorde
Copy link
Contributor

ahcorde commented Jun 18, 2021

@chapulina, I have been working in adding small plugins to ign-gazebo and ign-gui. I updated the ign-gazebo PR with some of the plugins.

@ahcorde
Copy link
Contributor

ahcorde commented Jun 18, 2021

I have created some branches to test this (Fortress). Because it requires some cherry picks:

Run the demo:

ign gazebo --gui-config src/ign-gazebo/src/gui/gui.config shapes.sdf -v 4

@chapulina
Copy link
Contributor Author

some branches to test this

Nice, I see the 3D scene is updated!

I assume all the plugins above should work with this combination of branches?

view_control #231

The ViewControl plugin is empty for me, no buttons

Move to / follow #226

Right-clicking the 3D scene doesn't give me a context menu to be able to choose these options.

Choosing them from the entity tree doesn't seem to work.

Select gazebosim/gz-sim#854

I can select entities on the 3D scene and they get highlighted, but I don't see them highlighted on the entity tree. The same for the other direction.

Transform controls gazebosim/gz-sim#854

They work if I:

  1. Deselect all entities
  2. Choose translate mode
  3. Select entity

But don't work if I do:

  1. Select entity
  2. Choose translate mode

@ahcorde
Copy link
Contributor

ahcorde commented Jun 21, 2021

The ViewControl plugin is empty for me, no buttons

I called view_control but it's the plugin to move the camera with the mouse.

Right-clicking the 3D scene doesn't give me a context menu to be able to choose these options.

The Scene3D it's on ign-gui, the context menu is part of ignition-gazebo, I didn't find a way (yet) to modify the qml of the scene3d from ign-gazebo and include the.

@chapulina
Copy link
Contributor Author

chapulina commented Jul 6, 2021

Outstanding issue:

@ahcorde
Copy link
Contributor

ahcorde commented Sep 16, 2021

Drag & drop

Context Menu

Port rendering fixes from GzScene3D to MinimalScene

@ahcorde
Copy link
Contributor

ahcorde commented Sep 17, 2021

Choose a render engine from the command line (this information needs to be sent to MinimalScene before it creates a scene.)

@ahcorde
Copy link
Contributor

ahcorde commented Sep 22, 2021

@chapulina can we consider this as done ?

@chapulina
Copy link
Contributor Author

Yes! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏢 edifice Ignition Edifice enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants