Commit Graph
788 Commits
Author SHA1 Message Date
alteredq d95d6d979d Refactored HSV getter out of Color into ColorUtils. 2011-04-24 17:57:06 +02:00
alteredq 4bfca67caa JSONLoader: added scaling also to morphs. 2011-04-24 09:45:01 +02: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
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
Mikael Emtinger 78050886eb Merge branch 'master' of git://github.com/mrdoob/three.js 2011-04-21 01:24:47 +02:00
Mikael Emtinger e08e3456b0 Changed so objects added in sceneB in sceneA.addChild( sceneB ) actually propagates all the way up to sceneA, so they become rendered. 2011-04-21 01:24:29 +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 7b6cee3f41 Merge remote branch 'remotes/empaempa/master' 2011-04-19 07:28:57 +02:00
Mikael Emtinger 40eae8ae10 Fixed bug related to morphColors in JSONLoader. Changed reading of custom attributes from geometry group to material to let material instead of geometry rule of the source of data. 2011-04-18 22:36:23 +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 a3f5f5b614 Merge remote-tracking branch 'sroucheray/Branch_r39' into test 2011-04-18 16:08:19 +02:00
Mikael Emtinger aa9193e43c Fixed bug that caused env-maps and cube maps to break. 2011-04-18 15:18:20 +02:00
Mikael Emtinger 7816ffe1d1 Merge branch 'master' of git://github.com/mrdoob/three.js 2011-04-18 14:20:34 +02:00
Mikael Emtinger 24eaf4abc9 Fixed some bugs around setting uniforms and morph targets. Added a small feature to custom attributes to allow re-use. 2011-04-18 14:17:19 +02:00
sroucheray eddf6aeeff Merge branch 'master' of git://github.com/mrdoob/three.js into Branch_r39 2011-04-17 22:37:39 +02:00
sroucheray 2d49fd2b84 Trident is a utility 3D object, it simply displays the 3 axis arrows.
It can be added to the scene or as a child of any Object3D.
It is specially useful for debugging purpose.
The Trident name is borrowed from the Away3D project http://away3d.com/livedocs/3.6.0_lib/away3d/primitives/Trident.html
2011-04-17 22:36:40 +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 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 99630c2dff Fixed few spurious globals in WebGLRenderer. 2011-04-14 16:52:23 +02:00
Mikael Emtinger 0198766fed Added .name and .getChildByName( "objectName", doRecurse ) to Object3D. Added so scene-loader fills in .name property. 2011-04-14 16:23:21 +02: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
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
Mr.doob 8b14c04362 Merge remote branch 'empaempa/master' into experimental 2011-04-13 11:24:07 +01:00
Bartek Drozdz 8ab742ca2c Added normal to returned collider for mesh collider tests 2011-04-13 12:16:13 +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
Mikael Emtinger d10df1a509 Added functions for getPosition(), getColumnX(), getColumnY() and getColumnZ() to easier access the different components of the matrix. 2011-04-12 22:02:30 +02:00
Mikael Emtinger 46fdde937e Cleaned up comments for easier reading 2011-04-12 14:57:20 +02:00
Mikael Emtinger 0e2c015a50 Optimized and renamde rotationMatrix => rollMatrix 2011-04-12 14:55:50 +02:00
Mikael Emtinger 9e4706567a Merge branch 'master' of https://github.com/alteredq/three.js 2011-04-12 14:50:08 +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 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