Geeks3D Forums

Tech Forums => 3D-Tech News Around The Web => Topic started by: Stefan on January 23, 2013, 07:14:46 PM

Title: (WebGL) 150000 rotating cubes
Post by: Stefan on January 23, 2013, 07:14:46 PM
Quote
Simple 150,000 rotating cubes (http://www.chromeexperiments.com/detail/webgl-cubes/?f=webgl&ModPagespeed=noscript) lit with three lights (one directional and two point lights).

Trying to offload as much computation to GPU as possible. Single geometry, one drawcall, 1.8 million triangles.

Looks like Chrome for Android has some issues with floating points (spikey distortions).
Now i know why they disabled WebGL by default   ;D

(https://aa2qna.bay.livefilestore.com/y1mYFzXpAeO_iMCEZcwITllIEsixnnWL6ex25zcz-_nQklhITnzO5Y70Rizm0PLZRHoD1eEDoxXpgEqLzlexiM2LUR_-GpF-o8RMH8Ig01j-BQ/Screenshot_2013-01-19-09-19-02.png?psid=1)
Title: Re: (WebGL) 150000 rotating cubes
Post by: Stefan on February 05, 2013, 08:36:01 PM
I made a wrong assumption above.
The culprit was Tegra 3 which doesn't support float textures.

Rechecked with Nexus 4 (Snapdragon S4 Pro) (http://www.geeks3d.com/forums/index.php/topic,2943.msg3460.html#msg3460)

(https://misskq.bn1.livefilestore.com/y1mbT--Spw67Zd7cARprttXStPqdqKxYF4LHpvCHdamEIpEaki7HNhulQEwE9n9-FNDdG4uSzKv-1gf9RSAVjE6H96ECmHK9qg9ELUumslWeVs/Screenshot_2013-02-05-20-22-35.png?psid=1)