From 0 to glTF with WebGPU: Rendering the First glTF Mesh #2
Twinklebear
started this conversation in
General
Replies: 1 comment 14 replies
-
Hi, quick question, I was wondering what the primitive.positions.length property represents in the GLTFPrimitiveClass's render function. As I understand it, the positions property in the GLTFPrimitive Class represent a GLTFAccessor instance for the positions information in the buffer. However, in the current iteration of the GLTFAccessor Class, it doesn't seem like GLTFAccessor has a .length property, even though it is referenced when we are setting the VertexBuffer in GLTFPrimitive.render. Is this a mistake or am I missing something? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ask any questions or post comments here for about the "Rendering the First glTF Mesh" post
Beta Was this translation helpful? Give feedback.
All reactions