Hey There!
Does anyone know if different machines, running the same .nexe files can have significantly different levels of floating point precision?
Why I ask is that after launching my raytraced snake game, besides the locking problem (resolved in another thread, thank you guys so much!) another issue I've encountered is that when some people run it, they are randomly getting black pixels.
I am able to compile and run my code in a directx wrapper in a similar way that i can compile and run on nacl so i looked into it on the directx side and was able to repro an issue very similar to this by changing my floating point compile settings from "precise" to "fast".
As a test, i found where it was failing for ME in floating point fast mode and "corrected it" to work ok in fast mode.
I made a test NaCl build with this change, put it up on my site, and had some of the people reporting black pixels try it out and their black pixels were fixed too!
So, I'm curious... is this expected behavior? If so, i think the "propper" fix may be to make the scale of my world larger... the width and height of my screen view of the world is from 0 to 1 on each axis, so you can understand the units im dealing with at resolutions of 500x500 or 1000x1000.
Also, if this is expected behavior, this sort of makes me worry about the quality of normalized vectors on some machines.
Any community / developer thoughts on this subject? Am i misdiagnosing the issue?
Just trying to better understand the platform specific issues we have to deal with on NaCl.
Thanks!