alteredq
1c466f26e7
Moved QuakeCamera and PathCamera into extras/cameras.
2011-03-15 16:49:52 +01:00
alteredq
be875f2267
Fixed bug in spline animation.
...
Spline control points shouldn't be cycled, this produces freaky behaviors near start and end of path. Instead they have to be capped.
Also did some refactoring.
2011-03-13 01:38:04 +01:00
Mr.doob
ce751a10dd
WebGLRenderer now doesn't render objects with material.opacity == 0.
2011-03-10 16:19:19 -08:00
alteredq
13ccc02a8a
Refactored shader and uniform snippets out of WebGLRenderer into WebGLShaders.
2011-03-09 21:44:11 +01:00
alteredq
4c59647907
Added FileAPI to Detector.
...
Also for the moment reverted autoupdate of canvas based textures. This breaks things and proper fix seems to require more efforts :(
2011-03-09 02:45:52 +01:00
alteredq
b817eaf9f9
Made colored billboard particles smaller.
...
That's about maximum size of point primitives ANGLE can handle, at least on my ATI card :(
It seems this max size can be GPU specific:
http://www.pouet.net/topic.php?which=6092&page=1
2011-03-08 22:09:49 +01:00
Mr.doob
98af2b1b92
Added sizeAttenuation property to ParticleBasicMaterial (disable perspective scaling).
2011-03-08 12:03:52 -08:00
alteredq
6b9a08e5ed
Synced with mrdoob's branch.
...
Particle size attenuation still need some work to fix differences between ANGLE and OpenGL.
2011-03-08 19:50:43 +01:00
Mr.doob
5b9ca694d3
WebGLRenderer Particles now scale.
...
Texture sets needsUpdate to true for <canvas> elements by default (webgl_objconvert_test.html seems to be randomly affected by this).
2011-03-08 10:02:14 -08:00
alteredq
c61f89ba14
Brought back bloom.
...
Also updated GUI-DAT (didn't help with recent Chrome compositing bugs, though this is Chrome Windows issue), added FileAPI to Detector and fixed aspect ratio bug in WebGLRenderer.
2011-03-08 17:33:34 +01:00
alteredq
a6146360bc
Added "enableDepthBufferWrite" API call to WebGLRenderer.
2011-03-06 20:03:31 +01:00
alteredq
2294094adf
Cleaned up a bit WebGLRenderer.
...
Clearing API for rendering to RenderTarget is now flipped: before forced clearing of render target was default, now no clearing is default.
New way of doing things saves one extra duplicitous clear call when switching render targets (like when doing postprocessing).
(doing documentation is indeed turning out to be useful)
2011-03-06 19:39:32 +01:00
Mr.doob
2a6be883f2
Merge remote branch 'alteredq/master'
2011-03-06 09:16:18 +00:00
Mr.doob
c89b4008f3
Added translate( distance, axis ), translateX( distance ), translateY( distance ) and translateZ( distance ) methods to Object3D.
...
Camera3D translate method overrides Object3D's one. NoFly parameter removed (this should be handled from outside I think).
2011-03-06 09:16:03 +00:00
alteredq
34d3aaf0ba
Synced with mrdoob's branch.
2011-03-06 08:51:52 +01:00
alteredq
cacdf02166
Added API for setting viewport and scissor testing. Made texture filtering example more fancy.
2011-03-06 08:48:13 +01:00
Mr.doob
7aa0bf9726
Added lookAt() example.
2011-03-06 06:28:35 +00:00
alteredq
2c996815be
Refactored texture updating, added texture filtering example and fixed scene loader and example.
2011-03-06 06:01:40 +01:00
Mr.doob
1a115ae86f
Object3D::matrixNeedsUpdate ⟶ Object3D::matrixWorldNeedsUpdate
...
Object3D::lookAt works! (and Vector3.setRotationFromMatrix too!)
Next: Object3D::translate...
2011-03-05 20:46:25 +00:00
Mr.doob
cf732e694b
WebGLRenderer::sortObjects = true by detault.
...
WebGLRenderer checks if texture is power of 2. Throws an error if it's not.
2011-03-05 14:52:54 +00:00
Mr.doob
f2af3864cc
Matrix4 public and static methods clean up.
2011-03-05 13:56:22 +00:00
Mr.doob
6e16d3b297
Removed WebGLRenderer2.
...
Minor tweaks.
2011-03-03 13:43:16 +00:00
Mr.doob
66cd1198e3
Updated examples and utils that used Cube().
2011-03-03 08:31:00 +00:00
Mr.doob
4590683d4b
WebGLRenderer stops rendering objects when removed from the scene.
2011-03-02 19:09:21 +00:00
Mr.doob
88c2d7c77b
Moved Object::sortObjectByMaterials to WebGLRenderer (so it's done automagically).
...
WebGLRenderer: renamed geometryChunks to geometryGroups :P
2011-03-02 15:51:09 +00:00
Mr.doob
568beba848
Fixed LOD example.
...
Commented Camera frustrum code. It's not being used, right?
2011-03-02 05:58:54 +00:00
alteredq
ccdff87382
Changed also JSON model files and exporters/converters to use CamelCase property names.
...
Only Blender 2.56 exporter and OBJ converter were tested. If somebody is using other ones, please reexport some files to be sure they work.
2011-03-02 05:55:29 +01:00
alteredq
0e450db259
Tweaks to lod example.
2011-03-01 16:22:33 +01:00
alteredq
7ad44b434c
Added level-of-details example (and LOD object to compiled lib).
...
Thanks to empaempa for implementing this feature ;)
2011-03-01 15:50:14 +01:00
alteredq
0984c4145b
Synced with mrdoob's branch.
2011-03-01 14:52:47 +01:00
Mr.doob
33610b4a11
Adapted Projector and CanvasRended to use camera.matrixWorldInverse.
2011-03-01 11:38:35 +00:00
alteredq
03b9dfe80d
Extracted Spline from example into core lib.
2011-03-01 03:51:43 +01:00
alteredq
b467378bc3
Added Catmull-Rom spline example.
...
Work-in-progress.
2011-03-01 03:29:04 +01:00
alteredq
cf2e8c1bbf
Refactored everything to use CamelCase naming for properties. Plus some smaller fixes here and there.
...
Went through all examples, all should work.
JSON files exported from Blender / converted from OBJ files still use underscored property names internally. I don't know, should these also be changed?
2011-02-28 14:52:04 +01:00
Mr.doob
430ce532be
Custom builds were missing files. (thanks to alan2 for reporting)
2011-02-27 20:20:15 +00:00
Mr.doob
470df4fa6a
Updated TODO.
...
Blender plugins folder rename.
2011-02-27 20:08:22 +00:00
Mr.doob
e438549c87
Updated builds.
...
Added RequestAnimationFrame system to the new examples.
2011-02-27 06:39:15 +00:00
alteredq
049f492564
Merge remote branch 'remotes/upstream/master'
2011-02-27 07:02:09 +01:00
alteredq
e4f759c225
Optimized Matrix4.transpose and fixed performance test.
2011-02-27 07:00:44 +01:00
Mr.doob
339384f209
Tweaked RequestAnimationFrame.js and Detector.js.
2011-02-27 05:05:41 +00:00
Mr.doob
7480fb69cd
Updated README examples.
...
Sound3D ⟶ Sound
2011-02-26 14:21:15 +00:00
Mr.doob
446834ba35
Minor fixes and improvements.
2011-02-26 12:10:35 +00:00
Mr.doob
c7aa2ab3d1
Object3D::localMatrix ⟶ Object3D::matrix
...
Object3D::globalMatrix ⟶ Object3D::matrixWorld
Added hierarchy examples.
2011-02-26 10:31:18 +00:00
Mr.doob
e7e47b1f88
More reformating and clean up.
2011-02-26 09:18:10 +00:00
Mr.doob
04172c6c81
Merge remote branch 'alteredq/skinning' into skinning
2011-02-26 06:51:32 +00:00
Mr.doob
27dc056af4
Minor refactoring and clean up.
2011-02-26 06:51:23 +00:00
alteredq
ab8b63f9e3
Fixed ribbons example.
2011-02-26 06:48:42 +01:00
Mr.doob
45ec0f329b
Reverted Camera::FOV,zNear,zFar to Camera::fov,near,far.
...
Most of the examples or working again as usual. Only `webgl_scene_test.html` and `webgl_ribbons.html` left.
2011-02-26 03:45:16 +00:00
alteredq
3dc37702ce
Refactored minecraft / terrain / ocean examples to use QuakeCamera.
...
Terrains finally have proper controls ;)
2011-02-26 00:41:33 +01:00
alteredq
da8afc4e6d
Refactored CameraControl into THREE.QuakeCamera.
...
Now you can add keyboard + mouse camera control with a single line, just change camera type and add parameters:
camera = new THREE.QuakeCamera( { fov: 50, aspect: window.innerWidth / window.innerHeight, near: 1, far: 10000,
movement_speed: 1, look_speed: 0.002, nofly: true, look_vertical: false } );
Thanks to mrdoob for suggestions ;)
2011-02-26 00:24:14 +01:00