Skip to content

Create reference implementation for BENTLEY_materials_point_style#8835

Merged
markschlosseratbentley merged 10 commits into
masterfrom
markschlosser/point-style-gltf
Dec 5, 2025
Merged

Create reference implementation for BENTLEY_materials_point_style#8835
markschlosseratbentley merged 10 commits into
masterfrom
markschlosser/point-style-gltf

Conversation

@markschlosseratbentley

@markschlosseratbentley markschlosseratbentley commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Fixes #8834

This PR adds support for the proposed BENTLEY_materials_point_style glTF extension. The proposed specification can be found here.

This PR allows iTwin.js to process and apply the above extension when loading glTF files. This means point primitives will be able to have a diameter property specified and respected in iTwin.js when loaded via glTF.

To test this branch:

  1. Clone itwinjs-core
  2. Build test-apps/display-test-app
  3. Run display-test-app
  4. Open blank connection
image
  1. In the keyin field in the top left, enter the keyin: dta gltf
image
  1. Within the file open dialog, open test file points-r5-g8-b14-y10.gltf
  2. Observe that four points with different diameters and colors are rendered on screen.

Download test file here: points-r5-g8-b14-y10.gltf.zip

Here is a screenshot of test file points-r5-g8-b14-y10.gltf being rendered in display-test-app:

image

@markschlosseratbentley markschlosseratbentley requested a review from a team as a code owner December 5, 2025 13:38
Comment thread core/frontend/src/common/gltf/GltfSchema.ts Outdated
Comment thread core/frontend/src/tile/GltfReader.ts Outdated
Comment thread docs/changehistory/NextVersion.md Outdated
@markschlosseratbentley markschlosseratbentley enabled auto-merge (squash) December 5, 2025 15:04
@markschlosseratbentley markschlosseratbentley merged commit 0be7292 into master Dec 5, 2025
15 checks passed
@markschlosseratbentley markschlosseratbentley deleted the markschlosser/point-style-gltf branch December 5, 2025 15:07
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.

Create iTwin.js reference implementation for proposed glTF extension BENTLEY_materials_point_style

2 participants