Hi everyone, Here is my progress in the Google Summer of Code project: - Tasks done this week: - Reading the tessellation code used to generate triangles of building from polygons - Experimented with the Qt3DExtras::QDiffuseMapMaterial and explored some alternatives. Unfortunately some of the alternatives are not available in the Qt version I use (Qt5.9). - Tried compiling QGIS with different Qt versions. - Added texture coordinates to the vertex buffer of QgsTessellatedPolygonGeometry. - Got the basic functionality of texturing buildings using 1 texture image working for some vector layer projects. You can see the texture rendering in action here: screenshot <https://imgur.com/aqJD8yV> - Tasks to be done: - Refine how the user chooses textures and include a default texture in case anything goes wrong with the texture image. - Define a generic class that handles material definition in a way that it can be extended for physics based rendering and other types of materials in the future. - Currently there are 4 types of vector layer data and some of them are not working properly so I will make the texturng work for them as well. - Make a way to rotate texture coordinates using an angle specified by the user. - Discuss how we define separate roof textures from walls textures.
You can find the report here as well: wiki page <https://wiki.osgeo.org/wiki/Improving_qgis_3d> I am open to any suggestions and feedback. Best wishes, -- Belgacem Nedjima 4th year computer science and engineering student. https://github.com/NEDJIMAbelgacem
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer