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

3d-tiles: Optimize quantized positions: normalized shorts and modelMatrix adjustments #367

Merged
merged 3 commits into from
Aug 30, 2019

Conversation

ibgreen
Copy link
Collaborator

@ibgreen ibgreen commented Aug 30, 2019

Feeding in normalized shorts as position attribute now works in latest 7.3 alpha \o/

@coveralls
Copy link

coveralls commented Aug 30, 2019

Coverage Status

Coverage decreased (-4.4%) to 54.64% when pulling 9efd9f2 on ib/quantized-positions-opt into d84a79b on master.

return decodedArray;
scratchPosition
.set(positions[i * 3], positions[i * 3 + 1], positions[i * 3 + 2])
// TODO - Remove this when deck.gl allows `normalized` flag to be set on `positions`
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is not working right now? You should be able to pass any attribute-like object as an external buffer.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Stray comment. Will remove. This just started working with the recent alpha, which is why I opened the PR.

@ibgreen ibgreen merged commit 7fd8cde into master Aug 30, 2019
@ibgreen ibgreen deleted the ib/quantized-positions-opt branch August 30, 2019 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants