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

Support specifying the name of light associated with lens flares #2172

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Sep 26, 2023

馃帀 New feature

Summary

Currently by default, the lens flares system just picks the first light in the scene which may not always be what the user wants. This PR adds a new plugin param named <light_name> for users to specify the name of the light for the lens flares.

Needed by gazebosim/harmonic_demo#7 in order for lens flares to be visible in the camera view.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • 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 and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
@iche033 iche033 merged commit 8c2fb9b into gz-sim8 Oct 5, 2023
4 of 8 checks passed
@iche033 iche033 deleted the lens_flares_light branch October 5, 2023 22:35
mabelzhang pushed a commit that referenced this pull request Nov 1, 2023
---------

Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Mabel Zhang <mabel@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃幍 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants