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
|
@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. |
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
5c12ef8 to
a21abda
Compare
This comment was marked as resolved.
This comment was marked as resolved.
|
can you add some pointer samples to get Ref-Objects via json pointers? like pointer/get > /animations/0, to get the animation reference. and: is "/animations/0" the correct format to get the reference from animation-index 0? or would it be "/animations/0/"? |
Rendered version: https://github.com/KhronosGroup/glTF/blob/interactivity/extensions/2.0/Khronos/KHR_interactivity/Specification.adoc