Commit Graph
97 Commits
Author SHA1 Message Date
Mr.doob b61ee54f27 Renamed all extras/geometries. 2011-06-10 17:09:47 +02:00
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 dcbcf72f55 Added CrosseyedWebGLRenderer. 2011-06-01 18:51:07 +02:00
Mr.doob 6bee6c3972 Added AnaglyphWebGLRenderer. 2011-06-01 08:09:32 +01:00
Mr.doob e3bc14cb10 Because of Ray now checks Particles, ThreeWebGL now has that dependency. 2011-05-30 16:09:14 +01:00
Eberhard Gräther 74ab78a6e2 build including TrackballCamera 2011-05-30 00:02:13 +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 30cfa26ee2 Fixed build script for ThreeWebGL (was missing objects). 2011-05-07 03:39:29 -07:00
alteredq d95d6d979d Refactored HSV getter out of Color into ColorUtils. 2011-04-24 17:57:06 +02:00
sroucheray 39e993d50d Include Trident.js in the EXTRAS_FILES Build array 2011-04-17 22:41:32 +02:00
Mikael Emtinger b0e904eb29 Merge branch 'master' of git://github.com/mrdoob/three.js 2011-04-12 14:49:59 +02:00
Mikael Emtinger 147961f4b5 Added Roll Camera and example 2011-04-12 14:49:45 +02:00
alteredq 7e22df47aa Synced with mrdoob's branch. 2011-04-11 21:15:02 +02:00
Mr.doob 1622b033f0 Merge remote branch 'sroucheray/Branch_r39' into experimental 2011-04-11 19:50:58 +01:00
sroucheray b58e495de2 Add --unminified optional parameter to the build.py, useful when developing without modifying the build script itself
Add an Ant build.xml file : another way to launch different pre-configured builds
2011-04-11 15:15:13 +02:00
alteredq bdbf1f78c5 Synced with mrdoob's branch. 2011-04-10 23:47:43 +02:00
alteredq 22bd108ab1 Added FlyCamera (thanks to James Baicoianu). Added specular map to normal map shader. Added WebGL Earth FlyCamera demo.
Changed normal map shader to multiply specular component with diffuse weighting as specular highlights were appearing in the dark parts.

Changed camera look speed in minecraft and terrain demos, they were too fast - I guess as everything got faster with antialiasing off.

Reenabled antialiasing in few demos where it was too ugly without (basically anything with lines and without postprocessing).

