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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale light intensity by PI for Ogre2 #284

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Mar 26, 2021

馃 Bug fix

Summary

The light intensity has to be scaled by PI before applying it as the power scale for Ogre2 lights. Without this change, the default sun light brightness is different between ign-gazebo4 and ign-gazebo5

image
Left: ign-gazebo4, Right: ign-gazebo5

Checklist

  • Signed all commits for DCO
  • Added tests
  • 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: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey requested a review from iche033 March 26, 2021 19:43
@osrf-triage osrf-triage added this to Inbox in Core development Mar 26, 2021
@github-actions github-actions bot added the 馃彚 edifice Ignition Edifice label Mar 26, 2021
Core development automation moved this from Inbox to In review Mar 26, 2021
@chapulina chapulina added beta Targeting beta release of upcoming collection bug Something isn't working labels Mar 26, 2021
@codecov
Copy link

codecov bot commented Mar 26, 2021

Codecov Report

Merging #284 (2bb78e3) into main (e0bf818) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #284   +/-   ##
=======================================
  Coverage   57.54%   57.54%           
=======================================
  Files         159      159           
  Lines       15590    15590           
=======================================
  Hits         8971     8971           
  Misses       6619     6619           
Impacted Files Coverage 螖
ogre2/src/Ogre2Light.cc 98.30% <100.00%> (酶)

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 e0bf818...2bb78e3. Read the comment docs.

@azeey azeey merged commit 3f9cc5a into main Mar 26, 2021
Core development automation moved this from In review to Done Mar 26, 2021
@azeey azeey deleted the azeey/scale_light_intensity branch March 26, 2021 21:18
iche033 pushed a commit that referenced this pull request Apr 27, 2021
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
iche033 added a commit that referenced this pull request Apr 28, 2021
Signed-off-by: Ian Chen <ichen@osrfoundation.org>

fix!

Signed-off-by: Ian Chen <ichen@osrfoundation.org>

Scale intensity by PI for Ogre2 (#284)

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>

Update particles tutorial gif (#288)

* update tutorial pic

Signed-off-by: Ian Chen <ichen@osrfoundation.org>

* update gif

Signed-off-by: Ian Chen <ichen@osrfoundation.org>

Update simple demo gif (#287)

Signed-off-by: Ian Chen <ichen@osrfoundation.org>

Update README for version 5 (#286)

Signed-off-by: Ian Chen <ichen@osrfoundation.org>

Bump main to 6.0.0~pre1 (#297)

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@j-rivero j-rivero removed this from Done in Core development May 6, 2022
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 bug Something isn't working 馃彚 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants