Commit Graph
754 Commits
Author SHA1 Message Date
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
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 3d65cbcd44 Merge remote branch 'alteredq/master' into experimental 2011-04-11 16:16:08 +01:00
Mr.doob e5e4ff79ee Fixed Vector3::setRotationFromMatrix 2011-04-11 16:15:46 +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 bcd21b1191 Added forgotten FlyCamera. 2011-04-11 00:39:50 +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 3bc9f48c2f src/animation ⟶ src/extras/animation
Improved lod and grass examples.
2011-04-10 09:36:28 +01:00
Mr.doob dab341560d Merge remote branch 'alteredq/master' 2011-04-10 08:58:51 +01:00
Mr.doob dad4b7efa6 Missed important fix on r39 log. 2011-04-10 08:58:15 +01:00
alteredq a318d87522 Added forgotten THREE namespace to SceneUtils.traverseHierarchy 2011-04-09 20:11:10 +02:00
Mr.doob 6a857400bc REVISION ++ 2011-04-09 12:53:17 +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 e8847848ad Merging with alteredq's branch. 2011-04-09 08:22:59 +01:00
Mr.doob c74f046b76 src/physics ⟶ src/extras/physics 2011-04-09 08:18:45 +01:00
Mr.doob 9c68545b81 Merge remote branch 'empaempa/master' into experimental 2011-04-08 20:15:18 +01:00
Mikael Emtinger d8e5678ece Optimized initalization of ShadowVolumes by using supplied edge information (if available) 2011-04-08 13:34:05 +02:00
Mr.doob b2d39cf832 WebGLRenderer now logs some GL information (I think it may be handy).
Stencil and Sprite examples now using RequestAnimationFrame.
2011-04-08 10:16:10 +01:00
Mikael Emtinger 36bc61e5e9 Fixed several small sprite bugs and updated example. 2011-04-08 10:37:31 +02:00
alteredq 58bbd02e9e Added handling of mesh colliders to scene loader. Changed Blender scene exporter to make mesh colliders invisible. 2011-04-08 06:13:12 +02:00
alteredq f7d97caf1d Merged with empaempa's branch. 2011-04-07 21:29:21 +02:00
alteredq de2dcdf5c0 Changed WebGLRenderTarget / FBO default color format to RGBA.
This makes lens flares work with postprocessing.

Had to change lines color example to use clearAlpha = 1 to get back bloom.
2011-04-07 21:12:48 +02:00
Mikael Emtinger d87224face Put back the pink square method to allow for partial screen border occlusion in opengl 2011-04-07 18:12:12 +02:00
Mikael Emtinger 50b6745ad6 Added sorting to sprites and updated example.
Removed pink square method from lens flares in opengl (no partial screen occlusion)
2011-04-07 18:03:22 +02:00
Mikael Emtinger 08127af611 Fixed blending bug with sprites. Added example. 2011-04-07 17:10:54 +02: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 da0b612ce8 Synced with mrdoob's branch. 2011-04-07 04:01:36 +02:00
alteredq 5fa19e8460 Fixed delays when loading multiple models.
Problem was having too many concurrent workers opened at once. Garbage collection apparently works very slowly on workers. Solution was to close them manually, after model data is sent to main thread.

Also some progress with Blender scene exporter. Some scenes now export correctly, though monkey test scene got worse, even with less hacky code.
2011-04-07 02:59:49 +02:00
Mr.doob 94790f057e extras/geometries
- Fixed TorusKnot face orientation.
- Added UVs to Cylinder (Cylindrical Mapping) 
- Fixed Lathe UVs

There is something wrong with texture mapping, u needs to be inverted all the time. Something to researching on.
2011-04-06 20:10:25 +01:00
Mikael Emtinger 5ef9e04535 removed finish 2011-04-06 16:15:15 +02:00