Skip to content

Conversation

@markschlosseratbentley
Copy link

@markschlosseratbentley markschlosseratbentley commented Sep 11, 2025

Introduction

This PR describes an extension to glTF which meets the needs of Bentley Systems for customizing fill behavior for planar polygons.

Overview

Two- and three-dimensional planar polygons with filled interiors are fundamental elements in many 3D modeling and computer-aided design (CAD) environments. The BENTLEY_materials_planar_fill extension allows the behavior of a polygon's interior fill to be customized with the intent of being able to indicate a variety of meanings useful to CAD applications.

This specification describes a minimal extension sufficient to meet Bentley Systems' requirements, with some suggestions for how it might be broadened and/or generalized while retaining a focus on CAD visualization.

@markschlosseratbentley markschlosseratbentley marked this pull request as ready for review January 8, 2026 14:06
@weegeekps
Copy link
Collaborator

This is looking great to me. Do you have an implementation or is that still in progress?

@markschlosseratbentley
Copy link
Author

This is looking great to me. Do you have an implementation or is that still in progress?

PR is up for review on iTwin.js: iTwin/itwinjs-core#8906

CesiumJS implementation is beginning.

Copy link
Collaborator

@weegeekps weegeekps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markschlosseratbentley Cool, then I'm okay with this being merged into vendor-extensions. I just wanted to ensure that we had at least tested the implementation at least once in a dog fooding exercise.

However, you need to update the copyright. See my other comment.

@markschlosseratbentley
Copy link
Author

@markschlosseratbentley Cool, then I'm okay with this being merged into vendor-extensions. I just wanted to ensure that we had at least tested the implementation at least once in a dog fooding exercise.

I went ahead and added the link to the iTwin.js PR as a known implementation.

Copy link
Collaborator

@weegeekps weegeekps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@weegeekps weegeekps merged commit d43d15f into vendor-extensions Jan 23, 2026
3 checks passed
@weegeekps weegeekps deleted the BENTLEY_materials_planar_fill branch January 23, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants