Commit Graph
29 Commits
Author SHA1 Message Date
Mr.doob e68109fdb2 - Clean up 2010-09-17 02:52:29 +01:00
Mr.doob 216b4eeee2 * Workaround for Opera bug (clearRect not working with context with negative scale)
* Additional `Matrix4` and `Vector3` methods
2010-08-21 02:58:07 +01:00
Mr.doob 8b18eafc78 - Added "Or so they say..." demo to featured projects.
- Camelcased the minified files (it feels weird both ways anyway...)
2010-07-25 03:34:29 +01:00
Mr.doob 217b1505a3 - Added ParticleBitmapMaterial.offset (Vector2) 2010-07-22 08:10:04 +01:00
Mr.doob 8820e868b9 - Missed a line change on the Blender 2.5b exporter 2010-07-17 14:58:54 +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 f62b6e988d - Added three_debug.js (Renders some debug data) 2010-07-14 00:11:53 +01:00
Mr.doob 1c729ec8a0 - strip() is not the right way to remove substrings, replace() is the right one 2010-07-13 22:49:52 +01: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 c58843f23e - Seems like new dev version of Blender has some Python API changes. (Can't wait until Blender 2.5 gets released :D) 2010-07-10 11:33:12 +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 4d0fdbb1c6 - Scene.add > Scene.addObject
- Enabled Scene.removeObject
- Removed computeNormals() from Geometry
2010-07-03 17:49:24 +01:00
kikko eaea61c306 added UVs and Normals to exported mesh and set mesh name as Classname instead of full path 2010-07-03 15:31:34 +02:00
Mr.doob 368e6a19c2 - Added WIP Blender 2.5 exporter 2010-06-23 00:27:55 +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 55e4bde5cd + TextureUVMappingMaterial > BitmapUVMappingMaterial
+ Expand UVs (this should fix the glitches)
2010-06-07 19:43:34 +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 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 530f87070f 2d clipping on CanvasRenderer and SVGRenderer
clearRect optimisations on CanvasRenderer
2010-05-17 11:36:27 +01:00
Mr.doob d495a40406 That's not needed here... 2010-05-16 05:33:56 +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 106c77b9d0 Reverting 2010-05-01 15:36:37 +01:00
Mr.doobandMr.doob 4f14b7b89e r5 2010-05-01 13:17:38 +01:00
Paul BruntandMr.doob aac043805c first attempt at webGL renderer - not working yet 2010-05-01 19:42:16 +08:00
Paul BruntandMr.doob daf53d854d Now using projection matrix and particles are culled 2010-05-01 19:42:01 +08:00
Mr.doob 4e2365c857 Someone over reddit was asking what I was using for generating the three.js file so I thought I could as well commit the python script (and yuicompressor). 2010-04-26 16:42:18 +01:00