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

5 -> 6 #406

Merged
merged 7 commits into from
Sep 16, 2021
Merged

5 -> 6 #406

merged 7 commits into from
Sep 16, 2021

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Sep 15, 2021

➡️ Forward port

Port ign-rendering5 to main

Branch comparison: main...ign-rendering5

homebrew builds are failing after osrf/homebrew-simulation#1574. Testing to see if the Ogre2RenderEngine.cc changes would help fix the build.

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

srmainwaring and others added 4 commits September 13, 2021 14:09
* [macOS] configure examples for use with ogre2

- Use ogre2 instead of ogre in examples that do not accept a command line argument
- Enable logger to display additional Ogre information for debugging

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] configure examples for use with ogre2 and update plugin path

- Prevent the Ogre2RenderEngine searching in /usr/local/opt/ogre2.1/lib/OGRE-2.1 for render system plugins

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] add a QML version of the simple_demo

- This is a QML version of the simple_demo. It uses the same approach to rendering to QML as used in ignition-gui Scene3D.
- For macOS there is an upstream dependency on a pending PR in Ogre2-1 for support of the `currentGLContext` flag.
- The core application render thread is based on the Qt Toolkit example:
	- https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick/scenegraph/textureinthread?h=5.15

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] apply style guide to function and member variable names

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] apply style guide to function parameters

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] cleanup comments and remove dead code

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] incorporate review feedback in simple_demo_qml

- Remove unused section from CMakeLists.txt
- Move using namespace declarations to translation unit scope
- Remove addition separator line
- Use ignmsg instead of std::cout in ThreadRenderer
- Roll back changes to example text_geom

Signed-off-by: Rhys Mainwaring <[email protected]>

* Apply suggestions from code review

Co-authored-by: Alejandro Hernández Cordero <[email protected]>

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] apply code style guide formatting

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] document the IgnitionRenderer class.

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] update the message on the QML overlay

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] modify simple_demo_qml for qt5.12

- Remove QML_NAMED_ELEMENT from ThreadRenderer
- Rename Renderer in QML to ThreadRenderer

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] rollback changes to examples

- Roll back changes to other examples, keeping only simple_demo_qml.

Signed-off-by: Rhys Mainwaring <[email protected]>

* [macOS] remove additional plugin path for macOS

- Remove additional plugin path for macOS.

Signed-off-by: Rhys Mainwaring <[email protected]>

Co-authored-by: Ian Chen <[email protected]>
* style changes

Signed-off-by: Ian Chen <[email protected]>

* rename files

Signed-off-by: Ian Chen <[email protected]>

* indentation

Signed-off-by: Ian Chen <[email protected]>
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Sep 15, 2021
@chapulina chapulina added the beta Targeting beta release of upcoming collection label Sep 15, 2021
@codecov
Copy link

codecov bot commented Sep 15, 2021

Codecov Report

Merging #406 (3f3aa81) into main (bd9b815) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #406   +/-   ##
=======================================
  Coverage   58.53%   58.54%           
=======================================
  Files         174      174           
  Lines       17345    17345           
=======================================
+ Hits        10153    10154    +1     
+ Misses       7192     7191    -1     
Impacted Files Coverage Δ
ogre2/src/Ogre2RenderEngine.cc 78.07% <ø> (ø)
...e/ignition/rendering/base/BaseGaussianNoisePass.hh 100.00% <0.00%> (+3.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd9b815...3f3aa81. Read the comment docs.

@iche033 iche033 merged commit 1567c35 into main Sep 16, 2021
@iche033 iche033 deleted the 5_to_6_20210914 branch September 16, 2021 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants