Re:MozVR
by forrestthewoods on Monday November 10, 2014 @01:32PM
(#8585295)
VR demands 90+ FPS with minimum latency and no dropped frames. God I hope browsers can someday meet that level of performance.
[ Parent
| on HN ]
They are working on it.
http://blog.bitops.com/blog/2014/06/26/first-steps-for-vr-on...
Totally doable if you eliminate the huge bottleneck caused by marshalling native types in JavaScript into the limited type system of XML (only strings and children).
For example, setting a CSS matrix3d transform on a DOM element currently involves taking a JavaScript array of 16 floats and stringifying it to set the element.style.transform. The browser then takes this string and parses it back into an array of floats. Eliminating these type marshalling shenanigans will make 90 fps far more achievable.