HN user

936936

8 karma
Posts0
Comments3
View on HN
No posts found.

Your vertex buffer should hold indices for which bones influence the position of each vertex and by what fraction. Each vertex could, for example, have 4 indices and 4 floats to indicate these values, and these only need to be uploaded to the gpu once.

The transformation matrices are interpolated for each rendered frame using the hierarchial animation data and the computed matrices are uploaded to the gpu in a buffer. The matrices are accessed in the vertex shader by indexing into the matrix buffer to calculate the vertex position.

There is an option for normal chronological ordering on the posts page though I can't comment on the mobile version. A curious thing I noticed was every time I loaded more posts it would take longer than previously. Going through hundreds of posts like this would result in waiting for minutes for the next set of posts to load in.