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
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
alteredq
3dc37702ce
Refactored minecraft / terrain / ocean examples to use QuakeCamera.
...
Terrains finally have proper controls ;)
2011-02-26 00:41:33 +01:00
alteredq
da8afc4e6d
Refactored CameraControl into THREE.QuakeCamera.
...
Now you can add keyboard + mouse camera control with a single line, just change camera type and add parameters:
camera = new THREE.QuakeCamera( { fov: 50, aspect: window.innerWidth / window.innerHeight, near: 1, far: 10000,
movement_speed: 1, look_speed: 0.002, nofly: true, look_vertical: false } );
Thanks to mrdoob for suggestions ;)
2011-02-26 00:24:14 +01:00
Mr.doob
033a372c70
Fixed Matrix4::scale
...
Fixed matrix rotation in Projector (not fully done yet, need to implement herarchies still)
2011-02-25 16:33:04 +00:00
Mr.doob
059d0d7df2
Fixed Matrix4::setRotationFromEuler (using x,y,z order).
2011-02-25 15:37:10 +00:00
Mr.doob
aaa1b1cd7d
Fixed broken include on sound example.
2011-02-25 12:40:24 +00:00
Mr.doob
a036658c32
Merge remote branch 'alteredq/skinning' into skinning
2011-02-25 12:13:02 +00:00
alteredq
7415759392
Added 3d sound support plus example.
...
Thanks to @mikaelemtinger ;)
2011-02-25 09:08:15 +01:00
Mr.doob
f66e3fc810
Merge remote branch 'alteredq/skinning' into skinning
2011-02-24 09:10:56 +00:00
Mr.doob
45de9955c5
Reformated Object3D.js.
...
Messing with Cube example (exploring rotations).
2011-02-24 09:10:40 +00:00
alteredq
47d69fe496
Fixed RTT and light test examples.
2011-02-24 02:09:03 +01:00
alteredq
3e2f4f7cc5
Merged with mrdoob's branch.
...
Also got uqbiquity working and fixed ugly globals bug in WebGLRenderer. Again we missed it because of consistent naming ;)
2011-02-24 01:31:33 +01:00