-
-
Notifications
You must be signed in to change notification settings - Fork 34
Extract glTF utility to its own project. #801
Conversation
XRTK-Core/Packages/com.xrtk.core/Runtime/Providers/Controllers/BaseController.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
My question would be, why does XRTK needs its own implementation of glTF / its own glTF module? This is something I haven't been using at all yet and thus can't really judge. So why do we need this and what is the resolution for this PR? |
The separate implementation is simply another variant on the Khronos implementation but updated to use Unity JSON and a host of other improvements. I think it's worth preserving and maintaining in its own repo. But being separate means you can use your own if you wish instead.
That's what confused me, just hadn't had the time to circle back to this conversation. Any further thoughts @StephenHodgson ? |
Yes this is true, for edit time, but if we have a 3rd party glTF importer it'll likely pass a GameObject reference as either the instantiated object or an object to insatiate. I suppose that's what I'm looking for exactly. Just to link the references up (if the object has already been created) or to create it for us if it's not already in the scene. |
Fair enough, now I get it. |
@StephenHodgson As commented above, you don't need a GameObject reference, just write your own Visualizer to load the glTF model and set the Visualizer type to your new visualiser for the controllers you want to configure. |
What is failing the build? |
XRTK-Core/Packages/com.xrtk.core/Editor/BuildAndDeploy/BuildDeployWindow.cs
Outdated
Show resolved
Hide resolved
Just checked, it's complaining about the Examples project. I'll do a quick PR to also remove the glTF samples from there |
Pushed an update to change the branch for examples and the recent comments |
@StephenHodgson Issues resolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep the glTF examples and just update the references
Uplifted Core version dependency for Submodules
@SimonDarksideJ let's be sure to create a issue in WMR for adding the visualizer later on once the glTF package is published. |
* Remove glTF loading from WMR package Supports: XRTK/com.xrtk.core#801 * Uplifted Core version dependency * updated package dependencies * updated gitignore Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
* PR to extract the glTF utilities in to their own project. Resolves #800 * Version bump * Added string extensions for analysing file names from URI paths for glTF web loading * Addressed feedback * Updated Examples branch * Updated Submodules/Examples and Submodules/WindowsMixedReality to paired glTF updates * Reverted Examples PR and switched it to use the new glTF package Uplifted Core version dependency for Submodules Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
* Remove glTF loading from WMR package Supports: XRTK/com.xrtk.core#801 * Uplifted Core version dependency * updated package dependencies * updated gitignore Co-authored-by: Stephen Hodgson <hodgson.designs@gmail.com>
XRTK - Mixed Reality Toolkit Pull Request
Overview
PR to extract the glTF utilities in to their own project.
Having a specific gLTF library within the XRTK restricted used from using their own glTF libraries and binds XRTK to tightly on a single glTF solution.
This PR simple removes the current glTF solution and moves it to it's own optional repo
Changes
Breaking Changes
Related Submodule Changes