Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the HTK's drop of UnityGLTF with the correct coordinate space #2638

Merged
merged 4 commits into from
Aug 25, 2018

Conversation

keveleigh
Copy link
Contributor

Overview

The drop of UnityGLTF we currently have is outdated with regards to the Z forward direction. More information can be found at KhronosGroup/glTF#1043.

This PR does a minor update (not to the latest) of UnityGLTF in order to resolve this coordinate space discrepancy.

@keveleigh keveleigh added Ready for Review Legacy (HoloToolkit) Issues specific to the HoloToolkit product GLTF Issues associated with the new GLTF open standard for exporting and importing 3D scenes and models labels Aug 25, 2018
@keveleigh keveleigh self-assigned this Aug 25, 2018

yield return gltfScript.WaitForModelLoad();
var sceneImporter = new GLTFSceneImporter(
"",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

string.empty?

Copy link
Contributor Author

@keveleigh keveleigh Aug 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine as-is. If for perf concerns, it appears there's no real difference:

https://stackoverflow.com/questions/263191/in-c-should-i-use-string-empty-or-string-empty-or-to-intitialize-a-string

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah no difference there, just easier to spot and read imo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, I see! I wasn't sure what you were asking from your original comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GLTF Issues associated with the new GLTF open standard for exporting and importing 3D scenes and models Legacy (HoloToolkit) Issues specific to the HoloToolkit product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants