Commit Graph
537 Commits
Author SHA1 Message Date
Mr.doob 449a981925 CanvasRenderer: Added distance(falloff) to PointLight. Removed illumination to ParticleCanvasMaterial. 2011-03-29 03:50:04 +01:00
Mr.doob 377d1904de Modified cubemap example to be more in the way one would render a Skybox like. 2011-03-28 17:11:27 +01:00
alteredq 827dcdd908 Added handling of UVs to Blender importer. 2011-03-28 04:17:38 +02:00
alteredq 49872b2afd Disabled antialias for examples that use full-screen postprocessing.
It doesn't have effect there anyway as scene is rendered to FBO without multisampling.

Turning antialiasing off here didn't have much effect on performance though (unlike for particles).
2011-03-27 21:19:49 +02:00
Mr.doob ba7ad63043 WebGLRenderer: Minor syntax clean up. Removed the rest of premultiplied alpha ops. 2011-03-27 08:03:00 +01:00
Mr.doob 754aebf84a Reverted Detector.js as Chrome's issue seems to be fixed now. 2011-03-26 12:42:16 +00:00
Mr.doob 6c1b9c589d Merge remote branch 'alteredq/master' 2011-03-26 10:49:53 +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 b31b8eebcd Changed exporters, converters and example models to use more proper JSON.
Single quote property names and hex numbers are not valid in JSON.
2011-03-26 06:05:46 +01:00
alteredq 633276ddd8 Quick fix for Detector that got broken with latest Chrome canary.
For some reason Chrome canary 12.0.713.0 doesn't have "window.WebGLRenderingContext".
2011-03-25 17:40:56 +01: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 1859fe4057 Updated Blender exporter to be able to export scenes.
Work-in-progress.

So close yet so far. Test scene almost works, just two things are not rotated properly (which means maybe everything will need to be reworked :(
2011-03-25 04:39:04 +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 bd2d39ac6b Fixed broken examples.
Updated build script.
2011-03-24 21:04:34 +00:00
Mr.doob 0ccf06f593 Merge remote branch 'empaempa/master' into experimental 2011-03-24 20:49:31 +00:00
Mr.doob 5abbcec449 That trickery isn't needed anymore. 2011-03-24 20:40:08 +00:00
Mikael Emtinger 408f05189c Updated example 2011-03-24 11:36:37 +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 60ac9f8c2c Suzanne is the new Cube. 2011-03-23 06:36:10 +00:00
Mr.doob ae80b2b894 REVISION ++
Updated builds and README.
2011-03-22 18:58:06 +00:00
alteredq d9a930caa4 Added second cube for Blender vertex color example (courtesy of mrdoob). 2011-03-22 04:29:08 +01:00
alteredq 5cf2b5c0ac Fixed vertex color demo. 2011-03-22 02:17:40 +01:00
Mr.doob cfbaaa4f68 CanvasRenderer: Properly rendering Face4 with SmoothShading now :') 2011-03-22 01:06:16 +00:00
Mr.doob 76c2720a4f Merge remote branch 'alteredq/experimental' into experimental 2011-03-22 00:33:35 +00:00
Mr.doob b7ec7b175e Projector: Fixed crash when Face4 had vertex normals. 2011-03-22 00:33:26 +00:00
alteredq 25b47616fa Changed order of materials in WebGL materials demo.
As now buffers are created based on first material that is encountered per shared Geometry, most complex material should go first.
2011-03-22 01:21:42 +01:00
alteredq 8f8c60475c Merge remote branch 'remotes/upstream/experimental' into experimental 2011-03-22 00:48:06 +01: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 0cb62b71ae Added WebGL equirectangular panorama demo.
Merging with alteredq's branch.
2011-03-21 19:05:12 +00: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 69644c6751 CanvasRenderer Terrain demo is back :_) It's been borken for a while... 2011-03-21 05:55:50 +00: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