Fixed again spurious invisible characters in empaempa's code (which are breaking everything and are hard to hunt as they look like spaces).
2011-04-10 23:13:05 +02:00
Mr.doob eb411d1bef Blender exporter now has options to export (or not) vertices and faces too.
Also renamed some vars for consistency reasons, hope I didn't break anything...
2011-04-10 13:00:49 +01:00
Mr.doob 3bc9f48c2f src/animation ⟶ src/extras/animation
Improved lod and grass examples.
2011-04-10 09:36:28 +01:00
Mr.doob 76e7ea3461 Added namespace to all the objects that missed it (geometries, uniforms, etc)
WebGLRenderer antialias is off by default (considering Firefox doesn't support it...)
Formatting clean up here and there
2011-04-09 12:38:39 +01:00
Mr.doob c74f046b76 src/physics ⟶ src/extras/physics 2011-04-09 08:18:45 +01:00
Mikael Emtinger 615f872023 Added sprite support. See Sprite.js for details. No support for custom shader at this point. 2011-04-07 15:52:57 +02:00
alteredq 65e3f92d55 Merged latest master branch into physics branch. 2011-04-05 12:04:24 +02:00
alteredq 693a36f509 Moved scene loader from SceneUtils into SceneLoader. 2011-04-05 08:59:45 +02:00
alteredq 7915999bdd Added edges to Blender exporter, JSONLoader and Geometry.
There is a new class Edge which stores vertices and faces for edge (I wasn't sure if indices or references would be better, so at least for the moment it contains both).

Geometry now contains a list of such edges, created in JSONLoader, based on edge data exported from Blender.

From Blender we get a list of vertex index pairs, from which in Geometry.computeEdgeFaces() we compute faces which share this particular edge and store them in the Edge object.

Not sure if edges work properly till we don't have something using them. For now I just checked cube data exported from Blender and it seems fine.

Also did some whitespace cleanup here and there.
2011-04-05 00:18:36 +02:00
Bartek Drozdz 9850695f38 Collisions system initial commit. 2011-04-04 18:13:54 +02:00
Mr.doob 8af4dd49c1 WebGLRenderer now uses material.transparent to determine whether a material is transparent or not.
Moved materials/RenderTarget.js ⟶ renderer/WebGLRenderTarget.js
2011-03-31 07:22:44 +01:00
Mikael Emtinger 3536f3f2f5 Merged with MrDoob 2011-03-29 20:50:45 +02:00
Mikael Emtinger ac6f422a6f Added LensFlares. Note that a new blending mode has been added. Added an (quite ugly example). NOTE: this doesn't seem to work on Chrome+Mac+NVIDIA unless you turn off antialias (which I've done in the example). 2011-03-29 13:30:53 +02:00
Mr.doob bd2d39ac6b Fixed broken examples.
Updated build script.
2011-03-24 21:04:34 +00:00
Mikael Emtinger 95e92d9026 Stencil shadows added 2011-03-24 09:09:25 +01:00
Mr.doob 55a6938f26 SVGRenderer doesn't need ParticleCanvasMaterial 2011-03-22 01:17:48 +00:00
Mr.doob 5a0a200ce4 RenderableFace4 is back (thus 2x speed boost on all examples using quads). 2011-03-21 05:41:55 +00:00
Mr.doob 348bb3be59 Merging with alteredq's branch. 2011-03-20 21:48:50 +00:00
Mr.doob a7740f47fc ParticleCircleMaterial ⟶ ParticleCanvasMaterial (canvas code injection) 2011-03-20 21:47:11 +00:00
Mr.doob af5e208b57 Fixed missing items in the builder. 2011-03-20 21:00:58 +00:00
Mr.doob 6514f67c12 Adapting Projector to new internal changes. Quite broken but getting there. 2011-03-20 19:58:24 +00:00
Mr.doob 565f9221e3 Added missing classes to custom builds. 2011-03-16 19:11:56 +00:00
Mr.doob 49d9b2e460 src/extras/primitives/ ⟶ src/extras/geometries
Added geometries example (need to add Lathe one).
Fixed Cylinder.
2011-03-16 03:51:47 +00:00
Mr.doob f848e60de0 Tweaked extras order. 2011-03-15 16:07:12 +00:00
alteredq 1c466f26e7 Moved QuakeCamera and PathCamera into extras/cameras. 2011-03-15 16:49:52 +01:00
Mr.doob 1413f96958 Fixed Camera.updateMatrix(). 2011-03-14 20:01:35 +00:00
alteredq b6b0e21015 Added PathCamera.
PathCamera automatically follows path passing through waypoints (interpolated via Catmull-Rom spline). View angles can be constrained and controlled by mouse.

Work in progress, there are still some issued to be solved (constant movement speed, broken automatic update, broken frustum culling).
2011-03-14 03:57:22 +01:00
alteredq 13ccc02a8a Refactored shader and uniform snippets out of WebGLRenderer into WebGLShaders. 2011-03-09 21:44:11 +01:00
alteredq c421b2d791 Number of bones in skinning shader is now taken from SkinnedMesh.
If no object is passed to initMaterials (for example, if material is pre-built while loading, or shader program is intended for sharing), max limit of 50 bones is used (should be enough to leave space for other uniforms not to hit ANGLE limits).
2011-03-07 01:25:11 +01:00
alteredq 7ad44b434c Added level-of-details example (and LOD object to compiled lib).
Thanks to empaempa for implementing this feature ;)
2011-03-01 15:50:14 +01:00
alteredq 03b9dfe80d Extracted Spline from example into core lib. 2011-03-01 03:51:43 +01:00
alteredq cf901305e5 Synced with mrdoob's branch. 2011-02-27 22:11:27 +01:00