Mikael Emtinger
0198766fed
Added .name and .getChildByName( "objectName", doRecurse ) to Object3D. Added so scene-loader fills in .name property.
2011-04-14 16:23:21 +02:00
Mr.doob
e0e05f2962
Fixed Objec3D::lookAt
2011-04-11 16:35:46 +01:00
alteredq
22bd108ab1
Added FlyCamera (thanks to James Baicoianu). Added specular map to normal map shader. Added WebGL Earth FlyCamera demo.
...
Changed normal map shader to multiply specular component with diffuse weighting as specular highlights were appearing in the dark parts.
Changed camera look speed in minecraft and terrain demos, they were too fast - I guess as everything got faster with antialiasing off.
Reenabled antialiasing in few demos where it was too ugly without (basically anything with lines and without postprocessing).
Fixed again spurious invisible characters in empaempa's code (which are breaking everything and are hard to hunt as they look like spaces).
2011-04-10 23:13:05 +02:00
Mr.doob
c580473ff8
Removed visible check on Object3D.update (children transforms didn't get updated otherwise).
2011-03-16 20:49:09 +00:00
Mr.doob
2a83aeb64b
Object3D: Setting matrixWorldNeedsUpdate to true when updateMatrix has been called.
2011-03-15 12:31:14 +00:00
Mr.doob
c89b4008f3
Added translate( distance, axis ), translateX( distance ), translateY( distance ) and translateZ( distance ) methods to Object3D.
...
Camera3D translate method overrides Object3D's one. NoFly parameter removed (this should be handled from outside I think).
2011-03-06 09:16:03 +00:00
Mr.doob
7aa0bf9726
Added lookAt() example.
2011-03-06 06:28:35 +00: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
f2af3864cc
Matrix4 public and static methods clean up.
2011-03-05 13:56:22 +00:00
Mr.doob
33610b4a11
Adapted Projector and CanvasRended to use camera.matrixWorldInverse.
2011-03-01 11:38:35 +00:00
Mr.doob
431b14f98e
Merging with empaempa's branch
2011-03-01 09:32:08 +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
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
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
45de9955c5
Reformated Object3D.js.
...
Messing with Cube example (exploring rotations).
2011-02-24 09:10:40 +00:00
Mr.doob
a4a8f184c6
src/objects/Object3D.js ⟶ src/core/Objects3D.js
2011-02-22 23:26:19 +00:00