Commit Graph
839 Commits
Author SHA1 Message Date
alteredq d2cbf83dd3 Merged zz85's 3d text pull request, cleaned up THREE.Text code. 2011-06-03 20:31:35 +02:00
zz85 2860731edb Updated 3D Text Geometry and example 2011-06-02 01:21:37 -07:00
alteredq adca3ad139 Small optimization: moved doubleSided and flipSided properties from Mesh up to Object3D.
Having these "undefined" for non-mesh objects was causing unnecessary GL state setting when having scenes with mixed content (and coercing "undefined" to boolean turned out to be similarly costly as state setting).
2011-06-01 23:50:11 +02:00
alteredq 7c68d1734f Simplified CrosseyedWebGLRenderer: using viewports instead of FBOs.
Now it's possible to have antialiased stereo.
2011-06-01 19:48:55 +02:00
alteredq dcbcf72f55 Added CrosseyedWebGLRenderer. 2011-06-01 18:51:07 +02:00
Mr.doob 3bc8372794 Fixed camera translation bug. 2011-06-01 10:22:11 +01:00
Mr.doob c8dee063f6 Fixed cars anaglyph example. 2011-06-01 08:47:22 +01:00
Mr.doob 6bee6c3972 Added AnaglyphWebGLRenderer. 2011-06-01 08:09:32 +01:00
Mr.doob e712e894e9 Merging with egraether's branch. 2011-06-01 01:25:48 +01:00
Mr.doob 4cef1f9e7e Merge remote branch 'alteredq/master' into test 2011-05-31 04:09:28 +01:00
Mr.doob 11461f0b5d Brought back automatic centroid computation. 2011-05-31 04:09:01 +01:00
alteredq 993483763b Commented out "gl.finish", it was eating a lot of performance. 2011-05-31 01:36:53 +02:00
alteredq f104182458 Added handling of texture repeat and offset to WebGLRenderer. 2011-05-31 00:51:14 +02:00
Mr.doob 95c1727861 Added offset and repeat properties to Texture. It'll be tricky to add support for this on CanvasRenderer but should be easy on WebGLRenderer. 2011-05-30 16:49:01 +01:00
Eberhard Gräther 3981e4d712 Merge remote branch 'upstream/master' 2011-05-29 23:47:23 +02:00
Eberhard Gräther 359407b722 added new TrackballCamera-example and changed keys 2011-05-29 23:45:15 +02:00
Eberhard Gräther 20abaadaef bug fixes and _eye in TrackballCamera 2011-05-29 23:09:03 +02:00
Eberhard Gräther f4a08e574c added minMaxDistances to TrackballCamera and some refactorings 2011-05-29 15:27:37 +02:00
Eberhard Gräther 6d08b4980b added dynamic moving to TrackballCamera 2011-05-29 12:40:57 +02:00
Mr.doob 087066524a Added boundingSphere check for Meshes in Ray ( improving performance considerably). 2011-05-29 10:02:20 +01:00
Eberhard Gräther 3fcc39301b restructured TrackballCamera, final static moving version 2011-05-29 07:43:14 +02:00
Eberhard Gräther b71b063f6f added keylistening to TrackballCamera 2011-05-29 02:22:19 +02:00
Eberhard Gräther 3174dc2809 added zoom and pan to TrackballCamera 2011-05-29 01:08:02 +02:00
Mr.doob fdf0c2f558 Merge remote branch 'NINE78/master' into test 2011-05-28 23:39:53 +01:00
Mr.doob 18f7859974 Ray now intersects with particles too. (thx @jaycrossler) 2011-05-28 23:34:59 +01:00
Nik Van den Wijngaert 778672f651 Added support for custom attribute buffers to be correctly split across large meshes (>65K vertices) 2011-05-28 23:15:33 +02:00
Eberhard Gräther 902e31621e TrackballCamera first version, rotation only 2011-05-28 21:50:52 +02:00
Mr.doob 4f0199fc13 Updated closure compiler. 2011-05-28 20:18:35 +01:00
zz85 1286e5171b inital import for THREE.Text and example 2011-05-27 05:09:20 -07:00
Mr.doob ce8e05b632 (Hopefully) temporal patch for making video work on Chrome Stable + Windows. (Thanks @spite!). 2011-05-25 03:58:22 +01:00
Mr.doob 211070277d CanvasRenderer and WebGLRenderer can now reuse an already created canvas. (thx daemonburrito) 2011-05-24 02:31:59 +01:00
Mr.doob 3e523cda9e Reverting gl.texImage2D and gl.texSubImage2D switch. 2011-05-18 21:04:53 +01:00
Mr.doob 967696257d WebGLRenderer: Testing gl.finish() and gl.texImage2D instead of gl.texSubImage2D. 2011-05-18 02:12:28 +01:00
Nik Van den Wijngaert 3e0f3e6e42 rayTriangle for Face4 type now really fixed ;) 2011-05-17 14:13:12 +02:00
Nik Van den Wijngaert 0738d0c078 Fix for Face4 rayMesh (rayTriangle typo). RaycastNearest resturns index of face in addition to distance. 2011-05-17 14:07:20 +02:00
Nik Van den Wijngaert 85fe1042b6 MeshCollider takes original mesh as argument. MeshCollider's rayMesh extended to support Face4 faces (implemented as two rayTriangle calls) 2011-05-17 13:49:02 +02:00
Nik Van den Wijngaert 2954051ca7 Removed duplication of vertices, faces, and normals from MeshColliderWBox, and pass mesh directly to MeshCollider constructor 2011-05-17 12:21:42 +02:00
alteredq dc0880ee12 Updated PathCamera to use easing for look (thanks to mrdoob).
Also added silly path camera example.
2011-05-11 00:35:36 +02:00
Mr.doob d4d9e1f956 Merge remote branch 'empaempa/master' 2011-05-10 07:54:59 -07:00
Mr.doob 87d4ddc72d Deleting middleman *Arrays if Object3D.dynamic == false. 2011-05-10 07:53:45 -07:00
Mikael Emtinger 310469b767 Merge branch 'master' of git://github.com/mrdoob/three.js 2011-05-10 14:44:43 +02:00
Mikael Emtinger cdcc530b0e Removed bugs related to custom attributes and buffers. Removed bug related to attributes.position 2011-05-10 14:44:27 +02:00
Mr.doob be5a27198c Renamed Ray::intersectArray to Ray::intersectObjects. 2011-05-07 16:15:20 -07:00
Mr.doob 71d3e32af6 Abstracted Ray::intersectScene into Ray::intersectArray. 2011-05-07 19:07:07 +09:00
Mikael Emtinger 1f2d4641c9 Merge branch 'master' of git://github.com/mrdoob/three.js 2011-05-04 11:50:20 +02:00
Mr.doob e87caabbf8 Removed __styleString and updateStyleString out of THREE.Color.
Using * ( 1 / scale ) instead of / scale in JSONLoader.
2011-05-04 17:34:49 +09:00
alteredq ef38d481bf Caching vertex texture check.
It can get pretty costly when trying to initialize tons of materials.
2011-05-02 23:58:29 +02:00
Mikael Emtinger f542cc8d04 Probably fixed small bug related to blend modes on PC/Chrome 2011-04-29 16:46:11 +02:00
Mikael Emtinger 164ba5f217 Added so empties also can be triggers. 2011-04-28 17:41:14 +02:00
Mr.doob aeec494a3d Removed some uncommon computations out of the JSONLoader. 2011-04-27 17:44:22 +08:00