You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding is that "Upload World JSON" is kind of a shortcut to having an actual glTF; it allows passing in some JSON data (ideally basically a glTF file or subset thereof) and then operating on that data.
My expectation is that this should log "true". Is that incorrect?
EDIT: After looking into the code, it seems like only /nodes/99/scale, rotation, translation is hardcoded for pointer access instead of using what's available in the world model.
Loading a GLB also doesn't seem to actually make it possible to access the JSON data inside; only specific properties are registered
The text was updated successfully, but these errors were encountered:
In order to use a pointer path that appears in the WorldJson for either engine we would need to register it in the decorator. For the actual Babylon 3D one this means figuring out and implementing the mapping from glTF -> Babylon representation. For the logging one we could just literally dive directly into the JSON and then any pointer in that worldJson is "valid", but I think it would be best to explicitly only enable pointers which are glTF valid found https://github.com/KhronosGroup/glTF/blob/main/specification/2.0/ObjectModel.adoc
My understanding is that "Upload World JSON" is kind of a shortcut to having an actual glTF; it allows passing in some JSON data (ideally basically a glTF file or subset thereof) and then operating on that data.
However, I can't seem to get it to work.
Here's the World JSON I tried to use:
and here's the graph:
My expectation is that this should log "true". Is that incorrect?
EDIT: After looking into the code, it seems like only
/nodes/99/scale, rotation, translation
is hardcoded for pointer access instead of using what's available in the world model.Loading a GLB also doesn't seem to actually make it possible to access the JSON data inside; only specific properties are registered
The text was updated successfully, but these errors were encountered: