gazebosim / gazebosim/gz-rendering

Render to external window

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

Description

How to render to external window? I was expecting if I set the `winID` to the QWidget window id that it would draw the content to this location. This works if I use ogre2 directly so not sure why this does not work here.

```
std::map params;
params["winID"] = std::to_string(winId());
auto* engine = ignition::rendering::engine("ogre2", params);
```

Contributor guide

Open the contributing guide

Research direction

Start at the `ignition::rendering::engine("ogre2", params)` entry point and trace how the `winID` parameter is handled for the OGRE2 engine. Compare that path with the direct OGRE2 integration described in the issue; done means rendering appears in the QWidget identified by `winId()`.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.