- 27 10月, 2010 1 次提交
-
-
由 alteredq 提交于
Changed camera matrix update in WebGLRenderer to happen just once per frame, no need to do it with every object.
-
- 26 10月, 2010 2 次提交
-
-
由 alteredq 提交于
Premultiplied alpha in WebGLRenderer for MeshColorFillMaterial and MeshColorStrokeMaterial (to get closer to CanvasRenderer look).
-
由 alteredq 提交于
Refactored multimaterials to also work with non-textured models composed from multiple material groups. Old version was doing massive overdraw (whole mesh was drawn for each material). Even current solution is still quite messy: there is a different behavior for stroke and fill materials (when used as secondary materials). Stroke materials are applied to the complete mesh (as most common use case seems to be wireframe) while fill materials now apply only to faces within single material group (when "decalIndex" property of secondary fill material is set).
-
- 25 10月, 2010 2 次提交
- 24 10月, 2010 1 次提交
-
-
由 alteredq 提交于
Added rudimentary 3x3 matrix class (just transpose, as this is needed for normal matrix).
-
- 23 10月, 2010 2 次提交
- 22 10月, 2010 1 次提交
-
-
由 alteredq 提交于
Added multipass multimaterials to WebGLRenderer. Refactored WebGLRenderer shader to become proto-mini-ubershader (untershader :). Line width is currently not set properly on Chrome in Windows: http://code.google.com/p/chromium/issues/detail?id=60124
-
- 21 10月, 2010 1 次提交
-
-
由 alteredq 提交于
Extended CanvasRenderer to be able to handle decals (MeshBitmapUVMappingMaterials as secondary materials). For decals you need to set "decalIndex" property of the material (corresponding to materials index of the original mesh UV material). Added multimaterials example. Fixed forgotten sphere smoothing in OBJ converter example.
-
- 20 10月, 2010 2 次提交
- 18 10月, 2010 1 次提交
-
-
由 unknown 提交于
Added OBJ converter test example. Modified Three.js to handle converted models: - extended WebGL renderer to use texturing - broke down model into multiple VBOs according to materials - textures are lazy created when images get loaded (converter takes care of resizing images to nearest power of 2 dimensions using 2d canvas) - changed material array semantics in Mesh object - before: multiple materials were applied to all faces (broken in WebGL, needs multitexturing shader) - now: there is only single material per face, but one mesh can have faces with different materials - added per vertex normals (to get smooth shading in WebGL)
-
- 06 10月, 2010 1 次提交
-
-
由 Mr.doob 提交于
* `CanvasRenderer` and `SVGRenderer` basic lighting support (`*ColorStroke`/`*ColorFill` only) * `Renderer` > `Projector`. `CanvasRenderer`, `SVGRenderer` and `DOMRenderer` do not extend anymore * Interactivity base code (hdi folder). To be refactored... ([mindlapse](http://github.com/mindlapse)) * Added `computeCentroids` method to `Geometry` * Included `Stats.js` directly in the `/examples` folder to avoid the need of internet for playing around
-
- 30 9月, 2010 1 次提交
-
-
由 mindlapse 提交于
-
- 29 9月, 2010 3 次提交
-
-
由 Julian Walker 提交于
Using projection * view * obj matrix to transform vertices in Renderer instead of transforming twice (once by view * obj and once by projection).
-
由 Julian Walker 提交于
-
由 Julian Walker 提交于
-
- 27 9月, 2010 1 次提交
-
-
由 Ben Nolan 提交于
* Added getCenter to Face4
-
- 21 9月, 2010 1 次提交
-
-
由 Mr.doob 提交于
- Minor tweaks
-
- 18 9月, 2010 2 次提交
- 17 9月, 2010 1 次提交
-
-
由 Mr.doob 提交于
-
- 09 9月, 2010 7 次提交
-
-
由 Nicolas Garcia Belmonte 提交于
* Bug Fix: Matrix4.makeInvert was calling a non existent scale method. Replaced with multiplyScalar. * Bug Fix: DirectionalLight wasn't normalizing the direction vector. * Added lights to the scene for test.html
-
由 Nicolas Garcia Belmonte 提交于
* Add lighting code in the scene rendering loop
-
由 Nicolas Garcia Belmonte 提交于
-
由 Nicolas Garcia Belmonte 提交于
-
由 Nicolas Garcia Belmonte 提交于
-
由 Nicolas Garcia Belmonte 提交于
-
由 Nicolas Garcia Belmonte 提交于
-
- 03 9月, 2010 3 次提交
-
-
由 Nicolas Garcia Belmonte 提交于
* Added float precision in shader code to shaders compile now. * Changed occurrences of WebGL typed Arrays and UnsignedShort typed arrays to new array types
-
由 Nicolas Garcia Belmonte 提交于
-
由 Nicolas Garcia Belmonte 提交于
-
- 21 8月, 2010 1 次提交
-
-
由 Mr.doob 提交于
* Additional `Matrix4` and `Vector3` methods
-
- 02 8月, 2010 1 次提交
-
-
由 Mr.doob 提交于
-
- 24 7月, 2010 2 次提交
- 22 7月, 2010 1 次提交
-
-
由 Mr.doob 提交于
-
- 21 7月, 2010 1 次提交
-
-
由 Mr.doob 提交于
-
- 19 7月, 2010 1 次提交
-
-
由 Mr.doob 提交于
-