Mr.doob
2dfcf24e02
- Improved earth demo
2010-07-19 13:34:19 +01:00
Mr.doob
a7bed157a3
- Added Sphere primitive
...
- `three_debug.js` checks for broken UVs and display these faces with pink color instead
2010-07-19 13:23:06 +01:00
Mr.doob
b381202910
* Using new object UV instead of Vector2 where it should be used
2010-07-17 14:52:39 +01:00
Mr.doob
8f543db16d
* Refactored CanvasRenderer (more duplicated code, but easier to handle)
...
* `Face4` now supports `MeshBitmapUVMappingMaterial`
* Changed order of `*StrokeMaterial` parameters. Now it's `color`, `opacity`, `lineWidth`.
* `BitmapUVMappingMaterial` > `MeshBitmapUVMappingMaterial`
* `ColorFillMaterial` > `MeshColorFillMaterial`
* `ColorStrokeMaterial` > `MeshColorStrokeMaterial`
* `FaceColorFillMaterial` > `MeshFaceColorFillMaterial`
* `FaceColorStrokeMaterial` > `MeshFaceColorStrokeMaterial`
* `ColorStrokeMaterial` > `LineColorMaterial`
* `Rectangle.instersects` returned false with rectangles with 0px witdh or height
2010-07-17 00:25:50 +01:00
Mr.doob
8e5c8debf9
- Clean up
2010-07-14 14:10:47 +01:00
philogb and Mr.doob
f0f3483f91
Remove useless alert.
2010-07-14 20:58:35 +08:00
philogb and Mr.doob
2b0ea54a4c
Core performance improvements through shared props
...
Old Vector and Matrix constructor functions would create all methods and
make assignments with each call. A lot of speed-ups can be made by using
shared properties through the prototype chain. Since methods and
initialized properties are shared among all instances they're only
created once.
Some tests can be seen at examples/performance-test.html
Some results:
Chrome
//6.4 times faster
performance-test.html:25 Vector2 x 5000000: 213ms
performance-test.html:30 Vector2Orig x 5000000: 1366ms
//8.3 times faster
performance-test.html:37 Vector3 x 5000000: 241ms
performance-test.html:42 Vector3Orig x 5000000: 2015ms
//3.8 times faster
performance-test.html:49 Vector4 x 5000000: 278ms
performance-test.html:54 Vector4Orig x 5000000: 1059ms
//7.5 times faster
performance-test.html:61 Matrix4 x 5000000: 937ms
performance-test.html:66 Matrix4Orig x 5000000: 7004ms
Firefox
//6.8 times faster
Vector2 x 50000: 45ms
Vector2Orig x 50000: 307ms
//11.5 times faster
Vector3 x 50000: 48ms
Vector3Orig x 50000: 550ms
//3.8 times faster
Vector4 x 50000: 61ms
Vector4Orig x 50000: 234ms
//9.4 times faster
Matrix4 x 50000: 199ms
Matrix4Orig x 50000: 1878ms
where "Orig" are old versions of the objects.
Running these tests multiple times can yeild different results due to
browser cache. However the results are always kind of similar in terms
of speedup.
2010-07-14 20:58:22 +08:00
Mr.doob
5268aeb0c9
- Blender Exporter: Using filename instead of object name for classname (easier to use that way)
2010-07-13 19:57:44 +01:00
Mr.doob
418a1bc287
* Added ParticleCircleMaterial and ParticleBitmapMaterial
...
* `Particle` now use `ParticleCircleMaterial` instead of `ColorFillMaterial`
* `Particle.size` > `Particle.scale.x` and `Particle.scale.y`
* `SVGRenderer` currently out of sync
2010-07-12 14:40:54 +01:00
Mr.doob
7b385cf7a8
- First version of the WebGLRenderer (ColorFillMaterial and FaceColorFillMaterial by now)
...
- Matrix4.lookAt fix (CanvasRenderer and SVGRenderer now handle the -Y)
- Color class now using 0-1 floats instead of 0-255 integers
2010-07-07 02:35:27 +01:00
Mr.doob
b0b3d9644a
- Small camera tweaks
2010-06-22 23:20:48 +01:00
Mr.doob
7935bc8ab9
- Changed Camera system. (Thx [Paul Brunt]( http://github.com/supereggbert ))
...
- Object3D.overdraw = true to enable CanvasRenderer screen space point expansion hack.
2010-06-22 22:31:48 +01:00
Mr.doob
2a3d1e35cb
* autoClear property for renderers.
...
* Removed SVG rgba() workaround for WebKit. (WebKit now supports it);
2010-06-20 19:59:36 +01:00
Mr.doob
0aac038d58
- JSLinted
2010-06-19 18:13:00 +01:00
Mr.doob
bdd2d95269
- Tweaks on Terrain demo
2010-06-14 01:58:39 +01:00
Mr.doob
26412389ae
- Improved Terrain Generator demo.
2010-06-13 21:30:20 +01:00
Mr.doob
2cd123401a
- Added codecs metadata on video demo.
...
- Added terrain demo.
2010-06-13 07:29:51 +01:00
Mr.doob
3755d003f0
- Using .ogv instead of .ogg for clarity. Although it gives mime-type issues...
2010-06-12 00:32:12 +01:00
Mr.doob
ecdf342361
- Added support to Theora only browsers on the materials_video example.
2010-06-11 18:57:10 +01:00
Mr.doob
ff32637a7d
- Wrong title on video demo.
2010-06-11 03:41:59 +01:00
Mr.doob
a1eee92ef8
- Added info panel on video demo.
2010-06-11 03:37:55 +01:00
Mr.doob
4af8f5406b
- Fixed opacity being set to zero when null
...
- Added (mandatory) video example
- Restructured examples folder
2010-06-11 03:14:56 +01:00
Mr.doob
ff72c6b766
- Color alpha is now 0-1 instead of 0-255 (following html's rgba() format)
2010-06-10 05:12:17 +01:00
Mr.doob
9a823c2f6b
- Fixed opacity being ignored when setted to 0
...
- Added wireframe view on VR demo
2010-06-10 05:04:12 +01:00
Mr.doob
55e4bde5cd
+ TextureUVMappingMaterial > BitmapUVMappingMaterial
...
+ Expand UVs (this should fix the glitches)
2010-06-07 19:43:34 +01:00
Mr.doob
c2916dbd07
- Added VR example
2010-06-07 05:03:24 +01:00
Mr.doob
90f54e2507
- CanvasRenderer expands screen space points (workaround for antialias gaps).
...
- CanvasRenderer supports TextureUVMappingMaterial.
- Moved UVs to Geometry.
- Minor clean up
2010-06-07 03:36:10 +01:00
Mr.doob
0abf84bfb6
- Links to some projects using the lib
2010-06-05 22:02:02 +01:00
Mr.doob
06c7ec335f
- Added Camera3D.autoUpdateMatrix
...
- Added Object3D.autoUpdateMatrix
2010-06-05 21:16:16 +01:00
Mr.doob
e98397cb5a
+ Added Line Object
...
+ Workaround for WebKit not supporting rgba() in SVG yet
+ Aesthetic changes on the readme file
2010-06-05 20:07:04 +01:00
Mr.doob
2a334e0862
Credit where credit is due.
2010-05-16 16:38:54 +01:00
Mr.doob
fa9d346f50
Code style fixes
...
Example was still using ColorMaterial
2010-05-16 05:42:46 +01:00
Mr.doob
a6e98d7e9a
Removed Class.js dependency
...
Added THREE namespace
Camera.x -> Camera.position.x
Camera.target.x -> Camera.target.position.x
ColorMaterial -> ColorFillMaterial
FaceColorMaterial -> FaceColorFillMaterial
Materials are now multipass (use array)
Added ColorStrokeMaterial and FaceColorStrokeMaterial
geometry.faces.a are now indexes instead of links
2010-05-16 05:32:43 +01:00
Mr.doob
322d59fe4d
Ok, that's the last one.
2010-05-12 10:18:14 -07:00
Mr.doob
e959ed50ef
And again...
2010-05-12 10:17:44 -07:00
Mr.doob
8ccfa6ffe1
Fixed stats again
2010-05-12 10:17:23 -07:00
Mr.doob
42a19ef7c7
Fixed stats
2010-05-12 10:16:59 -07:00
Mr.doob
106c77b9d0
Reverting
2010-05-01 15:36:37 +01:00
Paul Brunt and Mr.doob
daf53d854d
Now using projection matrix and particles are culled
2010-05-01 19:42:01 +08:00
Mr.doob
8d80942e27
SVGRenderer Particle support. CanvasRenderer context.setTransform(). Minor tweaks
2010-04-26 02:48:16 +01:00
Mr.doob
c26bcab83d
New cube screenshot
2010-04-25 11:43:52 +01:00
Mr.doob
64ec88fc92
Color tweaks
2010-04-24 23:03:34 +01:00
Mr.doob
d7c890eab8
Matrix4 clean up. Workaround for Android's browser touch event bug.
2010-04-24 22:54:23 +01:00
Mr.doob
115f291aa6
Added instructions
2010-04-24 21:37:16 +01:00
Mr.doob
4f22f423b5
Fixed incorrect rotation matrix calculation. Particles examples clean up. Added Cube and Plane primitives. Added Cube geometry example.
2010-04-24 21:25:21 +01:00
Mr.doob
d169c81828
Better to use relative paths for the examples
2010-04-24 17:28:27 +01:00
Mr.doob
271ad498c6
Better handling of Color
2010-04-24 17:18:02 +01:00
Mr.doob
efd69eb55e
New screenshots
2010-04-24 13:16:10 +01:00
Mr.doob
763d801756
Readme code improved. New example (particles/random)
2010-04-24 13:09:43 +01:00
Mr.doob
f989522914
Fixed waves snap
2010-04-24 04:46:41 +01:00