-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Create reference implementation for BENTLEY_materials_point_style #13093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
markschlosseratbentley
wants to merge
13
commits into
main
Choose a base branch
from
markschlosser/BENTLEY_materials_point_style
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6c71ebc
support BENTLEY_materials_point_style
markschlosseratbentley 0432ac5
Merge branch 'main' into markschlosser/BENTLEY_materials_point_style
markschlosseratbentley 7b2920c
CHANGES.md
markschlosseratbentley ada5813
unit test
markschlosseratbentley 200d086
use unsigned short indices so CI can work if OES_element_index_uint i…
markschlosseratbentley 24025b5
make the sandcastle example be dev
markschlosseratbentley 9ebb71b
make the sandcastle example be dev
markschlosseratbentley e3e4ab0
Remove Showcases label
markschlosseratbentley c62fed7
Merge branch 'main' into markschlosser/BENTLEY_materials_point_style
danielzhong 81bfcf3
Merge branch 'main' into markschlosser/BENTLEY_materials_point_style
ggetz f93f622
only use one copy of the .gltf sample file
markschlosseratbentley a01e317
Merge branch 'main' into markschlosser/BENTLEY_materials_point_style
markschlosseratbentley 0f9f332
Merge branch 'main' into markschlosser/BENTLEY_materials_point_style
markschlosseratbentley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
222 changes: 222 additions & 0 deletions
222
Specs/Data/Models/glTF-2.0/StyledPoints/points-r5-g8-b14-y10.gltf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,222 @@ | ||
| { | ||
| "asset": { | ||
| "version": "2.0" | ||
| }, | ||
| "extensionsUsed": [ | ||
| "BENTLEY_materials_point_style" | ||
| ], | ||
| "accessors": [ | ||
| { | ||
| "bufferView": 0, | ||
| "byteOffset": 0, | ||
| "componentType": 5126, | ||
| "count": 4, | ||
| "type": "VEC3", | ||
| "max": [ | ||
| 5.0, | ||
| 5.0, | ||
| 5.0 | ||
| ], | ||
| "min": [ | ||
| -5.0, | ||
| -5.0, | ||
| -5.0 | ||
| ] | ||
| }, | ||
| { | ||
| "bufferView": 1, | ||
| "byteOffset": 0, | ||
| "componentType": 5123, | ||
| "count": 1, | ||
| "type": "SCALAR", | ||
| "max": [ | ||
| 0 | ||
| ], | ||
| "min": [ | ||
| 0 | ||
| ] | ||
| }, | ||
| { | ||
| "bufferView": 1, | ||
| "byteOffset": 4, | ||
| "componentType": 5123, | ||
| "count": 1, | ||
| "type": "SCALAR", | ||
| "max": [ | ||
| 1 | ||
| ], | ||
| "min": [ | ||
| 1 | ||
| ] | ||
| }, | ||
| { | ||
| "bufferView": 1, | ||
| "byteOffset": 8, | ||
| "componentType": 5123, | ||
| "count": 1, | ||
| "type": "SCALAR", | ||
| "max": [ | ||
| 2 | ||
| ], | ||
| "min": [ | ||
| 2 | ||
| ] | ||
| }, | ||
| { | ||
| "bufferView": 1, | ||
| "byteOffset": 12, | ||
| "componentType": 5123, | ||
| "count": 1, | ||
| "type": "SCALAR", | ||
| "max": [ | ||
| 3 | ||
| ], | ||
| "min": [ | ||
| 3 | ||
| ] | ||
| } | ||
| ], | ||
| "buffers": [ | ||
| { | ||
| "byteLength": 64, | ||
| "uri": "data:application/octet-stream;base64,AACgwAAAoMAAAKDAAACgQAAAoMAAAKDAAAAAAAAAoEAAAKDAAAAAAAAAAAAAAKBAAAAAAAEAAAACAAAAAwAAAA==" | ||
| } | ||
| ], | ||
| "bufferViews": [ | ||
| { | ||
| "buffer": 0, | ||
| "byteOffset": 0, | ||
| "byteLength": 48, | ||
| "target": 34962 | ||
| }, | ||
| { | ||
| "buffer": 0, | ||
| "byteOffset": 48, | ||
| "byteLength": 16, | ||
| "target": 34963 | ||
| } | ||
| ], | ||
| "materials": [ | ||
| { | ||
| "name": "Red", | ||
| "pbrMetallicRoughness": { | ||
| "baseColorFactor": [ | ||
| 1.0, | ||
| 0.0, | ||
| 0.0, | ||
| 1.0 | ||
| ], | ||
| "metallicFactor": 0.0 | ||
| }, | ||
| "extensions": { | ||
| "BENTLEY_materials_point_style": { | ||
| "diameter": 5.0 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "name": "Green", | ||
| "pbrMetallicRoughness": { | ||
| "baseColorFactor": [ | ||
| 0.0, | ||
| 1.0, | ||
| 0.0, | ||
| 1.0 | ||
| ], | ||
| "metallicFactor": 0.0 | ||
| }, | ||
| "extensions": { | ||
| "BENTLEY_materials_point_style": { | ||
| "diameter": 8.0 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "name": "Blue", | ||
| "pbrMetallicRoughness": { | ||
| "baseColorFactor": [ | ||
| 0.0, | ||
| 0.0, | ||
| 1.0, | ||
| 1.0 | ||
| ], | ||
| "metallicFactor": 0.0 | ||
| }, | ||
| "extensions": { | ||
| "BENTLEY_materials_point_style": { | ||
| "diameter": 14.0 | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "name": "Yellow", | ||
| "pbrMetallicRoughness": { | ||
| "baseColorFactor": [ | ||
| 1.0, | ||
| 1.0, | ||
| 0.0, | ||
| 1.0 | ||
| ], | ||
| "metallicFactor": 0.0 | ||
| }, | ||
| "extensions": { | ||
| "BENTLEY_materials_point_style": { | ||
| "diameter": 10.0 | ||
| } | ||
| } | ||
| } | ||
| ], | ||
| "meshes": [ | ||
| { | ||
| "name": "PointCloud", | ||
| "primitives": [ | ||
| { | ||
| "mode": 0, | ||
| "material": 0, | ||
| "indices": 1, | ||
| "attributes": { | ||
| "POSITION": 0 | ||
| } | ||
| }, | ||
| { | ||
| "mode": 0, | ||
| "material": 1, | ||
| "indices": 2, | ||
| "attributes": { | ||
| "POSITION": 0 | ||
| } | ||
| }, | ||
| { | ||
| "mode": 0, | ||
| "material": 2, | ||
| "indices": 3, | ||
| "attributes": { | ||
| "POSITION": 0 | ||
| } | ||
| }, | ||
| { | ||
| "mode": 0, | ||
| "material": 3, | ||
| "indices": 4, | ||
| "attributes": { | ||
| "POSITION": 0 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "nodes": [ | ||
| { | ||
| "name": "PointCloudNode", | ||
| "mesh": 0 | ||
| } | ||
| ], | ||
| "scenes": [ | ||
| { | ||
| "nodes": [ | ||
| 0 | ||
| ] | ||
| } | ||
| ], | ||
| "scene": 0 | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.