Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
Qt Quick 3D - 2021 - Weeks 5/6, Qt Quick 3D - 2021 - Weeks 7/8, Qt Quick 3D - 2021 Week 9 - 10, Qt Quick 3D - 2021 Week 11/12, Qt Quick 3D - 2021 Week 13/14, Qt Quick 3D - 2021 Week 15/16, Qt Quick 3D - 2021 Week 17/18, 2022 Qt Quick 3D: Week 17-18, 2022 Qt Quick 3D: Week 19-20, 2022 Qt Quick 3D: Week 21-22
Description
Introduce a proper, raytracing-based baked lightmap baker.
https://codereview.qt-project.org/c/qt/qtquick3d/+/405992
This is now merged for Qt 6.4.
This provides the basics, such as:
- baking raytraced lightmaps for diffuse direct and indirect lighting, thus providing a form of global illumination suitable for static parts (models, lights) of scenes,
- as well as, optionally, fully correct (as it is all raytraced) baked direct diffuse lighting and shadows (again, for static models/lights in the scene), which look more correct than the realtime diffuse lighting (i.e. proper occlusion, "light does not travel through walls")
Baking is triggered via special means built into the engine/applications for now, e.g. by environment variable or a command line argument. Proper tooling integration is left for the future.
https://doc-snapshots.qt.io/qt6-dev/quick3d-lightmap.html
Future improvement ideas moved to QTBUG-107504