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

Normalize point source color #2021

Merged
merged 8 commits into from
Dec 23, 2023
Merged

Conversation

JiliTheSpaceboy
Copy link
Contributor

See Issue #2016

Pedro noted that old addons use [ 0 0 0 ] in order for object to not get rendered as points; this is handled by the condition at the beginning, which excludes such objects (and so they do not get rendered anyway).

See Issue CelestiaProject#2016

Pedro noted that old addons use [ 0 0 0 ] in order for object to not get rendered as points; this is handled by the condition at the beginning, which excludes such objects (and so they do not get rendered anyway).
src/celengine/render.cpp Outdated Show resolved Hide resolved
(missing .toVector3() in line 2975)
src/celengine/render.cpp Outdated Show resolved Hide resolved
src/celengine/render.cpp Outdated Show resolved Hide resolved
apparently just maxCoeff works?

Co-authored-by: Hleb Valoshka <375gnu@gmail.com>
Copy link
Member

@375gnu 375gnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the change should also contain comments

  1. "many addons use black color to blah-blah-blah so we skip such objects here"
  2. "normalize color because blah-blah-blah"

Co-authored-by: Hleb Valoshka <375gnu@gmail.com>
@JiliTheSpaceboy
Copy link
Contributor Author

the change should also contain comments

  1. "many addons use black color to blah-blah-blah so we skip such objects here"
  2. "normalize color because blah-blah-blah"

True, will do that real quick

src/celengine/render.cpp Show resolved Hide resolved
Looks like I accidentally stole the bracket srry
src/celengine/render.cpp Outdated Show resolved Hide resolved
Co-authored-by: Hleb Valoshka <375gnu@gmail.com>
Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@375gnu 375gnu merged commit 1441fd2 into CelestiaProject:master Dec 23, 2023
10 checks passed
@375gnu 375gnu added this to Done in Release 1.7.0 Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Release 1.7.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants