2322 Commits
Author SHA1 Message Date
Mr.doob bd2f75b48a Updated r46 with some bugfixes found post release. r46 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
alteredq 291d56186c Fixed Ray bug. 2011-11-16 23:14:49 +01:00
alteredq 0de617e758 Added SceneUtils.cloneObject()
This creates shallow copy of object and its children (geometry and materials are shared, transforms are unique).
2011-11-16 22:59:33 +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
Mikko Ohtamaa f03e0e04be Added link to library build instructions 2011-11-16 21:07:18 +02:00
alteredq f61edd14c2 Fixed shadowmap update bug.
Hope so. There is now just a single scene graph update per frame render (plus some extra one-shot updates if light cameras are auto-added to scene graph).
2011-11-15 19:13:12 +01: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
alteredq dd7e1e84ee Removed redundant GL call in render target setup.
Also fixed RTT example - seems UV mapping for SphereGeometry is now rotated 180 degrees.
2011-11-13 20:10:31 +01:00
Lars Huttar b45887828b added noRotate property to TrackballControls 2011-11-12 11:48:07 -06:00
zz85 31958f790e add getTangentAt() 2011-11-12 22:30:20 +08: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
alteredq 9a375c4f39 Fixed bug where you couldn't change attribute types when updating buffers.
Too much caching can break things.
2011-11-11 18:38:52 +01:00
alteredq 1d5baf11aa Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-11-11 12:48:58 +01:00
alteredq 0ce26e4c52 Moved normal map shader into ShaderExtras.js 2011-11-11 12:39:12 +01:00
zz85 0dd53b44c2 Update Curve.js 2011-11-11 11:20:29 +08:00
Mr.doob f3e18523f1 Fixed canvas_geometry_terrain on Firefox (thx @sylarpowa!) 2011-11-11 03:20:22 +01:00
alteredq 89dc5b1b53 Added luminosity shader.
Dynamic terrain example now creates a specular texture from the color texture. That saves 2.17 MB download.

Just I had to drop materials pre-initialization, for some reason this doesn't play nice with having extra scene / render target :S.

In theory also detail normal texture could be computed from the color texture, just we need some nicer normal map filter (Gimp plugin has 9 different ones).
2011-11-09 23:53:32 +01:00
alteredq 5253c6490e Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-11-08 21:12:26 +01:00
alteredq 852738580e Added dynamic terrain example. 2011-11-08 20:54:57 +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
alteredq 4570769451 Refactored textures to set parameters before calling texImage2D.
This is supposed to be more efficient as per Apple OpenGL ES recommendations:

http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/TechniquesForWorkingWithTextureData/TechniquesForWorkingWithTextureData.html

Also we have been generating mipmaps twice for render targets.
2011-11-04 01:54:04 +01:00
alteredq bad3639c26 Merge remote-tracking branch 'remotes/mrdoob/dev' into dev 2011-11-03 20:40:30 +01:00
alteredq e08434c183 Reworked binary format / BinaryLoader / OBJ converter to use binary ajax fetch.
It was quite a pain - ArrayBuffers / Typed Arrays are fussy about byte alignment - but seems to be worth it.

Parsing times are down (modest gains for small objects / Firefox, bigger gains for large objects / Chrome, performance gains from 10% - 200%).

Also as a positive side effect, changing interleaved face arrays into uniform arrays seems to have helped a bit with gzip compression (about 6% smaller size for gzipped 526K Lucy).
2011-11-03 20:30:10 +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
alteredq e30107c8fe Removed workers from Max exporter. 2011-10-31 17:52:06 +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
alteredq 1658d7f083 Removed workers from Blender exporter.
Fixed Blender importer to work with Blender 2.60, add option for importing workers or non-worker models.

Fixed more examples to use worker-less format. All examples should work now.

Only Max exporter should be left to change.
2011-10-31 16:51:50 +01:00