Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e6c0837
EXT_mesh_primitive_edge_visibility
pmconne Mar 13, 2025
771816c
tweaks
pmconne Mar 14, 2025
9159f19
copyright
pmconne Mar 14, 2025
7509571
address schema TODOs
pmconne Mar 14, 2025
2bf3eea
require zero initialization.
pmconne Mar 17, 2025
6809e9b
WIP revise
pmconne Apr 14, 2025
00ed7a3
lineStrings
pmconne Apr 14, 2025
ee0d667
silhouettes
pmconne Apr 14, 2025
9dfdb73
WIP example
pmconne Apr 14, 2025
35c328b
lineStrings examples
pmconne Apr 14, 2025
102f154
WIP update schema
pmconne Apr 14, 2025
3530185
update schema
pmconne Apr 14, 2025
8149190
/s/client/engine
pmconne Apr 14, 2025
7b23b66
rendering requirements
pmconne Apr 14, 2025
a5fb723
rename schema
pmconne May 11, 2025
fff86b4
grammar
pmconne May 12, 2025
c449bbf
Expand title
pmconne May 28, 2025
5df0dd9
fix winding order
pmconne May 30, 2025
96aa219
update json schema
pmconne May 30, 2025
9746de8
silhouette mates => silhouette normals
pmconne Jul 31, 2025
bf816db
oct16
pmconne Aug 1, 2025
e3e4cc5
update silhouette normal encoding
pmconne Aug 13, 2025
07b8d8d
implementation note re silhouette normals
pmconne Aug 13, 2025
3c7fc9d
Removed the copyright text in EXT_mesh_primitive_edge_visibility README
weegeekps Oct 6, 2025
37038bd
Included a CC-BY-4.0 SPDX copyright line at the top of the file.
weegeekps Oct 6, 2025
a9ce053
Add SVG versions of original ASCII art figures.
markschlosseratbentley Oct 20, 2025
8de356f
Add SVG versions of original ASCII art figures.
markschlosseratbentley Oct 20, 2025
94aeded
add CesiumJS known implementation
markschlosseratbentley Oct 23, 2025
8f80e89
Update README.md
danielzhong Nov 12, 2025
8384b27
added diagrams, so editing README contributors
markschlosseratbentley Nov 20, 2025
679bc5d
optimize PNG images
danielzhong Apr 6, 2026
56863b6
Update README.md
danielzhong Apr 6, 2026
7bdecf4
Update README.md
danielzhong Apr 7, 2026
97cc365
Update lineString.schema.json
danielzhong Apr 7, 2026
e91be75
Update README.md
danielzhong Apr 7, 2026
20946bb
Update README.md
danielzhong Apr 7, 2026
64ed5be
Update README.md
danielzhong Apr 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 220 additions & 0 deletions extensions/2.0/Vendor/EXT_mesh_primitive_edge_visibility/README.md

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "lineString",
"title": "Line String",
"type": "object",
"description": "Represents one or more line strings to be drawn as edges of a triangle mesh",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"properties": {
"indices": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of the accessor that contains the vertex indices for the line strings",
"gltf_detailedDescription": "The index of the accessor that contains the vertex indices. The accessor **MUST** have `SCALAR` type and an unsigned integer component type. The indices are permitted to include the maximal index value for the component type, indicating the start of a new line string."
},
"material": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of a glTF material with which the edges are to be drawn.",
"gltf_detailedDescription": "The index of a glTF material with which the edges are to be drawn. If omitted, the edges are drawn using the same material as the edges encoded by the extension's `visibility` field, or else that of the triangle mesh primitive."
},
"extensions": {},
"extras": {}
},
"required": [
"indices"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "EXT_mesh_primitive_edge_visibility glTF Mesh Primitive Extension",
"type": "object",
"description": "glTF extension encoding the visibility of the edges of a triangles primitive",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"properties": {
"visibility": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of the accessor encoding the visibility of each triangle edge as a bitfield with two bits per edge.",
"gltf_detailedDescription": "An edge visibility of 0 indicates the edge is never drawn; 1 indicates the edge is only drawn in silhouette; 2 indicates a 'hard' (always-drawn) edge; and 3 indicates a repeated occurrence of a 'hard' edge."
},
"material": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of a glTF material with which the edges are to be drawn.",
"gltf_detailedDescription": "The index of a glTF material with which the edges are to be drawn. If omitted, the edges are drawn using the same material as the triangle mesh primitive."
},
"silhouetteNormals": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of the accessor encoding the pair of outward-facing normals for the two faces sharing each silhouette edge (visibility 1) encoded in `visibility`.",
"gltf_detailedDescription": "This property **MUST** be defined if and only if `visibility` encodes at least one edge with visibility value `1`."
},
"lineStrings": {
"type": "array",
"description": "An array of edges encoded as line strings.",
"gltf_detailedDescription": "Edges encoded as line strings **MUST NOT** also be encoded by the `visibility` property.",
"items": {
"$ref": "lineString.schema.json"
},
"minItems": 1
},
"extensions": {},
"extras": {}
}
}