38 Commits
Author SHA1 Message Date
alteredq cf6e2de8c9 Synced with mrdoob's branch. 2011-03-15 15:44:23 +01:00
Mr.doob 2a83aeb64b Object3D: Setting matrixWorldNeedsUpdate to true when updateMatrix has been called. 2011-03-15 12:31:14 +00:00
alteredq 09a10f7b2c Fixed update of PathCamera.
No more need for manual update hack.

Problems with keeping constant speed are still there. Added debug particles sampled along the spline - seems problems come from spline, samples have weird distribution.
2011-03-15 02:01:52 +01:00
Mr.doob 1413f96958 Fixed Camera.updateMatrix(). 2011-03-14 20:01:35 +00:00
alteredq d6db37ef7f Loader now keeps track of texture file names.
These are stored in "material.map.sourceFile".
2011-03-09 14:26:08 +01:00
Mr.doob 18dd03e90f Fixed particle scaling vertex shader (hopefully it now works on ANGLE). 2011-03-08 11:00:21 -08:00
alteredq 6b9a08e5ed Synced with mrdoob's branch.
Particle size attenuation still need some work to fix differences between ANGLE and OpenGL.
2011-03-08 19:50:43 +01:00
Mr.doob 5b9ca694d3 WebGLRenderer Particles now scale.
Texture sets needsUpdate to true for <canvas> elements by default (webgl_objconvert_test.html seems to be randomly affected by this).
2011-03-08 10:02:14 -08:00
alteredq ba0047cb1c Resurrected "noFly" as QuakeCamera's override. 2011-03-06 17:39:13 +01:00
Mr.doob 482fe243a4 Removed Matrix4.multiplyVector3OnlyZ as it's not being used... ? 2011-03-06 11:05:30 +00:00
Mr.doob 952631c923 REVISION++
Added some examples to README.
2011-03-06 09:41:15 +00:00
alteredq 2c996815be Refactored texture updating, added texture filtering example and fixed scene loader and example. 2011-03-06 06:01:40 +01:00
Mr.doob 1a115ae86f Object3D::matrixNeedsUpdate ⟶ Object3D::matrixWorldNeedsUpdate
Object3D::lookAt works! (and Vector3.setRotationFromMatrix too!)

Next: Object3D::translate...
2011-03-05 20:46:25 +00:00
Mr.doob cf732e694b WebGLRenderer::sortObjects = true by detault.
WebGLRenderer checks if texture is power of 2. Throws an error if it's not.
2011-03-05 14:52:54 +00:00
Mr.doob f2af3864cc Matrix4 public and static methods clean up. 2011-03-05 13:56:22 +00:00
Mr.doob 6e16d3b297 Removed WebGLRenderer2.
Minor tweaks.
2011-03-03 13:43:16 +00:00
Mr.doob 795abb58a9 Uops! Forgot to increase REVISION's number :S 2011-03-03 08:46:12 +00:00
Mr.doob 66cd1198e3 Updated examples and utils that used Cube(). 2011-03-03 08:31:00 +00:00
alteredq ea3961d6a6 Made dynamic objects work. 2011-03-02 21:34:44 +01:00
Mr.doob 4590683d4b WebGLRenderer stops rendering objects when removed from the scene. 2011-03-02 19:09:21 +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 0984c4145b Synced with mrdoob's branch. 2011-03-01 14:52:47 +01:00
Mr.doob 33610b4a11 Adapted Projector and CanvasRended to use camera.matrixWorldInverse. 2011-03-01 11:38:35 +00: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
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
Mr.doob 430ce532be Custom builds were missing files. (thanks to alan2 for reporting) 2011-02-27 20:20:15 +00:00
Mr.doob e438549c87 Updated builds.
Added RequestAnimationFrame system to the new examples.
2011-02-27 06:39:15 +00:00
Mr.doob 7480fb69cd Updated README examples.
Sound3D ⟶ Sound
2011-02-26 14:21:15 +00:00
Mr.doob 446834ba35 Minor fixes and improvements. 2011-02-26 12:10:35 +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 27dc056af4 Minor refactoring and clean up. 2011-02-26 06:51:23 +00: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
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 fef3c084b1 Changed build setup:
build/Three.js - Includes all renderers + extras
	build/custom/ThreeCanvas.js - Canvas renderer only
	build/custom/ThreeDOM.js - DOM renderer only
	build/custom/ThreeSVG.js - SVG renderer only
	build/custom/ThreeWebGL.js - WebGL renderer only
	build/custom/ThreeExtras.js - Extras only

Moved `THREE.Detector.js` to `examples/js/Detector.js`.

Updated examples to reflect these changes.
2011-02-23 12:35:31 +00:00