Mr.doob
bd2f75b48a
Updated r46 with some bugfixes found post release.
2011-11-17 01:14:01 +01:00
Mr.doob
cb960a567b
Merge remote-tracking branch 'alteredq/dev' into dev
2011-11-17 01:01:58 +01:00
Mr.doob
a51766a71a
Merge branch 'master' into dev
2011-11-17 01:01:32 +01:00
Mr.doob
d196b36c51
Removed useVertexNormals boolean from computeFaceNormals.
...
Bad things (and hard to debug) can happen that affect Ray.
2011-11-17 01:00:50 +01:00
Mr.doob
95aa0a6197
Merge pull request #765 from miohtama/patch-1
...
Added link to library build instructions
2011-11-16 12:11:49 -08:00
Mr.doob
886badd80d
Setting REVISION to r47dev
2011-11-13 22:33:34 +01:00
Mr.doob
579ba1f7ab
r46
2011-11-13 22:25:01 +01:00
Mr.doob
18ff7e8068
Removed Collisions from build.py too
2011-11-13 21:41:04 +01:00
Mr.doob
6ad7cbb47b
Removed Collisions code.
...
No time right now to re-create the examples using Ray. Will do for r47...
2011-11-13 21:39:49 +01:00
Mr.doob
c99ff7f5db
Merge remote-tracking branch 'huttarl/dev' into dev
2011-11-13 21:30:52 +01:00
Mr.doob
525527e03d
Merge remote-tracking branch 'alteredq/dev' into dev
2011-11-13 21:25:42 +01:00
Mr.doob
9116ca3876
Merge remote-tracking branch 'zz85/master' into dev
2011-11-13 21:25:15 +01:00
Mr.doob
a0bc0e0661
Removed unneeded code in canvas_materials_depth example.
2011-11-13 21:24:56 +01:00
Mr.doob
3c61c0c702
Updated builds.
2011-11-11 19:01:23 +01:00
Mr.doob
6bfe8bf8a4
Merge remote-tracking branch 'zz85/master' into dev
2011-11-11 18:59:01 +01:00
Mr.doob
8730833a6a
Merging with @zz85's branch.
2011-11-11 18:58:54 +01:00
Mr.doob
f3e18523f1
Fixed canvas_geometry_terrain on Firefox (thx @sylarpowa!)
2011-11-11 03:20:22 +01:00
Mr.doob
f6d5b72139
GUI now supports the new json format
...
The picking code seems to be buggy... will investigate.
2011-11-07 14:22:32 +01:00
Mr.doob
1d82924efa
Made SphereGeometry a bit more sturdy.
2011-11-07 02:47:19 +01:00
Mr.doob
b406568dce
Refactored SphereGeometry
...
Now uses Face4 where posible.
Adde phiStart, phiLenght, thetaStart and thetaLength as extra parameters (useful for doing google-earth-like stuff).
2011-11-07 02:34:38 +01:00
Mr.doob
81346eab80
Better UV texture
2011-11-05 14:59:17 +01:00
Mr.doob
004773665a
Improved IcosahedronGeometry UVs
...
This will need a rewrite anyway...
2011-11-05 11:14:10 +01:00
Mr.doob
1087e2368e
Improved normal calculation on IcosahedronGeometry
...
UVs are hard indeed.
2011-11-05 00:42:33 +01:00
Mr.doob
036caa64ee
CanvasRenderer now (properly) handles textured triangles with determinant to 0
...
Proper IcosahedronGeometry next...
2011-11-03 17:33:30 +01:00
Mr.doob
5d49ec9fae
Workaround for CanvasRenderer 0x0 pixel case
...
It makes the whole thing imprecise, but cubes are now properly reflective.
2011-11-03 11:32:58 +01:00
Mr.doob
1b525e38c5
Improved CubeGeometryand PlaneGeometry
2011-11-03 10:39:57 +01:00
Mr.doob
416319cda0
Implemented @banaadams's custom attributes removal to WebGLRenderer.
2011-11-03 07:57:57 +01:00
Mr.doob
60f70df2d2
Updated GUI to the new material setup.
...
There seems to be some bug in the picking code, will investigate.
2011-11-02 18:43:24 +01:00
Mr.doob
dae63a1c04
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-31 18:07:01 +01:00
Mr.doob
349e565de3
Fixed some examples.
2011-10-31 17:40:13 +01:00
Mr.doob
aea1ef59a3
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-31 17:17:32 +01:00
Mr.doob
1717c62d15
Improved Kinect example
...
Hooked more values to DAT.GUI
2011-10-31 07:57:09 +01:00
Mr.doob
2f90d73d13
Added Kinect example. Updated DAT.GUI.
2011-10-30 17:35:09 +01:00
Mr.doob
f4063649a0
And yet some more Ray optimisations :P
...
And still readable code...
2011-10-30 14:23:24 +01:00
Mr.doob
7ce228ad12
Optimised Ray yet again. Adeed @banaadams 's texture.onUpdate.
2011-10-30 13:33:41 +01:00
Mr.doob
dad6911bb0
Optimised Ray a bit more
...
Removed some clone() calls while still keeping the code somewhat pretty.
2011-10-29 10:30:08 +02:00
Mr.doob
ca38a3ff1c
Added precision parameter to WebGLRenderer
...
So we can set it to lowp for mobile devices if needed.
2011-10-29 06:52:43 +02:00
Mr.doob
be5d5858ad
Merge remote-tracking branch 'origin/dev' into dev
2011-10-29 06:30:17 +02:00
Mr.doob
1ef3d27522
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-28 19:46:25 +02:00
Mr.doob
1f7838a9c2
Fixed bug in Ray's pointInFace3.
2011-10-25 10:10:41 +02:00
Mr.doob
1914458738
Simplified and clarified hierarchy2 example.
2011-10-25 07:34:49 +02:00
Mr.doob
a7c804b817
Updated builds.
2011-10-25 06:50:15 +02:00
Mr.doob
ed67da2783
Merge remote-tracking branch 'zz85/master' into dev
2011-10-25 06:39:53 +02:00
Mr.doob
5916682ea6
Reverting again
...
Actually, this would break cameras added as childs of objects, reverting.
So there is no clear and simple way to handling multiple scenes unfortunatelly.
Encouraging `scene.add( camera )` seems like the right thing to do then, less problems.
2011-10-25 05:59:13 +02:00
Mr.doob
13e4f78a28
Reverting my thought
...
Actually, I think this can be handled magically instead of requiring understanding of the concept that the camera is part of the scenegraph.
While I was at it, I fixed it so you can use a camera for rendering different scenes (the renderer will add it and remove from each scene graph) .
2011-10-25 05:47:13 +02:00
Mr.doob
d902ca3bf0
Updated builds and tweaked examples
...
Removed LOD text example. I think LOD example is good enough.
Ubiquity test working again.
Tweaked README to show the new pattern (Scene first thing created).
2011-10-25 01:50:17 +02:00
Mr.doob
212506bce4
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-25 01:18:47 +02:00
Mr.doob
747b813bcb
Merging with @alteredq's branch
2011-10-25 01:18:31 +02:00
Mr.doob
e54f2e32e7
Updated builds.
2011-10-24 14:43:33 +02:00
Mr.doob
fde298e156
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-24 14:29:47 +02:00
Mr.doob
af2919bc17
Adding RenderableObject once again.
...
It's going to be handy for the WebGLRenderer (__webglObjects)
2011-10-24 14:23:12 +02:00
Mr.doob
caabab07f3
Lines can be treated as Objects
2011-10-23 14:18:57 +02:00
Mr.doob
ec00f298be
CanvasRenderer and SVGRenderer using single-material system.
...
Also moved `.overdraw` to Material.
Code is much simpler now :)
2011-10-23 13:50:55 +02:00
Mr.doob
806ecdfc04
Merge remote-tracking branch 'alteredq/experimental_shading_materials' into dev
2011-10-23 12:34:56 +02:00
Mr.doob
6b151b552e
Merging with @alteredq's experimental branches.
2011-10-23 12:34:46 +02:00
Mr.doob
20c96f52e9
Reverted changes, starting again.
2011-10-23 10:04:28 +02:00
Mr.doob
330ab77836
WIP WebGLRenderer refactoring
2011-10-16 11:36:09 +02:00
Mr.doob
6742f8e4a4
Merge remote-tracking branch 'sirlantis/patch-1' into dev
2011-10-15 09:01:58 +02:00
Mr.doob
d2b8a07822
Changed ColladaLoader so it doesn't create extra Object3Ds for each mesh.
...
Updated Stats.
2011-10-15 09:00:41 +02:00
Mr.doob
61dca43a51
Merge branch 'master' into dev
2011-10-13 05:12:17 +02:00
Mr.doob
3433b49cba
Beautified usage example.
2011-10-13 05:12:01 +02:00
Mr.doob
8a92374fd0
Merge branch 'master' into dev
2011-10-13 04:34:12 +02:00
Mr.doob
77d7a999af
Somehow the trails example got deleted... ?
2011-10-13 04:34:00 +02:00
Mr.doob
0cc9b95e1e
Merge branch 'master' into dev
2011-10-12 05:50:09 +02:00
Mr.doob
44730f9324
Adding "Lights" to featured projects list.
2011-10-12 05:49:38 +02:00
Mr.doob
698c15fdce
Tab fix.
2011-10-12 05:47:00 +02:00
Mr.doob
e81b2361d7
Merge remote-tracking branch 'cscott/master' into dev
2011-10-11 20:46:34 +02:00
Mr.doob
fb4f5f8467
Merge remote-tracking branch 'Knectar/dev' into dev
2011-10-11 02:21:16 +02:00
Mr.doob
8edb3f18b2
Removing (now unused) stuff from Projector.
2011-10-09 07:11:19 +02:00
Mr.doob
378c3fdfed
Removing some deprecated warnings.
...
Maybe a bit too early, but just want to see that code clean and simple...
2011-10-09 07:01:18 +02:00
Mr.doob
0971db286f
I wonder if this still affects performance nowadays.
2011-10-09 06:49:07 +02:00
Mr.doob
6419bd37d9
Got CanvasRenderer and SVGRenderer using the new Scene Graph.
...
* The new system allow us to add lights and cameras as children of any object without hacks.
* The Camera needs to be added to a Scene. If the Camera has no parent it's added to the Scene being renderer automatically.
* I'll work on implementing this into the WebGLRenderrer tomorrow (gonna be a looong day... ).
2011-10-09 06:46:03 +02:00
Mr.doob
1e5fc98582
Reworking Scene Graph setup.
2011-10-09 01:13:46 +02:00
Mr.doob
9a6a20b57b
GUI: Small tweaks to loaders code.
2011-10-09 01:11:29 +02:00
Mr.doob
330b64b080
Removed some (now gone) WaltHead.js includes.
2011-10-08 21:10:17 +02:00
Mr.doob
2c8967b124
Fixed CanvasRenderrer incorrectly SphericalReflectionMapping Face4 rendering.
...
Also replaced WaltHead.js (old format) with WaltHeadLo.js (new format)
2011-10-08 21:04:26 +02:00
Mr.doob
8db9d6fd61
GUI: Snap to axis (press x,y or z when moving). Added TrackballControls
...
Added this.enabled property to TrackballControls.
Simplified TrackballControls code.
2011-10-08 19:43:11 +02:00
Mr.doob
71ebe4e544
GUI: Replaced the 4 views with just a single perspective view.
2011-10-08 05:37:11 +02:00
Mr.doob
df94d2af57
Moved matrixWorldInverse logic to renderers as per @greggman suggestion.
...
Now `Camera` can use inherited `update()`
2011-10-08 03:38:49 +02:00
Mr.doob
3a2c28488b
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-08 02:37:16 +02:00
Mr.doob
ed8df3acab
Corrected README typo
2011-10-08 02:36:54 +02:00
Mr.doob
d4704fe8db
Updated builds.
2011-10-08 00:30:20 +02:00
Mr.doob
7d3e482555
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-08 00:28:07 +02:00
Mr.doob
b66c1e5744
GUI: Added support for dropping .js files
...
Remembered that @alteredq managed to get this working on a viewer for ro.me. So I just copied the code :)
2011-10-08 00:22:26 +02:00
Mr.doob
7891f2b33b
JSONLoader.load( parameters ) to JSONLoader( url, callback, texturePath )
2011-10-08 00:21:13 +02:00
Mr.doob
319d423262
Forgot marklundin's credit.
2011-10-07 21:54:47 +02:00
Mr.doob
2928cce2d9
Parallax Barrier WebGL Renderer
...
Pretty useless, no way I can try it and it's probably done in hardware anyway. But looks cool :P
http://en.wikipedia.org/wiki/Parallax_barrier
2011-10-07 21:22:48 +02:00
Mr.doob
fbbfb3b683
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-07 21:02:44 +02:00
Mr.doob
77af9c0cde
Implemented @jeromeetienne's webgl voxelpainter changes.
2011-10-07 20:54:45 +02:00
Mr.doob
869927a80e
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-07 20:30:30 +02:00
Mr.doob
f5aa95396f
Merge remote-tracking branch 'alteredq/dev' into dev
2011-10-07 20:07:41 +02:00
Mr.doob
c3d706e295
preserveDrawingBuffer isn't needed anymore.
2011-10-07 20:06:24 +02:00
Mr.doob
40bca923c3
Added WebGL trails example.
2011-10-07 19:45:02 +02:00
Mr.doob
3343729ad0
Updated builds.
2011-10-07 09:03:57 +02:00
Mr.doob
e4a17d6369
Merge remote-tracking branch 'greggman/newrot' into dev
2011-10-07 09:01:16 +02:00
Mr.doob
4e5dff61c8
Added basic Collada file drop support to the GUI.
...
Unfortunately "File" doesn't have path information, so textures won't load :/
Tried to also drop .js files, but the Workers part ruined the party too :/ :/
2011-10-07 08:55:05 +02:00
Mr.doob
ca517008d1
Trying to use OrthographicCamera in the GUI.
...
Not much luck yet, for some reason the camera zooming doesn't work on the orthographic views :/
2011-10-07 07:53:02 +02:00
Mr.doob
7ec1a88d26
Fixed GUI.
2011-10-07 07:25:05 +02:00
Mr.doob
1258e8a771
Ray now also checks object's children.
2011-10-07 07:07:34 +02:00
Mr.doob
81d338e915
ColladaLoader fixes.
...
* Fixed `ColladaLoader` and `Loader` url base extraction code.
* `ColladaLoader` now ignores non-joint nodes when constructing the skeleton. (Hopefuly, in a year time, I'll find this fix stupid)
2011-10-07 02:30:10 +02:00