Clarify the vertices-texture and texture.values relation #196
Unanswered
balazsdukai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The section on how to store textures on a geometry says "The other indices refer to the UV positions of the corresponding vertices (as listed in the "boundaries" member of the geometry). Therefore, each array representing a ring has one more value than the number of vertices in the ring." ref
Thus, there must be a UV coordinate for each vertex of the boundary.
The UV coordinates are stored in the vertices-texture object. It states that the vertices "position in this array (0-based) is used by the "texture" member of the Geometry Objects.".
The text also states that "the array of vertices may be empty".
However, if the "vertices-texture" array is empty, then there are no UV coordinates that can be referenced by the "geometry.texture.values" array, which creates an invalid texture definition, that is impossible to visualize.
Or am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions