alteredq
b18a38eee5
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-10-06 23:44:10 +02:00
alteredq
84ed1835ca
Added reflection to normal map shader.
2011-10-06 23:33:01 +02:00
Mr.doob
b964b7e49f
Merge remote-tracking branch 'guardianResearch/master' into dev
2011-10-06 21:35:31 +02:00
Andrew Strelzoff
485122a150
small fix - screen resize needs to refer to controls.screen sizes
2011-10-06 09:31:22 -05:00
Justin Sermeno
6e6f2453a1
change voxelpainter to use THREE.CombinedCamera
2011-10-05 22:27:34 -07:00
Justin Sermeno
e645a562b0
update voxelpainter to use projector pickingRay()
2011-10-05 22:11:30 -07:00
Mr.doob
f357225c2d
Merging dev branch.
2011-10-06 06:15:03 +02:00
Mr.doob
5b22bffdf8
Merge remote-tracking branch 'arcanin/dev' into dev
2011-10-06 03:40:53 +02:00
Mr.doob
1a48b52540
Added @zz85's setLens() method to PerspectiveCamera too.
2011-10-06 03:24:31 +02:00
zz85
149c20d177
Added new THREE.CombinedCamera. Added orthographic + perspective example
2011-10-06 00:55:26 +08:00
zz85
94ff102c64
Updated example + merge with doob/dev
2011-10-05 14:29:30 +08:00
zz85
40decb9093
I have unmerged changes??
2011-10-05 13:56:56 +08:00
Mr.doob
c89e3fe49a
More breakage...
...
* Added `scene.ambientColor` and `Scene` now ignores `AmbientLights` (transferring hex for temporal backwards compatibility)
* CanvasRenderer and SVGRenderer using `scene.ambientColor`. Tried to update `WebGLRenderer` too, but the method in question doesn't seem to have access to the scene :S
* Removed `scene.origin` and updated examples that used it.
* Improved subdivision example
2011-10-05 07:26:29 +02:00
alteredq
412c545c47
Updated the rest of examples.
...
All should now work with new cameras.
2011-10-05 05:05:13 +02:00
alteredq
064138d826
Updated more examples. Got AnaglyphWebGLRenderer and CrosseyedWebGLRenderer working.
...
CrosseyedRenderer is a hack, camera must have target :S.
2011-10-05 03:25:02 +02:00
alteredq
db81e45255
Updated builds. Renamed subdivision example with webgl prefix.
2011-10-05 00:48:01 +02:00
alteredq
1f7bc4e31d
Made PathControls work.
...
Aargh, I feel dirty now.
2011-10-05 00:38:43 +02:00
zz85
7fa0d7b887
Fixed bad vertex magic number
2011-10-05 06:25:42 +08:00
alteredq
4b7c468e15
Made TrackballControls work. Fixed more examples.
...
This one was quite a pain.
2011-10-04 23:50:05 +02:00
alteredq
ef29a8e352
Made FlyControls and RollControls work. Fixed more examples.
2011-10-04 22:57:43 +02:00
alteredq
c07919529e
Made FirstPersonControls work. Fixed more examples to work with the new camera system.
2011-10-04 21:10:20 +02:00
zz85
195a0b31ae
Quick fix for boundary cases in Subdivision. Updated example
2011-10-05 00:39:38 +08:00
zz85
98629744d3
option to honor old vertex colors with subdivisionModifier.useOldVertexColors = true
2011-10-04 23:16:22 +08:00
zz85
f8df307438
Removed THREE.SubdivisionGeometry. A tiny bit of cleanup
2011-10-04 22:46:34 +08:00
zz85
a88848ab1d
Added THREE.SubdivisionModifier. Removed THREE.GeometryUtils.createSubdivision()
2011-10-04 22:25:52 +08:00
zz85
a6eb8106a2
merged mrdoob/dev
2011-10-04 21:25:44 +08:00
zz85
dd6114b7f2
Moved createSubdivision() to THREE.GeometryUtils
2011-10-04 17:46:45 +08:00
Maël Nison
c1e9cb77ea
Fix CubeGeometry faces inversion.
2011-10-04 11:18:05 +02:00
Mr.doob
309c484321
Updated some examples to the new camera setup.
...
Got stuck on the PathCamera/PathControls one. Maybe it's time to rewrite this...
2011-10-04 05:24:56 +02:00
Mr.doob
a0b8f50fb0
Renamed scene.center to scene.origin as per @pyrotechnick suggestion.
2011-10-04 03:07:07 +02:00
Mr.doob
df64ff921f
extras/cameras/*Cameras > extras/controls/*Controls
...
This will take a while to make work again... probably needs some cleaning and refactoring...
2011-10-04 02:18:15 +02:00
Mr.doob
0995bc43f3
Added a handy "center" to Scene.
...
I could have just used `lookAt( scene.position )`, but eventually I would like to have Scene not extending Object3D.
2011-10-04 01:30:00 +02:00
Mr.doob
896448c06d
Looking for the right pattern for the camera.lookAt() use.
2011-10-04 01:23:14 +02:00
Mr.doob
5d96f15b39
Started doing Camera changes.
...
* Camera is now a base object. PerspectiveCamera should be used instead. Figured out a way to show a warning when misused.
* OrthoCamera is now OrthographicCamera.
* Removed `target` from Camera.
Misc
* Renamed Trident to Axes.
2011-10-04 01:07:24 +02:00
zz85
b4332d6a24
added more generic geometry creation functions in canvas_geometry_subdivison.html
2011-10-03 07:18:55 +08:00
alteredq
17b4ab614d
"Fixed" scene test examples.
...
Seems like calling `renderer.initWebGLObjects` out of regular frame render doesn't play well with new buffer switching minimization optimization.
2011-10-02 16:33:36 +02:00
alteredq
a60595b3f7
Removed edges handling from asset pipeline (Blender exporter, OBJ converter, JSONLoader).
2011-10-02 16:13:44 +02:00
alteredq
0e4a103872
Fixed CubeCamera. Added forgotten HTML for dynamic cube maps cars example.
2011-10-02 13:20:55 +02:00
zz85
cdd5a20de2
Switched to hashmap implementation for mergeVertices()
2011-10-02 18:54:18 +08:00
Mr.doob
ad31ff1214
Fixed the rest of the examples.
...
Found out that CrosseyedWebGLRenderer probably wouldn't work for target-less cameras.
Something weird going on with `webgl_scene_test.html` and `webgl_scene_test_blender.html`. For some reason cubes dissapear.
2011-10-02 06:33:32 +02:00
Mr.doob
25d6480cf6
Fixed yet more examples.
2011-10-02 00:08:40 +02:00
Mr.doob
36ae04418c
Fixed yet some more examples.
...
Removed QuakeCamera.
2011-10-01 23:38:26 +02:00
Mr.doob
99713c72ae
Fixed some more examples.
2011-10-01 23:27:54 +02:00
Mr.doob
7700feb538
WebGLRenderer .autoClear*
...
Implemented .autoClearColor .autoClearDepth .autoClearStencil as per @alteredq's suggestion at #587 .
2011-10-01 22:46:56 +02:00
Mr.doob
b87bfc71c8
Bunch of changes...
...
* Camera.useTarget is now false by default. Updated some of the examples. I tried to remove target altogether (and use lookAt every frame), but I found that WebGLRenderer's ShadowMaps uses a camera with target. Will try again at some point.
* Object3D.lookAt now checks if it's a Camera and does the inverted view.
* Quaternion glitch reported at #595
* Added .name to Material
* WebGLRenderer .clear() to .clear( color, depth, stencil ). All of them true by default.
2011-10-01 22:36:05 +02:00
zz85
8ead1b1a91
Fixed mergeVertices(). Moved from CubeGeometry to Geometry. Now checkDupVertices(true) removes duplicated vertices
2011-10-01 16:47:53 +08:00
zz85
0f9c3f44ee
Merge remote-tracking branch 'upstream/dev'
2011-09-30 22:04:16 +08:00
zz85
5c51b8fce2
Tested with Torus. Disabled UVs.
2011-09-30 22:03:40 +08:00
alteredq
00b01e88b3
Added cars demo.
...
New stuff:
- car rig
- dynamic cube maps
- drop shadows from geometries
- tilt-shift
- motion blur
- fxaa
Uses shrunk lens flare texture from ro.me.
2011-09-30 00:51:45 +02:00
zz85
61a407f37b
Updated Curve.js, Updated builds
2011-09-30 01:52:20 +08:00