Commit Graph
638 Commits
Author SHA1 Message Date
Mikael Emtinger ac6f422a6f Added LensFlares. Note that a new blending mode has been added. Added an (quite ugly example). NOTE: this doesn't seem to work on Chrome+Mac+NVIDIA unless you turn off antialias (which I've done in the example). 2011-03-29 13:30:53 +02:00
Mikael Emtinger 9ee4c267b1 In the middle of lens flares 2011-03-25 17:05:40 +01:00
Mikael Emtinger 926f1be28f Initial add of lens flare 2011-03-24 17:51:28 +01:00
Mikael Emtinger 66f657d84a Optimized rendering of shadow volumes and the shader. 2011-03-24 16:01:56 +01: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 fd3e2c1833 Merge remote branch 'alteredq/master' 2011-03-23 06:03:49 +00:00
alteredq bc8570fbe0 Fixed subtle tricky bug in JSONLoader.
This was messing models with mixed uv/non-uv faces.

Also bumped up version number for max exporter.
2011-03-23 06:29:31 +01: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 5c33ce01e2 Unfortunately C4D exporter is outdated and we don't use that. Removing it for now... Hopefully someone will re-port the Blender exporter again. 2011-03-22 19:40:19 +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 1faa8ab964 Minor clean up. 2011-03-22 01:33:04 +00: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
Mr.doob 562864d376 Merge remote branch 'alteredq/experimental' into experimental 2011-03-21 23:50:32 +00:00
Mr.doob 27dbb644be CanvasRenderer: Brought back Face4+MeshDepthMaterial rendering. 2011-03-21 23:50:19 +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
Mr.doob fc82363151 Merge remote branch 'alteredq/experimental' into experimental 2011-03-21 06:14:44 +00:00
alteredq ce68ecbc95 Merge remote branch 'remotes/upstream/experimental' into experimental 2011-03-21 07:12:38 +01:00
alteredq 3b6b3dc578 Made more examples working. 2011-03-21 07:10:12 +01:00
Mr.doob c119abcaac Merge remote branch 'alteredq/experimental' into experimental 2011-03-21 05:42:11 +00:00
Mr.doob 5a0a200ce4 RenderableFace4 is back (thus 2x speed boost on all examples using quads). 2011-03-21 05:41:55 +00:00
alteredq 044a27b530 Merge remote branch 'remotes/upstream/experimental' into experimental 2011-03-21 05:38:53 +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
Mr.doob f35e8092c6 More uvs fixes.
About to try to bring Face4 back.
2011-03-21 02:59:02 +00:00
Mr.doob cc38750d18 Yet more uvs tweaks. 2011-03-21 01:55:44 +00:00
Mr.doob 3a732f7c89 Merge remote branch 'alteredq/experimental' into experimental 2011-03-21 01:00:27 +00:00
Mr.doob 999a87358b Some more clean up in Projector and CanvasRenderer.
Fixed some examples that used ParticleCircleMaterial.
2011-03-21 00:59:15 +00: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 d775e22a90 Merge remote branch 'remotes/upstream/experimental' into experimental 2011-03-21 01:00:20 +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
Mr.doob 348bb3be59 Merging with alteredq's branch. 2011-03-20 21:48:50 +00:00
Mr.doob a7740f47fc ParticleCircleMaterial ⟶ ParticleCanvasMaterial (canvas code injection) 2011-03-20 21:47:11 +00:00
alteredq 0dd0b90e9f Removed extra init of UV layer 0 for Sphere. 2011-03-20 22:32:08 +01:00
alteredq d90304c136 Synced with mrdoob's experimental branch. 2011-03-20 22:29:44 +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
Mr.doob f03db768cb Fixed uvs creating on Sphere.
Fixed uv handling on Projector (forcing channel 0 by now)
2011-03-20 20:42:46 +00:00
Mr.doob 617c9b78b3 Fixed typo. 2011-03-20 20:21:45 +00:00
alteredq 9dbb1ef2cf Merge remote branch 'remotes/upstream/experimental' into experimental 2011-03-20 21:20:39 +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
Mr.doob 2030f69a39 Merge remote branch 'alteredq/experimental' into experimental 2011-03-20 19:58:47 +00:00
Mr.doob 6514f67c12 Adapting Projector to new internal changes. Quite broken but getting there. 2011-03-20 19:58:24 +00: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
alteredq 9ab427b7c6 Refactored core and renderer to use new model format.
Work in progress, not expected to work yet.

(among other things, we don't deal yet with new vertex colors for particles/line/ribbons, for the moment they just use geometry.colors as before, also we need to specify which type of uvs to use somewhere, analogous to which type of vertex colors to use)
2011-03-20 06:54:04 +01:00
alteredq 4a3fcf4a75 Transfered binary-format related snippets from old Loader into BinaryLoader.
Binary loader was not yet refactored to use new format, which means it supports only subset of possible face types.
2011-03-20 03:50:11 +01:00
alteredq a71b541c48 Refactored common methods out of JSONLoader into base Loader. 2011-03-20 03:37:39 +01:00