1567 Commits
Author SHA1 Message Date
Mr.doob 7593b8d58a REVISION++ r42 2011-07-06 17:01:33 +02:00
Mr.doob 920ebceb0f Updated builds. 2011-07-05 19:38:35 +02:00
Mr.doob 5673a0749d Merge remote-tracking branch 'NINE78/master' 2011-07-05 19:36:41 +02:00
Mr.doob 848b4036e4 Merging with @NINE78 branch. 2011-07-05 19:36:19 +02:00
Nik Van den Wijngaert cbc868d4e5 Collision detection for double sided mesh faces. 2011-07-05 14:14:04 +02:00
Mr.doob ece93dfe6e Updated builds. 2011-07-05 13:11:44 +02:00
Mr.doob c82b3a5079 Merge remote-tracking branch 'NINE78/master' 2011-07-05 13:04:07 +02:00
Mr.doob 8bf95541b0 Some clean up.
Testing out texImage2D instead of texSubImage2D again.
@alteredq: which browsers/os didn't like this combo?
2011-07-05 01:01:24 +02:00
Mr.doob ce39f2aa41 Detector.js message now pointing to get.webgl.org. 2011-07-03 18:15:27 +02:00
Mr.doob a5b7ea85a9 Removed Sound object and SoundRenderer.
Updated misc_sound example with same functionality.
2011-07-03 15:10:28 +02:00
Mr.doob 2429806888 Updated builds. 2011-07-03 13:02:46 +02:00
Mr.doob 6f900482f2 Merge remote-tracking branch 'alteredq/master' 2011-07-03 12:56:58 +02:00
Mr.doob 176d0f2884 Merging with @alteredq's branch. 2011-07-03 12:56:50 +02:00
Mr.doob 77eed2ea8c Removed most of SeceneUtils methods for simplicity reasons.
Fixed examples that were using them.
2011-07-03 12:53:58 +02:00
Nik Van den Wijngaert 797068131d Collision detection for double sided mesh faces. 2011-07-03 12:14:45 +02:00
alteredq ed92022b4b Updated Blender 2.58 exporter with recent changes from 2.57 exporter.
(normal maps, textures packed in blend file, copy textures, urlBaseType, texture params)

Also fixed broken reload handling and bumped up version number.
2011-07-03 04:34:21 +02:00
alteredq 70a6000d23 Rebuild libs. 2011-07-03 02:59:36 +02:00
alteredq d7a82b348a Merge remote-tracking branch 'remotes/chriskillpack/rename-fpcamera' into dev 2011-07-03 02:53:27 +02:00
alteredq 280a28dfdc Merged with mrdoob's branch.
All examples work. Now just need to port Blender exporter changes to 2.58 version.
2011-07-03 02:33:16 +02:00
Chris Killpack 07d54a4d0f Rename FPCamera to FirstPersonCamera. 2011-07-02 16:04:55 -07:00
Mr.doob 78fb8ac6f8 Applied @alteredq's sprite removal bugfix. 2011-07-02 12:37:45 +02:00
alteredq bb332e5fcd Extended Loader base class to handle normal map materials.
Plus some more Loader changes:

- fixed diffuse color and opacity being skipped when diffuse texture is present in JSON
- more proper handling of Phong materials (now use ambient / diffuse / specular / shininess from JSON)
- added handling of wrap / offset / repeat parameters for all textures

Fixed broken multiple lights indices in new normal map shader and changed displacement scale and bias to saner values.

Fixed broken postprocessing and Earth examples (were not yet translated to use new normal map shader).
2011-07-02 04:35:45 +02:00
alteredq 522da65881 Fixed Sprite removal bug. 2011-07-01 23:30:12 +02:00
alteredq d6345d7113 Fixed runaway _sprite global in WebGLRenderer. 2011-07-01 21:59:02 +02:00
Mr.doob 1c26dd25ac Fixed collisions examples. 2011-07-01 18:56:41 +02:00
alteredq e604036b21 Changed normal map examples to use new normal map shader with standard lights.
Removed old normal map shader with custom lights.
2011-07-01 16:20:03 +02:00
alteredq 457b7a6000 Refactored normal map shader to use standard lights.
Updated SceneLoader to use this new shader for normal mapped materials.

