- 02 Dec, 2010 9 commits
-
-
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 15 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
-
alteredq authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
- 30 Nov, 2010 16 commits
-
-
alteredq authored
Somehow they got forgotten in the merge when "THREE.RefractionMap" got renamed to "THREE.RefractionMapping".
-
sole authored
-
Mr.doob authored
-
Mr.doob authored
-
sole authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
-
Mr.doob authored
Modified build script to avoid the extra full compilation.
-
alteredq authored
-
Mr.doob authored
-
Mr.doob authored
-