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
ab944fda0a
Handles subdivision of vertex colors by averaging vertex colors
2011-10-05 01:38:19 +08: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
71565b4b5a
Updated GUI.
2011-10-04 06:27:37 +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
a336a5c124
Added deprecated warning to old cameras.
2011-10-04 02:30:22 +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
Mr.doob
69da8d2e1f
Merge remote-tracking branch 'Knectar/dev' into dev
2011-10-03 23:31:41 +02:00
Daniel
5ef31d7fe8
Remove Sphere class. Give radius to octahedron.
2011-10-03 11:12:37 +01:00
zz85
8fdf8df2e4
SubdivisionGeometry now uses parent's geometry colors and materials (and UVs). but what do we do with vertexColors?
2011-10-03 10:33:08 +08:00
zz85
b4332d6a24
added more generic geometry creation functions in canvas_geometry_subdivison.html
2011-10-03 07:18:55 +08:00
Daniel
dad2146d79
Include new Sphere class in build.
2011-10-02 22:33:07 +01:00
Daniel
2d4ea9cedd
New Sphere class that uses a subdivided octahedron geometry.
2011-10-02 22:28:36 +01:00
Mr.doob
705f6967c0
Fixed GUI.
2011-10-02 19:33:56 +02: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
alteredq
01e2781826
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-10-02 12:37:27 +02: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
alteredq
1f61a03593
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-10-02 00:43:30 +02:00
alteredq
f26eed4b1e
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-10-02 00:09:37 +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
alteredq
0e44dd6722
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-10-01 23:18:25 +02:00
alteredq
e63d5bae2b
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-10-01 23:17:48 +02:00
Mr.doob
32355db859
I hate that github now forces you to write a title for a commit :|
...
Removed _gl.clear call from WebGLRenderer's .setSize().
2011-10-01 23:00:24 +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
alteredq
4f73052bc0
Updated builds.
2011-10-01 22:35:56 +02:00
zz85
ab704afe0e
this.mergeVertices();
2011-10-02 01:55:28 +08:00
zz85
b5f4b24204
moved computeEdgeFaces() from Geometry to SubdivisionGeometry
2011-10-01 16:58:09 +08:00
zz85
8ead1b1a91
Fixed mergeVertices(). Moved from CubeGeometry to Geometry. Now checkDupVertices(true) removes duplicated vertices
2011-10-01 16:47:53 +08:00