Skip to content

[Feat] Support for Beveled Edges (Border Radius) on Extruded Polygons #9250

Open
@giacomoaugello1

Description

@giacomoaugello1

Target Use Case

In many urban visualization and 3D mapping applications, rendering extruded polygons to represent buildings or other structures results in sharp, angular edges. A bevel or rounded edge (border radius) feature would allow these extruded polygons to have smoother, more realistic-looking corners, enhancing the visual appeal and providing more immersive and aesthetically pleasing 3D maps.

Proposal

Extend the PolygonLayer/SolidPolygonLayer to support an optional "bevel" property for extruded polygons. This property would allow users to specify a border radius for each polygon, creating a smooth transition at the edges and corners of the extrusion. All edges, except those touching the ground plane, should be rounded to ensure realistic top and vertical edges while maintaining sharp, well-defined base edges. Implementation would involve adjusting the extrusion vertices and faces to accommodate curved edges while maintaining performance. Ideally, users could set the bevel radius either as a fixed value for uniformity or as a variable (Accessor), allowing customization per building or polygon based on specific needs. This feature could be exposed as a new property (bevelRadius) that accepts numeric input and adjusts the level of edge rounding accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions