596 Commits
Author SHA1 Message Date
Mr.doob 44a8652c37 REVISION ++ 2011-04-24 12:57:28 +01:00
alteredq 8062c3bf31 Added HSV -> RGB color conversion to Color. 2011-04-23 10:57:34 +02:00
Mr.doob e457b4f8ae Added drawCalls property to WebGLRenderer::data object. 2011-04-22 00:35:43 +02:00
alteredq 614925336d Added support for empty objects and meshes without geometries to Blender scene exporter and SceneLoader. 2011-04-21 13:28:04 +02:00
alteredq 4637b69d58 Synced with mrdoob's branch. 2011-04-21 12:19:44 +02:00
Mr.doob c1ce040781 Updated Projector's Particle handling (it wasn't using hierarchy). 2011-04-21 10:42:30 +02:00
Mr.doob 0a11daf348 Updated builds. Fixed Trident. 2011-04-21 01:59:33 +02:00
alteredq d7ec2be764 Added embedded ascii JSON meshes to SceneLoader. 2011-04-19 20:47:35 +02:00
alteredq b9977ede37 Added triggers type to Blender exporter and scene loader. 2011-04-19 18:08:39 +02:00
alteredq c0e232d019 Updated builds. 2011-04-19 07:44:16 +02:00
Mr.doob b18b6f9fbe Added Trident to Geometry example. Found out that handling scene.objects from API wise is a bit confusing (childs are there too). 2011-04-18 16:29:00 +02:00
Mr.doob 3875d33ac4 Update builds. 2011-04-18 16:11:25 +02:00
Mr.doob 1cf6fafadc Update builds. 2011-04-18 15:52:22 +02:00
Mr.doob 61553c5710 Commented console.log. 2011-04-17 17:50:24 +02:00
alteredq 9ae036fd22 More refactoring / optimizations of collision system. 2011-04-16 04:47:20 +02:00
alteredq 0c6076d39b Added merge to CollisionSystem. Also some refactoring and optimizations.
Still there are some new objects created per frame there.
2011-04-16 04:17:32 +02:00
alteredq aac5b6117b Refactored SceneLoader.
Just a single callback is now passed  to loader.load( "scene.js", callbackFinal ) - callback which is called when everything from the scene was already loaded.

If you want to use also callbacks for initialization of procedural synchronously created elements, you can set property of loader:

loader.callbackSync = function( result ) { ... }

If you want to get callback for load progress, set:

loader.callbackProgress = function( progress, result ) { ... }

Also added per scene creation of collision systems (it used to be singleton).
2011-04-16 00:40:07 +02:00
alteredq f51d3f4da3 Fixed forgotten namespace in PathCamera. 2011-04-15 04:36:17 +02:00
alteredq 67147df926 Fixed bug in RollCamera and FlyCamera.
Only the first update should set the last updated timestamp, not constructor.
2011-04-15 02:15:37 +02:00
Mr.doob 86c8dbf92b Updating builds. 2011-04-14 22:16:06 +01:00
Mr.doob 6b536f0c52 Merge remote branch 'alteredq/master' into experimental 2011-04-14 22:12:23 +01:00
Mr.doob e2b8dbf285 Merging with drojdjou's branch. 2011-04-14 22:12:11 +01:00
Mr.doob 8019b3b382 Merging with empaempa's branch. 2011-04-14 22:06:07 +01:00
alteredq 86aa767a6a Added vertical look constraint parameter to RollCamera. 2011-04-14 16:21:50 +02:00
alteredq 68f660901d Added new callbacks for assets load tracking also to SceneLoader.
It works both for JSON models and textures. Handling of every asynchronously loaded asset triggers calls to "onLoadStart" and "onLoadComplete" callbacks.
2011-04-14 03:27:22 +02:00
alteredq cb3f2fff7d Fleshed out RollCamera: refactored code out of example, add more keyboard controls, API and made it framerate independent. 2011-04-14 00:31:40 +02:00
Mr.doob ce2d6603cb Updated builds. You know, just in case... 2011-04-13 16:59:17 +01:00
alteredq c50896f249 Updated Loader and SceneLoader to automatically set "material.transparent" flag for materials with opacity < 1. 2011-04-13 17:30:17 +02:00
alteredq fd6da8ebcd Merged with mrdoob's branch. 2011-04-13 12:43:36 +02:00
Mr.doob 697a05766a Tweaked CollisionSystem.collisionNormal definition so minifier doesn't complain.
Updated builds.
2011-04-13 11:29:06 +01:00
alteredq 691a5ea3ed Added handling of shadow geometry to scene loader. Made default light and camera option to Blender scene exporter. Made shadow geometry invisible in exported scene. 2011-04-13 12:26:49 +02:00
Mikael Emtinger 87a8c1e02c Merged 2011-04-13 12:16:23 +02:00
Mikael Emtinger b56600a54e Added .castShadow to DirectionalLight and check this in the renderStencilShadow function in WebGLRenderer. castShadow is set to false by default. Updated examples. 2011-04-13 12:14:52 +02:00
Mr.doob c146a02610 Updated builds. 2011-04-12 14:40:01 +01:00
Mikael Emtinger 7573456e05 Forgot built file. 2011-04-12 14:50:56 +02:00
alteredq 35344be4ec Changed QuakeCamera to have framerate independent movement and look speed. 2011-04-12 14:33:45 +02:00
Mr.doob 92d702d95d Added data object ( vertices, faces ) to Canvas/SVG/WebGLRenderer to get some render counts from the last render call. 2011-04-12 09:25:22 +01:00
alteredq c94104147e Blender exporter / scene loader: added handling of vertex colors for scene materials.
Made mesh colliders exported from Blender invisible in scene.

Added handling of meshes with multiple materials in scenes (for the moment just by using MeshFaceMaterial where real materials come from model JSON).
2011-04-12 00:10:06 +02:00
alteredq af3582c9d1 Merge branch 'master' of http://github.com/mrdoob/three.js 2011-04-11 21:03:20 +02:00
alteredq 99ac869b24 Added forgotten return to Quaternion.multiply 2011-04-11 21:01:54 +02:00
Mr.doob e0e05f2962 Fixed Objec3D::lookAt 2011-04-11 16:35:46 +01:00
Mr.doob df54e729c9 Updated builds. 2011-04-11 16:17:30 +01:00
alteredq b72177929e Fixes in handling of camera updates. Added few methods to Quaternion API. 2011-04-11 16:33:17 +02:00
Mr.doob 7361be39df WebGLRenderer: Sprites can now be removed from the Scene (thx jetienne)
Some white space clean up.
2011-04-11 09:53:32 +01:00
alteredq 7713f5cb9c Added autoForward option to FlyCamera.
Also changed autoForward in QuakeCamera not to interfere with backwards direction.

Tweaked a bit minecraft AO demo, using extra power for more cubes.
2011-04-11 01:35:21 +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
alteredq a318d87522 Added forgotten THREE namespace to SceneUtils.traverseHierarchy 2011-04-09 20:11:10 +02:00