- 06 Dec, 2010 9 commits
- 05 Dec, 2010 1 commit
-
-
Mr.doob authored
-
- 04 Dec, 2010 3 commits
- 03 Dec, 2010 6 commits
-
-
Mr.doob authored
Need to test this on IE9... :)_
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
Maybe `Geometry::computeNormals` should be renamed to `Geometry::computeFaceNormals`?
-
alteredq authored
-
alteredq authored
As suspected, this was caused by incorrect shader state management when switching between multiple shaders (thanks Firefox for verbose warnings). Also, testing WebGL performance is very tricky. You can get different performance depending on the state of browsers / system (messed up state can be 10-66% slower): 1. freshly started Chrome can be much faster than Chrome that already ran few WebGL demos (which are now closed) 2. demo opened in new Chrome tab can be faster than demo reloaded in the same tab 3. even demos opened and closed in Firefox can slow down Chrome demos This suggests that browsers do not clean GPU state properly :(
-
- 02 Dec, 2010 10 commits
-
-
Mr.doob authored
Added irc channel info in README.
-
Mr.doob authored
Now that WebGLRenderer does VBO per geometry I guess we don't need that GeometryUtils.merge there. Makes loading much faster too. Fresnel demo has a weird artifact now... As if the cubemap was smaller than the far of the camera?
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
Matrix4.transformVector4 ⟶ Matrix4.multiplyVector4
-
alteredq authored
-
alteredq authored
The most tangible practical effect is that demos with multiple Lucys / Walts are now initialized much faster ;). Reuse is achieved mostly by moving mesh chunks / VBOs (formerly called materialFaceGroups) from Mesh into Geometry. This means sorting of geometry by face materials + breaking large geometries into chunks now has to be done after construction of geometry. It becomes a step in the usual sequence: geometry.computeNormals(); geometry.computeCentroids(); geometry.sortFacesByMaterial(); If geometry is constructed programmatically (e.g. with GeometryUtils.merge), this has to be called afterwards. Also of note: single geometry cannot be reused both for flat and smooth shading, as only one stream of normals is baked into VBO.
-
Mr.doob authored
-
alteredq authored
-
- 01 Dec, 2010 11 commits
-
-
Mr.doob authored
-
Mr.doob authored
TODO: Add computeVertexNormals on geometry so any object can use it.
-
Mr.doob authored
Because CanvasRenderer now checks if `map.loaded == true` (following WebGLRenderer behaviour) some examples got broken.
-
Mr.doob authored
Implemented gero3's Matrix4.transformVector3 optimisation ( http://jsperf.com/diff-in-speed-for-three-js ).
-
George Profenza authored
-
Mr.doob authored
-
Mr.doob authored
-
alteredq authored
-
alteredq authored
-
Mr.doob authored
-
alteredq authored
-