Mr.doob
a9e185aa70
Updated README includes.
...
Pushed revision number to 31.
2010-12-06 10:32:38 +00:00
Mr.doob
a030086cf5
texture.loaded = true → texture.image.loaded = true
2010-12-06 10:09:50 +00:00
Mr.doob
e7f5f3865a
Fixed WebGL Wrappings.
...
Added WebGL Texture Filters.
2010-12-06 08:50:28 +00:00
Mr.doob
fecd2f3a39
python build.py --includes generate a includes.js for easy copy/pasting
...
TODO: Would be nice if `buildIncludes()` would reuse `buildCommon()` array.
2010-12-06 06:29:05 +00:00
alteredq
a395e120c3
Updated WebGLRenderer and corresponding examples to work with new Texture API.
2010-12-04 19:53:30 +01:00
Mr.doob
00795b3a83
Updated CanvasRenderer and some examples to handle the Texture( image, mapping) approach.
2010-12-04 16:33:16 +00:00
Mr.doob
315bc5ad3e
Updated build.
2010-12-03 16:13:04 +00:00
alteredq
a1d68ddba3
Fixed bug(s) causing broken Fresnel demo.
...
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 :(
2010-12-03 13:25:59 +01:00
Mr.doob
584a8440fd
Merging with alteredq's branch.
2010-12-02 17:24:56 +00:00
Mr.doob
59304d8a6e
Matrix4.transformVector3 ⟶ Matrix4.multiplyVector3
...
Matrix4.transformVector4 ⟶ Matrix4.multiplyVector4
2010-12-02 17:19:23 +00:00
Mr.doob
2929d5a345
GeometryUtils::merge were not copying centroid/normal/material.
2010-12-02 13:40:04 +00:00
Mr.doob
1d7a14733b
ReflectionMapping working with MeshBasicMaterial/CanvasRenderer \:D/
...
TODO: Add computeVertexNormals on geometry so any object can use it.
2010-12-01 17:49:02 +00:00
Mr.doob
7441b1de59
Implemented gero3's Matrix4.transformVector3 optimisation ( http://jsperf.com/diff-in-speed-for-three-js ).
2010-12-01 16:00:13 +00:00
alteredq
e57b0c5ba6
Synced with mrdoob's branch.
2010-12-01 12:52:09 +01:00
alteredq
c1cb8e9067
Added handling of 2d textures in MeshShaderMaterial.
2010-12-01 09:38:52 +01:00
alteredq
0f9184888a
Refactored common code for cube texture setting into separate setCubeTexture function.
2010-12-01 09:24:25 +01:00
alteredq
da9094710f
Made refraction examples working again.
...
Somehow they got forgotten in the merge when "THREE.RefractionMap" got renamed to "THREE.RefractionMapping".
2010-11-30 19:51:22 +01:00
Mr.doob
e72b82cda2
Merging with orgicus' branch.
2010-11-30 17:30:45 +00:00
Mr.doob
f9f7d3645f
Merging with alteredq's branch.
2010-11-30 17:22:20 +00:00
Mr.doob
a6c9984a67
Commented some WIP code in CanvasRenderer so it doesn't throw warnings while compiling.
...
Modified build script to avoid the extra full compilation.
2010-11-30 17:18:05 +00:00
Mr.doob
47d6116179
Merging with alteredq's branch.
2010-11-30 16:48:33 +00:00
Mr.doob
95ec00f8ac
Updated builds.
2010-11-30 16:24:10 +00:00
Mr.doob
67250c69d9
Merging with alteredq's branch.
2010-11-30 05:06:46 +00:00