Skip to content

Tessellator refactor + floors (Request in QGIS) #10655

@qgis-bot

Description

@qgis-bot

Request for documentation

From pull request qgis/QGIS#63805
Author: @ViperMiniQ
QGIS version: 4.0

Tessellator refactor + floors

PR Description:

This PR refactors the QgsTessellator to make it more easier to work with and for potential addition of new features to it.

Existing constructors are deprecated and replaced with a default one and setters are introduced to set all the options.
Instead of passing the full parameter list, we now have setters for setting:

  • extrusion faces (where we choose what we want to add to the scene, floors, roofs and walls - any combination)
  • inverted normals
  • textures
  • rotation
  • origin

Some of the bigger methods are split into multiple smaller.

Enum ExtrusionFace replaces the facade int, optional creation of floors is added.

New functionality is the optional creation of floors.
Edit: now the options for Rendered facade are: Walls, Walls and Roof, Walls, Roof and Floor

Screenshot_20260113_124114

Funded by: https://www.lutraconsulting.co.uk/crowdfunding/qgis-3d-for-open-source-digital-twins

Commits tagged with [need-docs] or [FEATURE]

Metadata

Metadata

Assignees

Labels

3D4.0QGIS 4.0 new features

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions