Mr.doob
51368ca6d6
REVISION ++
2011-09-04 00:47:01 +02:00
Mr.doob
94b7418f60
Added objec3d.frustumCulled support to Projector (CanvasRenderer/SVGRenderer).
...
`renderers/Projector.js` > `core/Projector.js`
`extras/geometries/Curve.js` > `extras/core/Curve.js`
`extras/geometries/CurvePath.js` > `extras/core/CurvePath.js`
`extras/geometries/Path.j`s > `extras/core/Path.js`
`extras/geometries/Shape.js` > `extras/core/Shape.js`
`extras/geometries/TextPath.js` > `extras/core/TextPath.js`
2011-09-03 21:58:18 +02:00
alteredq
75952217a2
Added frustumCulled flag to Object3D.
2011-09-02 22:37:38 +02:00
alteredq
2603ccf424
Applied specular highlights fix from @evanw also to Phong shader.
2011-09-02 14:22:58 +02:00
Mr.doob
d93c91e0d1
Updated builds.
2011-09-02 04:51:00 +02:00
alteredq
5a87757b1b
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-09-01 17:56:43 +02:00
Mr.doob
1be08e8afe
WebGLRenderer: Added deallocateObject and deallocateTexture methods.
2011-09-01 17:18:02 +02:00
alteredq
173a2c56c1
Rebuilt libs.
2011-08-29 23:40:57 +02:00
Mr.doob
f2fb6c3982
For clarity reasons I'll start setting the REVISION to *NEXT*dev for the dev branch. And updating to *NEXT* when merged to master.
2011-08-29 16:35:06 +02:00
Mr.doob
a59647d63d
Ray.js: We don't want dot == 0 either.
2011-08-29 15:51:16 +02:00
Mr.doob
7fd7c2dff5
Merging with @alteredq's dev.
2011-08-29 14:33:34 +02:00
Mr.doob
45fa8fff48
Ray.js: Now ignores objects behind origin and also faces behind origin (using the centroid).
2011-08-29 03:55:45 +02:00
Mr.doob
6e5d049045
Ray.js: Probably better without any extra checks.
2011-08-29 02:02:59 +02:00
Mr.doob
a07bc88ae0
Ray.js: The bounding sphere check wasn't considering flipSided/doubleSided when the origin was inside the sphere.
2011-08-29 01:45:24 +02:00
Mr.doob
ee80c958a1
TorusGeometry: Proper vertex and face normal calculation.
...
Some clean up on Vector* constructors.
Added UV::clone.
2011-08-26 23:33:13 +02:00
alteredq
692b392750
Refactored Matrix4 compose / decompose to reduce memory consumption (untested).
...
Still not very fond of decompose returning new array. We will see when it'll be actually used - as API allows for passing in existing translation, rotation, scale, maybe this return array could be eliminated.
2011-08-22 20:11:42 +02:00
alteredq
e59aefce8e
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-08-22 15:56:36 +02:00
Mr.doob
f4d6cb1f16
Cleaned up collada example.
2011-08-22 15:20:04 +02:00
alteredq
087b6090b0
Trying to hack around shared texture trouble in mixed renderer examples.
...
This kinda works in Chrome, though not in Firefox.
I give up on canvas renderer in these two examples in FF, it's anyways extremely slow with nontrivial textured models.
2011-08-16 00:02:00 +02:00
Mr.doob
714e9ec302
REVISION++
...
* Added support to texture.offset in CanvasRenderer
* Removed ShadowVolume, ShadowVolumeDynamicMaterial and LensFlare classes.
* Removed Stencil Shadows and LensFlare code out of WebGLRenderer
* Added 2.59 folder to Blender, and removed old ones.
2011-08-14 02:54:23 +02:00
Mr.doob
5bbb1327e9
Fixed CanvasRenderer clearColor with opacity. Now follows WebGL behaviour. (thx @sebleedelisle)
2011-08-13 23:12:24 +02:00
alteredq
822b52e07b
Rebuild libs.
2011-08-12 23:48:15 +02:00
Mr.doob
0b910d7c31
* Simplified THREE.Color.
...
* Realised that canvas.context has a createPattern method which allows CanvasRenderer to support tiled textures \o/ (Examples where there is a CanvasRenderer and a WebGLRenderer at the same time may get errors because CanvasRenderer now uses texture.needsUpdate too).
2011-08-11 03:57:23 +02:00
alteredq
6447455ed2
Put back proper Texture clone lost in merge.
2011-08-04 14:41:38 +02:00
Mr.doob
1578a27d33
Updated constructor position and buils.
2011-08-03 16:20:58 +02:00
alteredq
77341c86b1
First attempt at shadow mapping (work-in-progress).
2011-07-27 01:35:44 +02:00
alteredq
5793675853
Rebuild libs.
2011-07-11 18:38:48 +02:00
Mr.doob
d141ea8577
Added CORS support to ImageUtils.
2011-07-10 23:53:42 +02:00
alteredq
c32f89a1d8
Updated builds.
2011-07-09 20:22:05 +02:00
alteredq
a4397e2a4c
Updated Blender normal map pipeline to handle also specular and AO maps.
...
Gah, these things are pain to debug - "undefined" value in uniforms can lead to very weird behaviors.
2011-07-07 23:54:17 +02:00
Mr.doob
7593b8d58a
REVISION++
2011-07-06 17:01:33 +02:00
Mr.doob
a5b7ea85a9
Removed Sound object and SoundRenderer.
...
Updated misc_sound example with same functionality.
2011-07-03 15:10:28 +02:00
Mr.doob
2429806888
Updated builds.
2011-07-03 13:02:46 +02:00
Mr.doob
176d0f2884
Merging with @alteredq's branch.
2011-07-03 12:56:50 +02:00
Mr.doob
19bf382881
Updated builds.
2011-06-24 17:16:46 +02:00
Mr.doob
4b2de9b91d
Reverted to proper Matrix4.multiply() (thanks @lukem1)
2011-06-23 15:37:16 +02:00
Mr.doob
89a4d0e51c
Fixed Ray.js distance calculation so it uses world position.
2011-06-21 13:04:59 +02:00
Mr.doob
f25822bbbb
Updated builds.
2011-06-19 16:56:36 +02:00
Mr.doob
bd067242da
Updated builds.
2011-06-19 16:24:01 +02:00
alteredq
70f417b8f9
Merged with mrdoob's branch.
2011-06-15 19:23:07 +02:00
Mr.doob
af0beedad7
Reverted to previous WebGLRenderer.setTexture code. Now that Chrome 12 is out, it should be working?
...
Commented out troublesome object-behind-camera check in Ray.js
2011-06-15 17:53:49 +02:00
alteredq
5bf5c6efd8
Refactored object removal in WebGLRenderer, fixing several issues.
...
Added handling of removal of particle systems, ribbons, lines, shadow volumes, marching cubes.
Fixed bug with partial mesh removal.
2011-06-14 11:18:19 +02:00
Mr.doob
49343c4a97
Removed unneeded property.constructor line on Anaglyph/Crosseyed renderers.
2011-06-13 21:10:24 +02:00
alteredq
eae0616ad0
Trying to fix multiple renderers when having stereo renderers include issue.
2011-06-13 19:19:19 +02:00
Mr.doob
d46a1ee368
Checking if WebGLRenderer exists before creating AnaglyphWebGLRenderer and CrosseyedWebGLRenderer.
2011-06-13 12:21:42 +02:00
alteredq
e4b75f1c8d
Merged greggman's offset camera pull request.
2011-06-03 23:57:38 +02:00
alteredq
d2cbf83dd3
Merged zz85's 3d text pull request, cleaned up THREE.Text code.
2011-06-03 20:31:35 +02:00
Gregg Tavares
9d76ab526d
Compile with camera.setViewOffset
2011-06-02 11:29:07 -07:00
zz85
2860731edb
Updated 3D Text Geometry and example
2011-06-02 01:21:37 -07:00
alteredq
adca3ad139
Small optimization: moved doubleSided and flipSided properties from Mesh up to Object3D.
...
Having these "undefined" for non-mesh objects was causing unnecessary GL state setting when having scenes with mixed content (and coercing "undefined" to boolean turned out to be similarly costly as state setting).
2011-06-01 23:50:11 +02:00