Commit Graph
1585 Commits
Author SHA1 Message Date
alteredq 256f9a671a Fix for specular component of Phong and normal map materials. Hope so.
Thanks to @fazeaction for spotting this.
2011-07-12 02:57:05 +02:00
alteredq 23e315cb33 Merged zz85's Path / Shape / Extrude geometry. Cleaned up and refactored it a bit.
All three classes are now in separate files.
Updated build script.
Fixed runaway globals.
Optimized loops ("in" should be used just for iterating over object properties, for arrays it's slow and also traversal order is not guaranteed).
Cleaned whitespace.
Bit more polished example.
Fixed inverted side faces for fish shape.
2011-07-12 00:46:57 +02:00
alteredq 3ba8cc4d1e Merge remote-tracking branch 'remotes/zz85/master' into dev 2011-07-11 18:39:04 +02:00
alteredq 5793675853 Rebuild libs. 2011-07-11 18:38:48 +02:00
zz85 762f58a490 Shape Extrusion 2011-07-11 20:00:02 +08:00
Mr.doob d141ea8577 Added CORS support to ImageUtils. 2011-07-10 23:53:42 +02:00
alteredq c32f89a1d8 Updated builds. 2011-07-09 20:22:05 +02:00
alteredq f1e4f59afc Merge branch 'master' into dev 2011-07-09 20:16:03 +02:00
Nico Kruithof 82a0bcfc26 fixed a typo. 2011-07-09 19:49:02 +02:00
alteredq 8544110f6f Fixed Blender importer to work with Blender 2.58. 2011-07-09 00:35:39 +02:00
alteredq 53a732065a Added fog to normal map shader. 2011-07-08 01:42:25 +02:00
alteredq a4397e2a4c Updated Blender normal map pipeline to handle also specular and AO maps.
Gah, these things are pain to debug - "undefined" value in uniforms can lead to very weird behaviors.
2011-07-07 23:54:17 +02:00
alteredq ce6b6b9cbb Merge branch 'master' of https://github.com/mrdoob/three.js 2011-07-06 23:37:42 +02:00
alteredq 2202f0a66c Fixed broken custom attributes demo.
Attributes were not in fact updated before.
2011-07-06 23:36:36 +02:00
zz85 01dac8249b Merge remote-tracking branch 'alteredq/master' 2011-07-07 01:21:31 +08:00
Mr.doob d6fa775026 Fixed typo on README. 2011-07-06 18:55:58 +02:00
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
zz85 7ffb2f45ba Merge remote-tracking branch 'alteredq/master'
Conflicts:
	examples/webgl_geometry_text.html
2011-06-24 22:45:25 -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