Which bunny is rendered with Voxels? If you answered "the one that's not Z-sorted properly" then you are correct! It may not look like much, but now the voxels use the same matrices for positioning as the rest of my code. Well, the projection isn't the same, but it's a very close (and very dirty) approximation. The modelview matrices are however the same. So finally the normals, the projection, the positioning, are identical. And back to tradition, here is the code.
No comments:
Post a Comment