Commit Graph
681 Commits
Author SHA1 Message Date
alteredq f962eb2ea6 bezel => bevel in TextGeometry and its example 2011-07-21 17:53:51 +02:00
alteredq c35cca9ecf Changed canvas_geometry_shape => webgl_geometry_shapes.
Also cleaned up ExtrudeGeometry.
2011-07-21 17:34:28 +02:00
alteredq 0cefeed567 Merged zz85's Shape / Path / Curve / ExtrudeGeometry updates.
Renamed StraightCurve => LineCurve.
Some white space and comments cleanup.
2011-07-21 14:38:31 +02:00
zz85 e37a02805a Updated Extrude Shape Examples 2011-07-21 14:23:45 +08:00
alteredq bc73d01762 Added alpha-test particle billboards example. 2011-07-15 02:19:06 +02:00
alteredq 5859ac66a6 Updated stale individual JS file includes in examples that don't use build libs. 2011-07-14 15:47:03 +02:00
alteredq d31398b28d Added THREE namespace to GeometryUtils.
Somehow this one escaped.
2011-07-14 15:28:44 +02:00
alteredq ee98b4ce6e Added forgotten detector to custom attributes particle billboards example. 2011-07-14 14:28:07 +02:00
alteredq 41b7eb7047 Added custom attributes example for billboard particles.
A test case for sorting of custom attributes.
2011-07-14 14:17:10 +02:00
alteredq 55efc95b58 Added WebGL detector to custom attributes examples. 2011-07-14 02:02:57 +02:00
alteredq 2014fb8b7f Added handling of custom attributes for ParticleSystems. 2011-07-14 01:45:30 +02:00
alteredq f1559f0186 Merged zz85's stepping + spline path extrusions.
Changed default extrusion stepping to 1 segment, smaller default tessellation is usually preferable (for flat surfaces).
2011-07-13 00:04:57 +02:00
zz85 802b5376be Added ExtrudeGeometry Steps and Extrusion by Path. Updated example with Spline Shapes. 2011-07-13 01:57:35 +08:00
alteredq 256f9a671a Fix for specular component of Phong and normal map materials. Hope so.
Thanks to @fazeaction for spotting this.
2011-07-12 02:57:05 +02:00
alteredq 23e315cb33 Merged zz85's Path / Shape / Extrude geometry. Cleaned up and refactored it a bit.
All three classes are now in separate files.
Updated build script.
Fixed runaway globals.
Optimized loops ("in" should be used just for iterating over object properties, for arrays it's slow and also traversal order is not guaranteed).
Cleaned whitespace.
Bit more polished example.
Fixed inverted side faces for fish shape.
2011-07-12 00:46:57 +02:00
alteredq 3ba8cc4d1e Merge remote-tracking branch 'remotes/zz85/master' into dev 2011-07-11 18:39:04 +02:00
zz85 762f58a490 Shape Extrusion 2011-07-11 20:00:02 +08:00
alteredq 2202f0a66c Fixed broken custom attributes demo.
Attributes were not in fact updated before.
2011-07-06 23:36:36 +02:00
Mr.doob ce39f2aa41 Detector.js message now pointing to get.webgl.org. 2011-07-03 18:15:27 +02:00
Mr.doob a5b7ea85a9 Removed Sound object and SoundRenderer.
Updated misc_sound example with same functionality.
2011-07-03 15:10:28 +02:00
Mr.doob 176d0f2884 Merging with @alteredq's branch. 2011-07-03 12:56:50 +02:00
Mr.doob 77eed2ea8c Removed most of SeceneUtils methods for simplicity reasons.
Fixed examples that were using them.
2011-07-03 12:53:58 +02:00
alteredq d7a82b348a Merge remote-tracking branch 'remotes/chriskillpack/rename-fpcamera' into dev 2011-07-03 02:53:27 +02:00
alteredq 280a28dfdc Merged with mrdoob's branch.
All examples work. Now just need to port Blender exporter changes to 2.58 version.
2011-07-03 02:33:16 +02:00
Chris Killpack 07d54a4d0f Rename FPCamera to FirstPersonCamera. 2011-07-02 16:04:55 -07:00
Mr.doob 78fb8ac6f8 Applied @alteredq's sprite removal bugfix. 2011-07-02 12:37:45 +02:00
alteredq bb332e5fcd Extended Loader base class to handle normal map materials.
Plus some more Loader changes:

- fixed diffuse color and opacity being skipped when diffuse texture is present in JSON
- more proper handling of Phong materials (now use ambient / diffuse / specular / shininess from JSON)
- added handling of wrap / offset / repeat parameters for all textures

Fixed broken multiple lights indices in new normal map shader and changed displacement scale and bias to saner values.

Fixed broken postprocessing and Earth examples (were not yet translated to use new normal map shader).
2011-07-02 04:35:45 +02:00
Mr.doob 1c26dd25ac Fixed collisions examples. 2011-07-01 18:56:41 +02:00
alteredq e604036b21 Changed normal map examples to use new normal map shader with standard lights.
Removed old normal map shader with custom lights.
2011-07-01 16:20:03 +02:00
Chris Killpack 2c502ae5db Switched examples over to FPCamera. 2011-06-29 10:51:14 -07:00
alteredq 213a2d9d2b Merged, refactored and extended sweetfish/pxf pull request with scene material override and Blender exporter updates.
Fixed double rendering of scene when using override material.

Updated depth-of-field example to use scene material.

Blender exporter / scene loader now support mirrored repeat, wrap is now separate per-x and per-y.

Image copying is now optional and works also for individual models.

Scene loader now supports texture offset.

Blender exporter / loaders not fully tested yet, renderer seems fine, all examples work.
2011-06-17 03:21:38 +02:00
alteredq 5739f754a8 Made "needsUpdate" working for custom attributes. Added example for custom attributes.
Not perfect solution but better than nothing.
2011-06-16 16:46:28 +02:00
alteredq 9596667876 Merged zz85's text bezel, extended text parameters API for bezel, added bezel to webgl text example. 2011-06-14 18:48:25 +02:00
Mr.doob bfdb10a85a Updated all examples so they use the renamed geometry classes. 2011-06-13 18:33:53 +02:00
alteredq ec3ea826ab Added Droid fonts. 2011-06-09 18:25:53 +02:00
alteredq 9acdcbb63b Merged with zz85 Text fixes. 2011-06-07 16:42:18 +02:00
zz85 02cd88bd91 patched fixes with alteredq and added support for gentilis 2011-06-06 21:29:13 -07:00
zz85 afe9d3b593 committing text fix changes not pushed :( 2011-06-06 20:45:49 -07:00
alteredq 44c0f34e2a Removed font from examples/js, now that fonts are in examples/fonts. 2011-06-07 00:48:10 +02:00
alteredq cbd31ddf89 Added webgl text example. 2011-06-07 00:40:14 +02:00
zz85 4983327011 Fixes for holes first characters 2011-06-06 05:50:00 -07:00
zz85 5c2e6ee5d7 saving before merge 2011-06-05 18:57:49 -07:00
zz85 f319a7214f WIP webgl text 2011-06-05 15:29:38 -07:00
alteredq e4b75f1c8d Merged greggman's offset camera pull request. 2011-06-03 23:57:38 +02:00
alteredq d2cbf83dd3 Merged zz85's 3d text pull request, cleaned up THREE.Text code. 2011-06-03 20:31:35 +02:00
Gregg Tavares 0d66e46e5b 2 Examples for using setViewOffet.
I think setViewOffset is mostly useful for multiple monitors
synced across multiple machines but that's a hard demo to setup
so these demos show doing it locally with muliple canvases
2011-06-02 11:30:19 -07:00
zz85 2860731edb Updated 3D Text Geometry and example 2011-06-02 01:21:37 -07:00
alteredq d8c3c92fc9 Added dynamic particles demo. 2011-06-02 02:41:47 +02:00
alteredq 7c68d1734f Simplified CrosseyedWebGLRenderer: using viewports instead of FBOs.
Now it's possible to have antialiased stereo.
2011-06-01 19:48:55 +02:00
alteredq 71de557220 Fixed cross-eyed examples lib links. 2011-06-01 19:07:47 +02:00