Added handling of ambient light to scene parser.

For the moment kept also old normal map shader, still need to convert examples.
2011-07-01 04:44:26 +02:00
Mr.doob 28c165f8d6 Updated builds. 2011-06-30 12:34:11 +02:00
Chris Killpack 2c502ae5db Switched examples over to FPCamera. 2011-06-29 10:51:14 -07:00
Chris Killpack d311d0e674 Rename QuakeCamera to FPCamera.
Add QuakeCamera alias for backwards compatibility.
2011-06-28 21:49:33 -07:00
Mr.doob 19bf382881 Updated builds. 2011-06-24 17:16:46 +02:00
Mr.doob 21739383a4 Merge remote-tracking branch 'rectalogic/euler' 2011-06-24 17:07:15 +02:00
Andrew Wason 0825c1f612 Add support for additional Euler rotation orders. 2011-06-24 10:06:15 -04:00
Mr.doob 4b2de9b91d Reverted to proper Matrix4.multiply() (thanks @lukem1) 2011-06-23 15:37:16 +02:00
Juraj Michalek 83628d5e15 Fix python for Blender 2.58
modified:   2.58/scripts/addons/io_mesh_threejs/__init__.py
2011-06-23 10:24:07 +02:00
Juraj Michalek 237800b9c4 Fixed support for Blende 2.58
new file:   2.58/scripts/addons/io_mesh_threejs/__init__.py
	new file:   2.58/scripts/addons/io_mesh_threejs/export_threejs.py
	new file:   2.58/scripts/addons/io_mesh_threejs/import_threejs.py
2011-06-23 10:22:06 +02:00
Mr.doob 89a4d0e51c Fixed Ray.js distance calculation so it uses world position. 2011-06-21 13:04:59 +02:00
Mr.doob b476481c54 Updated builds. 2011-06-20 13:51:17 +02:00
alteredq f92f360744 Added normal maps support to Blender scene exporter and SceneLoader.
Blender normal map support is work-in-progress:
 - for individual models normal map shader will need to be refactored to use standard scene lights
 - would be nice to handle also bump maps (a lot of Blender assets do not use "use_normal_map" flag on tangent space normal texture but instead use "use_map_normal" flag on texture slot of grayscale heightmap texture)

Also some whitespace cleanup.
2011-06-20 09:51:37 +02:00
jsermeno 1e19c2814b Add optional scaleByViewport parameter to Sprite.js 2011-06-19 20:28:54 -07:00
Mr.doob f25822bbbb Updated builds. 2011-06-19 16:56:36 +02:00
Mr.doob 87ba3421e5 Merge remote-tracking branch 'NINE78/master' 2011-06-19 16:48:20 +02:00
Mr.doob bd067242da Updated builds. 2011-06-19 16:24:01 +02:00
Mr.doob 9925121a0e Merge remote-tracking branch 'marklundin/master' 2011-06-19 16:11:15 +02:00
Mr.doob bc6d7e0f2b Merging with marklundin branch. 2011-06-19 16:11:04 +02:00
alteredq 3f2c37af45 Blender exporter: add handling of extra textures also to single model exporter. 2011-06-19 05:31:47 +02:00
alteredq a8228f523e Blender exporter: added handling of textures packed into blend file, fixed some texture location edge cases. 2011-06-19 04:10:05 +02:00
alteredq 3aa4027ab1 Flipped UVs for Sprite geometry to be get correct texture image orientation. 2011-06-19 01:18:07 +02:00
alteredq 7a0b36a9af Small loop optimization and refactoring in TextGeometry.
"for ( var i in array )" is slower than "for ( var i = 0; i < array.length; i++ )"

http://people.mozilla.com/~dmandelin/KnowYourEngines_Velocity2011.pdf
2011-06-19 00:09:01 +02:00
Nik Van den Wijngaert 7070ccd901 Added polygonOffset parameters to THREE.Material. The WebGLRenderer evaluates this right after depthTest for opaque and transparent passes through the setPolygonOffset function. 2011-06-17 11:56:32 +02:00