2431 Commits
Author SHA1 Message Date
Mr.doob 3ad1f77774 ImageUtils blank spaces clean up. 2011-03-19 19:37:40 +00:00
Mr.doob bc528525dc Uops, that test wasn't supposed to go in. 2011-03-18 16:57:48 +01:00
Mr.doob 9409952c7a WebGLRenderer: alert() → console.error() (thanks for the tip @joa)
Not sure about Firefox 4/Opera compatibility...
2011-03-18 16:55:37 +01:00
Nicholas Kinsey c207d39ed8 removing duplicate declaration 2011-03-17 22:42:13 -07:00
alteredq 9c2cc81fc9 Added to OBJ converter warning and skipping of morphs with different numbers of vertices than the original model. 2011-03-17 15:43:47 +01:00
alteredq 0f3ba92d7e Fixed bug in OBJ converter which was preventing it from not using any alignment ("-a none"). 2011-03-17 13:19:50 +01:00
alteredq 377a71faa5 Merge branch 'master' of http://github.com/mrdoob/three.js 2011-03-17 12:51:19 +01:00
Mr.doob dd52560369 Some basic performance optimisations on voxel examples. Bottleneck is still Ray caster anyway :/ 2011-03-17 04:42:46 +00:00
Mr.doob a6379a26ce Disabling antialias when you don't need it is always good ;) 2011-03-17 01:03:46 +00:00
Mr.doob c986eef0f9 Compiled lib with new Cylinder. 2011-03-17 01:00:23 +00:00
fuzzthink 4d711ae49a Fixed only half bottom surfaces bug.
Converted tabs to spaces.
2011-03-16 17:20:24 -07:00
alteredq 04a7ac496c Added SceneUtils.traverseHierarchy and SceneUtils.showHierarchy.
Also cleaned up examples from individual includes, only sandboxes and ubiquity now include individual files.
2011-03-17 00:22:20 +01: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 565f9221e3 Added missing classes to custom builds. 2011-03-16 19:11:56 +00:00
alteredq da497665f7 Synced with empaempa plus made it possible to use scene lights in MeshShaderMaterial. 2011-03-16 14:28:49 +01:00
Mikael Emtinger a4a96f259c Really fixed skinning bug 2011-03-16 11:58:00 +01:00
Mikael Emtinger c47caf5d68 Fixed skinning bug 2011-03-16 11:50:09 +01:00
Mr.doob d5f0ce79d4 Reverted Cylinder top/bottom auto cap and offset features. 2011-03-16 05:09:35 +00:00
Mr.doob a1a41e7fc8 Recompiled builds. 2011-03-16 04:58:00 +00:00
Mr.doob 52783932ec Merge remote branch 'alteredq/master' 2011-03-16 04:50:51 +00:00
Mr.doob c8d13bd7b0 Fixed Lathe Geometry. 2011-03-16 04:50:35 +00:00
alteredq 59071e75b3 Synced with mrdoob's branch.
Also fixed scene loader example to match new cylinder parameters (centered).
2011-03-16 05:22:56 +01:00
alteredq 2127bdeb50 Merged morphing from empaempa.
Everything should work except skinning.
2011-03-16 04:53:39 +01:00
Mr.doob 49d9b2e460 src/extras/primitives/ ⟶ src/extras/geometries
Added geometries example (need to add Lathe one).
Fixed Cylinder.
2011-03-16 03:51:47 +00:00
alteredq 863e7db49f Refactored spline specific stuff out of PathCamera into Spline. 2011-03-16 01:19:39 +01:00
alteredq ff832976b2 Removed underscores from texture filenames to please GitHub. 2011-03-15 17:59:32 +01:00
Mr.doob f848e60de0 Tweaked extras order. r36 2011-03-15 16:07:12 +00:00
alteredq 1c466f26e7 Moved QuakeCamera and PathCamera into extras/cameras. 2011-03-15 16:49:52 +01:00
alteredq cf6e2de8c9 Synced with mrdoob's branch. 2011-03-15 15:44:23 +01:00
alteredq a9f8419ae4 Added option to PathCamera to try to follow spline with the constant speed.
Enabled by "useConstantSpeed" parameter.

This is done by creating new spline which resamples original spline proportionally to linear-piece-wise integrated length of segments of the original spline.

It's not perfect, but speed-wise it should be better, especially when the original spline has very different lengths of segments.

New spline may have a bit different shape though (Catmull-Rom spline guarantees that it will pass through control points, but with more dense control points it may get kinks in between). You may control density of resampling by "resamplingCoef" parameter of the PathCamera.
2011-03-15 14:48:23 +01:00
Mr.doob 86ee064d6c Updated README. 2011-03-15 12:40:01 +00:00
Mr.doob 2a83aeb64b Object3D: Setting matrixWorldNeedsUpdate to true when updateMatrix has been called. 2011-03-15 12:31:14 +00:00
Mikael Emtinger 5eddfafb5e Fixed bug with MeshShaderMaterial 2011-03-15 08:42:30 +01:00
Mikael Emtinger 52edc3b9a9 Merged with Alterq 2011-03-15 08:21:00 +01:00
Mikael Emtinger f03f67da1c Commit befor merge 2011-03-15 08:19:51 +01:00
alteredq 09a10f7b2c Fixed update of PathCamera.
No more need for manual update hack.

Problems with keeping constant speed are still there. Added debug particles sampled along the spline - seems problems come from spline, samples have weird distribution.
2011-03-15 02:01:52 +01:00
Mr.doob 1f9d0d57ed Changed API Reference link in README. 2011-03-14 20:59:07 +00:00
Mr.doob a217bed826 Updated README. 2011-03-14 20:37:56 +00:00
Mr.doob 1413f96958 Fixed Camera.updateMatrix(). 2011-03-14 20:01:35 +00:00
alteredq 67341e776a Fixed bug in frustum culling when camera is part of hierarchy.
Thanks to empaempa for the fix.
2011-03-14 17:27:57 +01:00
alteredq 6972b1b5fc Added support for morph targets to OBJ converter.
To be used like this:

python convert_obj_threejs_slim.py -i model.obj -m morph*.obj -o model.js

Morph filename strings can contain wildcards "*,?,[]".

For including morphs from multiple folders, use quotes and separate filename patterns by space:

python convert_obj_threejs_slim.py -i model.obj -m "folderA/morphA*.obj folderB/morphB*.obj ..." -o model.js
2011-03-14 14:34:51 +01:00
Mikael Emtinger a861d97ab9 Merged with Alterq. 2011-03-14 09:54:08 +01:00
alteredq b6b0e21015 Added PathCamera.
PathCamera automatically follows path passing through waypoints (interpolated via Catmull-Rom spline). View angles can be constrained and controlled by mouse.

Work in progress, there are still some issued to be solved (constant movement speed, broken automatic update, broken frustum culling).
2011-03-14 03:57:22 +01:00
alteredq e7ab9e58a2 Implemented simple forward facing animation type for Catmull-Rom splines.
Gah, that was painful. Obvious solution with object.lookAt doesn't work, forward facing direction (heading and attitude) is fine, but banking gets messed up:( Tried many fixes, none worked, so I just resorted to simple rotation around Y-axis based on direction vector.
2011-03-13 04:48:11 +01:00
alteredq be875f2267 Fixed bug in spline animation.
Spline control points shouldn't be cycled, this produces freaky behaviors near start and end of path. Instead they have to be capped.

Also did some refactoring.
2011-03-13 01:38:04 +01:00
Mikael Emtinger 24c7590169 Fixed bug in morph target shader and added example 2011-03-11 17:51:58 +01:00
Mikael Emtinger b4b730c07d Morph targets added 2011-03-11 17:09:23 +01:00
alteredq 2b90f7c047 Fixed broken converter multi-dot filenames fix.
Also implanted Animation fix from empaempa.
2011-03-11 16:56:22 +01:00
Mikael Emtinger 0750cf1742 Mergable: added morph target support. 2011-03-11 08:13:43 +01:00
Mikael Emtinger b2fa718d8d Unmergable: commited to be able to merge with alterq. 2011-03-11 08:07:44 +01:00