26 Commits

Author SHA1 Message Date
NEDJIMAbelgacem
a5329d4f19 Add FPS counter check box 2020-12-08 16:28:49 +01:00
nirvn
9dee613a2a [FEATURE][3d] Orthographic projection support for 3D scenes 2020-11-19 15:30:30 +07:00
NEDJIMAbelgacem
810dc369f1 remove unused mTransform 2020-11-10 15:39:26 +01:00
NEDJIMAbelgacem
23b723e5a0 inital terrain elevation offset implementation 2020-11-08 16:58:57 +01:00
NEDJIMAbelgacem
a25f04641b adress reviews 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
6f542e7ea0 moved debug settings to the advanced tab and fixed CI problems 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
c3ef5cc324 Added configuration to debug shadow and forward depth textures 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
1e9e4d7dc1 Started adding depth and shadow map textures preview debugging 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
e9ac7311c4 address reviews 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
8768b7e3e2 fix spelling mistake 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
d1d347d13d add EDL distance 2020-11-06 09:59:41 +01:00
NEDJIMAbelgacem
618807ed2f Initial EDL implementation 2020-11-06 09:59:41 +01:00
Nedjima Belgacem
85e444e1d6
[3D] [Feature] Shadow rendering (#38448)
* Initial post processing render pass implementation

* Got shadows with directional lights working good enough

* Make the shadows more configurable

* Trying to reduce peter panning

* Add licence

* banned banned_keywords_check

* trying to remove renderStateSet memory leak

* removing include <Qt3DExtras>

* Add documentation

* remove the use of setFilterMode when using QFilterLayer

* Fixing docs

* Fix shadow rendering checkbox

* Added y coordinates for view extent

* Added shadow bias parameter

* Added shadow map texture resolution parameter

* Addressing reviews

* Set the shadow rendering parameters automatically

* Add QLayer components individually if QT_VERSION < QT_5_10

* Hide depth texture preview quad

* Remove unused member

* Fix spell check

* Remove stepType property from shadowBiasSpinBox

* Disable shadow render pass if the shadow rendering is not activated

* Clarify maximum shadow rendering distance documentation

* Add value range for shadow bias

* Delete .bom file

* Clarify the usefullness of maximum shadow rendering distance

* remove unused stuff in shaders

* Make the inverted camera matrices passed as parameters

* Move post processing shaders parameters into the post processing entity constructor

* refactor how shadow rendering update into 1 function

* Fix spelling

* Fix Save As Image tool

* Improve UI according to suggessions

* add missing docs

* remove QAbstractSpinBox::DefaultStepType
2020-09-10 15:02:03 +02:00
Harrissou Sant-anna
09844a7dab Move the skybox enabling checkbox to the groupbox widget
Whether skybox is enabled is now saved as part of the 3D Map settings
2020-08-21 13:00:52 +10:00
NEDJIMAbelgacem
d7787f2477 Use path resolver's read/writePath()
Remove QSkyboxEntity include
Use deleteLater() instead of delete
Remove unneeded todo
Add \since to skyboxSettings in qgs3dmapsettings.h
2020-08-06 01:09:20 +01:00
NEDJIMAbelgacem
58d280be60 Fix merge conflict
Merge branch 'master' into skybox-feature
2020-08-04 08:33:53 +01:00
NEDJIMAbelgacem
4ac66d08c8 Add SIP_NO_FILE and fix bindings 2020-08-04 07:07:51 +01:00
Nyall Dawson
4f34b8a7f8 [3d][api] Split api from specifying 3d map layers to render from api
for specifying terrain layers to render

Previously the one method was used for both, which made it very
difficult to have a different set of layers used for terrain
generation vs 3d entity generation (you had to manually create a map
theme, which is very messy)
2020-08-03 13:13:11 +10:00
NEDJIMAbelgacem
b39547e508 Delete previous skybox implementation and save skybox settings as a DOM element 2020-08-02 00:31:41 +01:00
NEDJIMAbelgacem
f5726e52d5 skybox settings UI 2020-08-01 23:50:25 +01:00
Nyall Dawson
573ace14bf [3d][feature] Add option to show light source origins
If enabled, shows a sphere at light source origins, allowing easier repositioning
and placement of light sources relative to the scene contents

Fixes #37726
2020-07-16 07:52:12 +10:00
nedjima
7d8a03b1fe Executed sipify_all script to fix the setDirectionalLights header definition 2020-06-20 04:31:10 +10:00
nedjima
9556bd2147 [Feature] directional lights support for QGIS 3D 2020-06-20 04:31:10 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Martin Dobias
520246174a Fixes to SIP finally working 2020-04-19 08:14:49 +10:00
Martin Dobias
cad7cf4a06 Add QgsLayoutItem3DMap to PyQGIS [not working yet] 2020-04-19 08:14:49 +10:00