4 ms·
I thought that subtracting two large numbers to get a small one is one of the things that gives you precision issues in floats?
by andreareina 9y ago
I thought that subtracting two large numbers to get a small one is one of the things that gives you precision issues in floats?
- Const-me 9y agoYou can use 64 bit floats for intermediate matrices. A matrix is just 16 numbers, quite fast to compute even with doubles. Also if you’ll do nothing and ignore precision issues, numerical errors made while calculating the WVP matrix won’t cause such voxelization of models. A model can be slightly misplaced, maybe jittery between frames, but the shape will stay fine.
- andreareina 9y agoThanks for the explanation!