Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feat/add abstractrenderview #60159

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

benoitdm-oslandia
Copy link
Collaborator

This PR is part of qgis/QGIS-Enhancement-Proposals#259 QEP (relates to qgis/QGIS-Enhancement-Proposals#252).

It introduces the AbstractRenderview concept to split the framegraph into a more modular way.

As many files will be introduced, we move all framegraph related files in a new subdirectory framegraph.

As examples, we extracted 3 renderviewes: one for the 3dAxis, one for the forward and one for the shadows.

cc @ptitjano @mkrus

Funded by CEA/DAM @renardf

@benoitdm-oslandia benoitdm-oslandia self-assigned this Jan 15, 2025
@benoitdm-oslandia benoitdm-oslandia added the 3D Relates to QGIS' 3D engine or rendering label Jan 15, 2025
@github-actions github-actions bot added this to the 3.42.0 milestone Jan 15, 2025
Copy link

github-actions bot commented Jan 15, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 3e6ac76)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 3e6ac76)

@benoitdm-oslandia benoitdm-oslandia force-pushed the feat/add_abstractrenderview branch from 18fac38 to c665d88 Compare January 15, 2025 16:27
@nyalldawson nyalldawson added the Frozen Feature freeze - Do not merge! label Jan 28, 2025
Copy link
Member

@wonder-sk wonder-sk left a comment

Choose a reason for hiding this comment

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

Thanks for updating the pull request. The design of the abstract render view class looks OK to me now, I have left various comments regarding the implementation details.

Thanks for the patience with my reviews, I know I am slow, but this is a lot of changes to digest...

@benoitdm-oslandia benoitdm-oslandia force-pushed the feat/add_abstractrenderview branch from e86f599 to a6e1fb4 Compare February 17, 2025 16:06
@nyalldawson nyalldawson removed the Frozen Feature freeze - Do not merge! label Feb 21, 2025
@benoitdm-oslandia benoitdm-oslandia force-pushed the feat/add_abstractrenderview branch 3 times, most recently from 15e4c18 to 8c658d5 Compare March 4, 2025 14:44
@benoitdm-oslandia
Copy link
Collaborator Author

@wonder-sk gentle ping! I will rebase and push asap

@benoitdm-oslandia benoitdm-oslandia force-pushed the feat/add_abstractrenderview branch from 8c658d5 to 3255a19 Compare March 7, 2025 14:58
benoitdm-oslandia and others added 11 commits March 10, 2025 10:51
rename QgsFramegraphUtils to QgsFrameGraphUtils
Co-authored-By: Mike Krus <mike.krus@kdab.com>
…class

feat(3daxis): move camera creations into render view

fix(qgs3daxissettings): add checks in readXml to avoid disabled axis view

When the project is saved in an old version, minViewportRatio or maxViewportRatio can have
bad saved data (ie. 0 values) leading to always disable axis view.
…w class

feat(3d/shadow): move shadow setting updates from qgs3dmapscene into render view
@benoitdm-oslandia benoitdm-oslandia force-pushed the feat/add_abstractrenderview branch from 3255a19 to 3e6ac76 Compare March 10, 2025 09:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
3D Relates to QGIS' 3D engine or rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants