alteredq
6552dd559a
Updated all builds.
2011-03-28 16:51:27 +02:00
alteredq
fd145f038e
Reverted accidental reverting of mrdoob's changes.
2011-03-28 16:45:11 +02:00
alteredq
dc8c98db5f
Put some shader attributes behind #ifdef in buildProgram.
...
This is to see if it helps with shader validation complains that recently started to pop up in Chrome ANGLE (but curiously not in Firefox ANGLE).
2011-03-28 16:24:22 +02:00
Mr.doob
5c684f93d8
Updated builds.
2011-03-27 08:04:26 +01:00
alteredq
33e5a9bfe0
Added very basic Three.js Blender importer.
...
Very much work in progress, for the moment it creates just pure geometry (no normals, uvs, colors or materials).
Also fixed bug in JSONLoader in handling of face uvs.
2011-03-27 08:47:11 +02:00
Mr.doob
d6949ea2ce
NormalBlending is now 1:1 with Blender :_)
...
No wonder there were premultiplied-alpha-looking issues. We were doing it ourselves :P
2011-03-26 12:17:37 +00:00
Mr.doob
59443e5725
WebGLRenderer: Some clean up of blending modes.
...
NormalBlending is a bit better. But it's now producing some premultiplied-alpha-looking issues still :/
Created a couple of tools for making this process less painful:
http://mrdoob.com/lab/javascript/webgl/blending/blendfunc.html
http://mrdoob.com/lab/javascript/webgl/blending/blendfuncseparate.html
2011-03-26 10:41:58 +00:00
alteredq
8abdf466ce
Synced with mrdoob's branch.
2011-03-25 12:46:14 +01:00
Mr.doob
a3e29e5beb
I think BillboardBlending is how NormalBlending is supposed to be.
...
Also changed AdditiveBlending.
2011-03-25 07:02:04 +00:00
alteredq
4f80bbf808
Merged with mrdoob's branch.
2011-03-25 04:52:13 +01:00
alteredq
0496571235
Updated model loader, scene loader and scene format.
...
- model loader now handles "wireframe" parameter
- scene light colors are now specified via hex numbers
- scene format now includes additional parameter "urlBaseType" specifying where loader will look for included files:
- options are "relativeToHTML" (look for files under HTML url http://example.com/mydemo/index.html )
and "relativeToScene" (look for files under url from where scene was loaded http://example.com/assets/myscene/scene.js )
2011-03-25 03:22:32 +01:00
Mr.doob
0f3093373d
If I'm not mistaken that would have affected other Loaders.
2011-03-24 23:58:46 +00:00
Mr.doob
af993ea379
Added onLoadStart, onLoadProgress and onLoadComplete methods to Loader.
...
Simplified JSONLoader.
2011-03-24 23:29:10 +00:00
Mr.doob
bd2d39ac6b
Fixed broken examples.
...
Updated build script.
2011-03-24 21:04:34 +00:00
Mikael Emtinger
a25155bde6
Change blending method on shadow polygons. Updated example to use Lambert material and only one shadow casting directional light.
2011-03-24 11:35:38 +01:00
Mikael Emtinger
95e92d9026
Stencil shadows added
2011-03-24 09:09:25 +01:00
Mr.doob
feb60d1fa0
Updated builds.
2011-03-23 06:05:15 +00:00
Mr.doob
48a9714eed
Also removed Blender 2.49 exporter for the time being.
2011-03-23 06:03:36 +00:00
Mr.doob
0dc51e5687
Added copy method to THREE.Color.
...
Updated GeometryUtils.merge with Face*.color changes.
2011-03-23 00:18:39 +00:00
Mr.doob
ae80b2b894
REVISION ++
...
Updated builds and README.
2011-03-22 18:58:06 +00:00
alteredq
91ef6a7188
Merge remote branch 'remotes/upstream/experimental' into experimental
2011-03-22 04:18:56 +01:00
alteredq
673ff47199
Blender exporter now exports proper per-face-vertex vertex colors.
2011-03-22 04:17:49 +01:00
Mr.doob
55a6938f26
SVGRenderer doesn't need ParticleCanvasMaterial
2011-03-22 01:17:48 +00:00
Mr.doob
cfbaaa4f68
CanvasRenderer: Properly rendering Face4 with SmoothShading now :')
2011-03-22 01:06:16 +00:00
Mr.doob
b7ec7b175e
Projector: Fixed crash when Face4 had vertex normals.
2011-03-22 00:33:26 +00:00
alteredq
9db71a171a
Fixed tangents and UVs in Blender exporter.
...
Also updated docstring for OBJ converter.
All WebGL examples should now work.
2011-03-22 00:32:45 +01:00
alteredq
ce69f7dc1d
Synced with mrdoob's experimental branch.
2011-03-21 07:19:12 +01:00
alteredq
3b6b3dc578
Made more examples working.
2011-03-21 07:10:12 +01:00
alteredq
071de366c2
Updated Blender exporter to export new JSON format.
...
Also some fixes along the way to properly handle vertex colors in loaders.
Many things still broken, but we move forward.
2011-03-21 05:36:12 +01:00
alteredq
548289b3a4
Fixed remaining extras/geometries, GeometryUtils and few examples.
2011-03-21 01:39:01 +01:00
alteredq
8546a3bddb
Fixed BinaryLoader.
2011-03-21 01:07:01 +01:00
alteredq
2989defcc8
First version that is at least partially working with the new model format ;).
...
Tons of things still broken.
2011-03-21 00:58:12 +01:00
alteredq
a230b659ab
More fixes.
...
Getting closer though still having some junk data poping out here and there.
2011-03-20 22:25:41 +01:00
alteredq
e7e35950e1
More fixes related to new model format changes.
...
Commit to be able to merge with mrdoob.
2011-03-20 21:20:05 +01:00
alteredq
6ee446f34a
Few uv-layers related fixes.
2011-03-20 20:28:51 +01:00
alteredq
bdc19a15c2
Updated OBJ converter to create new JSON model format.
...
Not tested yet, as the rest of the engine doesn't work yet.
2011-03-20 20:14:23 +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
alteredq
377a71faa5
Merge branch 'master' of http://github.com/mrdoob/three.js
2011-03-17 12:51:19 +01:00
Mr.doob
c986eef0f9
Compiled lib with new Cylinder.
2011-03-17 01:00:23 +00: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
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
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