Mr.doob
|
6b151b552e
Merging with @alteredq's experimental branches.
|
14 년 전 |
Mr.doob
|
1e5fc98582
Reworking Scene Graph setup.
|
14 년 전 |
Mr.doob
|
1258e8a771
Ray now also checks object's children.
|
14 년 전 |
Mr.doob
|
9441e74abc
Implemented @pyrotechnick's array concat replacement.
|
14 년 전 |
Mr.doob
|
a59647d63d
Ray.js: We don't want dot == 0 either.
|
14 년 전 |
Mr.doob
|
45fa8fff48
Ray.js: Now ignores objects behind origin and also faces behind origin (using the centroid).
|
14 년 전 |
Mr.doob
|
6e5d049045
Ray.js: Probably better without any extra checks.
|
14 년 전 |
Mr.doob
|
a07bc88ae0
Ray.js: The bounding sphere check wasn't considering flipSided/doubleSided when the origin was inside the sphere.
|
14 년 전 |
Mr.doob
|
1578a27d33
Updated constructor position and buils.
|
14 년 전 |
Mr.doob
|
55b753ed09
Merging with @pushmatrix's mater.
|
14 년 전 |
Mr.doob
|
89a4d0e51c
Fixed Ray.js distance calculation so it uses world position.
|
14 년 전 |
Mr.doob
|
af0beedad7
Reverted to previous WebGLRenderer.setTexture code. Now that Chrome 12 is out, it should be working?
|
14 년 전 |
Mr.doob
|
087066524a
Added boundingSphere check for Meshes in Ray ( improving performance considerably).
|
14 년 전 |
Mr.doob
|
18f7859974
Ray now intersects with particles too. (thx @jaycrossler)
|
14 년 전 |
Mr.doob
|
be5a27198c
Renamed Ray::intersectArray to Ray::intersectObjects.
|
15 년 전 |
Mr.doob
|
71d3e32af6
Abstracted Ray::intersectScene into Ray::intersectArray.
|
15 년 전 |
Mr.doob
|
5742cceefd
Ray: Added support for object.flipSided and object.doubleSided properties.
|
15 년 전 |
Mr.doob
|
33610b4a11
Adapted Projector and CanvasRended to use camera.matrixWorldInverse.
|
15 년 전 |
Mr.doob
|
c7aa2ab3d1
Object3D::localMatrix ⟶ Object3D::matrix
|
15 년 전 |
Mr.doob
|
e7e47b1f88
More reformating and clean up.
|
15 년 전 |
Mr.doob
|
27dc056af4
Minor refactoring and clean up.
|
15 년 전 |
Mr.doob
|
30a3d14c2d
Object3D::rotationMatrix ⟶ Object3D::matrixRotation
|
15 년 전 |
alteredq
|
2ecbe2dec2
A lot of bugfixing and refactoring.
|
15 년 전 |
Mr.doob
|
59304d8a6e
Matrix4.transformVector3 ⟶ Matrix4.multiplyVector3
|
15 년 전 |
Mr.doob
|
0f2badfdd1
Previous commit: `Matrix4.transform` ⟶ `Matrix4.transformVector3` and `Matrix4.tranformVector4`
|
15 년 전 |
Mr.doob
|
b913baa6f0
Code clean up and minor optimisations.
|
15 년 전 |
Mr.doob
|
8d198002d1
* Fixed a bug in Ray.intersectObject: face.normal needs to be transformed using matrixRotation otherwise rotated objects fail
|
15 년 전 |
Mr.doob
|
9a62d1173a
Refactored `ClickResolver to `Ray` and `Projector.unprojectVector` working.
|
15 년 전 |
Mr.doob
|
b57169bc84
Projector.unprojectVector() apparently working
|
15 년 전 |