Add KHR_interactivity draft#2293
Conversation
|
Great work! What sections are next? Also what could we release as a draft extension for SIGGRAPH 2023? |
ec4a047 to
09bd2cf
Compare
8e44b46 to
151f3ad
Compare
dc870c5 to
29e8acc
Compare
|
the term "index" for the input is not specific enough here. Which variable index? From the config array? Or the graph variable index? |
|
@robertdorn83 The operation details located after the table make it quite clear that input value socket ids correspond to graph variable indices, that is 3, 6, and 9 in your example. We'll update the table for clarity. |
|
@lexaknyazev Also, and we already talked about partly when i remember correctly, but it would be also more consistent to add the other gltf camera properties such as activeCamera.orthographic.xmag, activeCamera.orthographic.zfar, activeCamera.perspective.aspectRatio etc. These are all known standard gltf properties. |
|
|
||
| The output values are computed as follows: | ||
|
|
||
| 1. If the first three elements of the fourth row of stem:[A] are not zeros or if the last element of the fourth row of stem:[A] is not close to positive one within an implementation-defined threshold, set the `isValid` output value to false and goto to the step 11. |
There was a problem hiding this comment.
"goto to the step 11." Reads a bit odd. This step also instructs you to set isValid to false while Step 11 also instructs you to do the same
There was a problem hiding this comment.
The step 11 checks if isValid is false; it doesn't set it.
There was a problem hiding this comment.
The step 11 checks if isValid is false; it doesn't set it.
There was a problem hiding this comment.
The step 11 checks if isValid is false; it doesn't set it.
c3e6eeb to
8e3564f
Compare
|
@lexaknyazev |
|
@lexaknyazev Some questions about the ref types:
These pointer access cases and ref initial values seems to bemissing in the specs currently .. ? |
That's impossible. Only the opposite direction is currently supported.
All such pointers return refs, the Object Model is going to be updated.
Their syntax and semantics are defined in the Variables section (currently 5.3). When not set, the value is null; otherwise it must be a static (no parameters) JSON pointer string that will be resolved to a runtime reference value (if resolvable) or to null (if unresolvable) when the graph is loaded. |
|
I updated the Samples and Tests with the new Ref spec changes. They are currently in a separate branch: gltf Interactivity Assets |
bc9f61e to
c47f785
Compare
c786770 to
f027378
Compare
6623cc0 to
9fc00f8
Compare

Rendered version: https://github.com/KhronosGroup/glTF/blob/interactivity/extensions/2.0/Khronos/KHR_interactivity/Specification.adoc