Skip to content

[eve7] fix GlViewerJSRoot and GlViewerThree #19263

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

Merged
merged 6 commits into from
Jul 3, 2025

Conversation

linev
Copy link
Member

@linev linev commented Jul 3, 2025

When using TGeoPainter in GlViewerJSRoot,
process geometry description data as is - 3D objects building remains inside painter
This let use navigation and interactivity from TGeoPainter again

Set near/far parameters in PerspectiveCamera of GlViewerThree
If geometry size significantly bigger than default 1000 - camera will not be able to "see" such object

Update JSROOT with several geopainter fixes and three.js r177

linev added 4 commits July 2, 2025 12:01
Many members in geometry painter are private now
and should be accessed via the getter methods
When JSROOT geometry painter will be used,
one can access geometry description directly and provide it to
the geometry painter.

This allows correctly rebuild geometry hierarchy
If geometry size is too big, distance will be too large and no any display appears
@linev linev requested a review from bellenot July 3, 2025 08:58
@linev linev self-assigned this Jul 3, 2025
Copy link
Member

@bellenot bellenot left a comment

Choose a reason for hiding this comment

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

LGTM, but see my question

Copy link

github-actions bot commented Jul 3, 2025

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit aa2200e.

♻️ This comment has been updated with latest results.

linev added 2 commits July 3, 2025 13:24
Upgrade three.js to r177
Several small fixes in TGeoPainter
@linev linev merged commit 32368f1 into root-project:master Jul 3, 2025
4 of 25 checks passed
@linev linev deleted the fixing_eve7 branch July 3, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants