921 Commits
Author SHA1 Message Date
Mr.doob 42bbe96729 Copy/Paste fail.
It's now r34 btw.
r34
2011-03-02 06:02:19 +00:00
Mr.doob 568beba848 Fixed LOD example.
Commented Camera frustrum code. It's not being used, right?
2011-03-02 05:58:54 +00:00
alteredq ccdff87382 Changed also JSON model files and exporters/converters to use CamelCase property names.
Only Blender 2.56 exporter and OBJ converter were tested. If somebody is using other ones, please reexport some files to be sure they work.
2011-03-02 05:55:29 +01:00
alteredq 5767dae483 More tweaks to QuakeCamera. 2011-03-02 02:59:22 +01:00
alteredq d006967b13 Added autospeed based on height to QuakeCamera. 2011-03-01 23:45:20 +01:00
alteredq fab828e8e4 Added autoForward parameter to QuakeCamera. 2011-03-01 21:37:08 +01:00
alteredq 78df6337d6 Forgotted Spline.js 2011-03-01 17:32:00 +01:00
alteredq 0e450db259 Tweaks to lod example. 2011-03-01 16:22:33 +01:00
alteredq 7ad44b434c Added level-of-details example (and LOD object to compiled lib).
Thanks to empaempa for implementing this feature ;)
2011-03-01 15:50:14 +01:00
alteredq 0984c4145b Synced with mrdoob's branch. 2011-03-01 14:52:47 +01:00
Mr.doob 30161dab04 Updated README. r33 2011-03-01 11:47:28 +00:00
Mr.doob 33610b4a11 Adapted Projector and CanvasRended to use camera.matrixWorldInverse. 2011-03-01 11:38:35 +00:00
Mr.doob f325cdee85 Merge remote branch 'empaempa/master' into test 2011-03-01 09:32:15 +00:00
Mr.doob 431b14f98e Merging with empaempa's branch 2011-03-01 09:32:08 +00:00
Mikael Emtinger 88a9ad2da7 Mergable: WebGLRenderer.js: changed so camera.matrixWorldInverse is used instead of camera.matrixWorld. 2011-03-01 08:31:37 +01:00
alteredq 03b9dfe80d Extracted Spline from example into core lib. 2011-03-01 03:51:43 +01:00
alteredq b467378bc3 Added Catmull-Rom spline example.
Work-in-progress.
2011-03-01 03:29:04 +01:00
Mikael Emtinger 93dbda08b1 Fixed LOD. 2011-02-28 15:53:12 +01:00
alteredq cf2e8c1bbf Refactored everything to use CamelCase naming for properties. Plus some smaller fixes here and there.
Went through all examples, all should work.

JSON files exported from Blender / converted from OBJ files still use underscored property names internally. I don't know, should these also be changed?
2011-02-28 14:52:04 +01:00
Mikael Emtinger df36675640 Matrix4:
- Wrong in last commit, now the inversion of position is removed
2011-02-28 13:13:20 +01:00
Mikael Emtinger 5c4131d366 Matrix4.lookAt:
- Changed so it sets an ordinary matrix. Also removed inversion of position, which broke A LOT of the examples.

WebGLRenderer:
- Using camera.matrixWorldInverse instead of camera.matrixWorld
- Changed frustum check to camera.frustumContains( object );
- Moved cameraInverse * matrixWorld to vertex shader (needs testing!) (note: normals not fixed yet!)

Object3D.addChild:
- Recurses up through hierarchy until reaches scene and adds itself to scene.objects/sounds/lights

Camera:
- Changed inverseMatrix -> matrixWorldInverse
2011-02-28 13:12:35 +01:00
Mr.doob 1cb0a964f3 (More) Tweaks to README 2011-02-28 06:02:38 +00:00
Mr.doob 00680555f2 (More) Tweaks to README 2011-02-28 06:01:37 +00:00
Mr.doob d43f3ff96b Tweaks to README. 2011-02-28 06:00:45 +00:00
Mr.doob 023d8e946b More tweaks to README 2011-02-28 05:59:47 +00:00
Mr.doob 5940ff805a Markup fail. 2011-02-28 05:56:32 +00:00
Mr.doob 4c78da6f31 Added link to (WIP) API Reference. 2011-02-28 05:53:46 +00:00
Mr.doob f5e819fe14 Removed all the toString methods (saving 6kbytes)
I don't remember when was the last time I used them. Current Web Developer Tools do this already for you.

Color::updateRGBA ⟶ Color::updateRGB
2011-02-28 05:13:04 +00:00
alteredq a325cd6064 Added build shell scripts for building all libs versions. 2011-02-27 22:59:26 +01:00
alteredq cf901305e5 Synced with mrdoob's branch. 2011-02-27 22:11:27 +01:00
Mr.doob 430ce532be Custom builds were missing files. (thanks to alan2 for reporting) 2011-02-27 20:20:15 +00:00
Mr.doob 470df4fa6a Updated TODO.
Blender plugins folder rename.
2011-02-27 20:08:22 +00:00
Mr.doob e438549c87 Updated builds.
Added RequestAnimationFrame system to the new examples.
2011-02-27 06:39:15 +00:00
alteredq 049f492564 Merge remote branch 'remotes/upstream/master' 2011-02-27 07:02:09 +01:00
alteredq e4f759c225 Optimized Matrix4.transpose and fixed performance test. 2011-02-27 07:00:44 +01:00
Mr.doob 339384f209 Tweaked RequestAnimationFrame.js and Detector.js. 2011-02-27 05:05:41 +00:00
Mr.doob ddc078a3bf README: Added RequestAnimationFrame.js tip 2011-02-27 03:14:10 +00:00
alteredq 99dd3a411b Synced with mrdoob's main branch. 2011-02-26 20:17:55 +01:00
Mr.doob 7480fb69cd Updated README examples.
Sound3D ⟶ Sound
2011-02-26 14:21:15 +00:00
Mr.doob 2b81ae233c Non-WebGL renderers will need matrixRotationWorld to be computed too... 2011-02-26 12:30:54 +00:00
Mr.doob 446834ba35 Minor fixes and improvements. 2011-02-26 12:10:35 +00:00
Mr.doob d1aff49533 Fixed Quaternion::slerp. 2011-02-26 11:11:49 +00:00
Mr.doob d1e3a9d872 Object3D::screenPosition ⟶ Object3D::positionScreen
Yet more reformating.
2011-02-26 10:52:35 +00:00
Mr.doob c7aa2ab3d1 Object3D::localMatrix ⟶ Object3D::matrix
Object3D::globalMatrix ⟶ Object3D::matrixWorld

Added hierarchy examples.
2011-02-26 10:31:18 +00:00
Mr.doob e7e47b1f88 More reformating and clean up. 2011-02-26 09:18:10 +00:00
Mr.doob 04172c6c81 Merge remote branch 'alteredq/skinning' into skinning 2011-02-26 06:51:32 +00:00
Mr.doob 27dc056af4 Minor refactoring and clean up. 2011-02-26 06:51:23 +00:00
alteredq ab8b63f9e3 Fixed ribbons example. 2011-02-26 06:48:42 +01:00
alteredq 49c7eeaf7d Fixed scene loader example.
I forgot to update scene loader to reflect new way of handling textures :S
2011-02-26 05:30:56 +01:00
Mr.doob 45ec0f329b Reverted Camera::FOV,zNear,zFar to Camera::fov,near,far.
Most of the examples or working again as usual. Only `webgl_scene_test.html` and `webgl_ribbons.html` left.
2011-02-26 03:45:16 +00:00