-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Issue 820 #833
Issue 820 #833
Conversation
@emilian0 since this is WIP, can you add a tasklist (like the TODOs in #826) with any remaining items? @tparisi @lexaknyazev do you guys want to review this? |
Tightening up:
|
When |
@lexaknyazev Indices are intended per value right now (one per VEC3 entry). What use case do you have in mind when you say it will make more sense with the index being per component? (skinning?)
|
I meant per value. |
So @lexaknyazev it sounds like we both want indices to be per value. Thank you for clarifying that. I will re-iterate that in the specs. Will make the changes and ping you. |
…ot of the accessor.Thank you Alexey for pointing it out
…ictly increasing integer array
@lexaknyazev I believe I addressed your concerns.
|
Looks good. Couple more tweaks:
|
@lexaknyazev accessor range should be a union between the range in the initialization array and the range in the final (sparse) array. Does this sound reasonable to you? Rationale: a glTF implementation not supporting sparse arrays will fall back to the standard accessor implementation, we want the range (min/max) to work for both. Sounds good? (the other two were typos, thank you for catching them!) |
Not sure about union of ranges. Why reduce bounding box efficiency for fully conformant implementation? |
To avoid things not rendering at all on non-conformant implementations! It is a trade off between being efficient in the fully conformant implementations vs being conservative enough so that things work in the old version. I am fine either way, it sounds like you value efficiency in conformat over fall-back on non conformant, I am happy to make the change. |
…parse accessors
Work in progress branch (Issue #820 ) to be merged to glTF 2.0 specs branch.
TODO: