Mr.doob
56113d0a18
Merge remote-tracking branch 'NINE78/dev' into dev
2011-09-30 20:32:05 +02: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
alteredq
32e4a556ca
Added CubeCamera (for rendering cube maps).
2011-09-30 00:20:22 +02:00
zz85
61a407f37b
Updated Curve.js, Updated builds
2011-09-30 01:52:20 +08:00
zz85
c2e0d05ec6
Playing around with UVs
2011-09-30 01:26:08 +08:00
zz85
8edfa99583
Rename SubdivisonGeometry.js to SubdivisionGeometry.js. Fix geometries which use duplicate vertices. SubdivisionGeometry tested with Cube/Sphere/Cylinder/TextGeometry
2011-09-29 17:15:41 +08:00
alteredq
721d5bb5ba
Added FXAA to color lines example.
...
Works better in OpenGL with thick lines. Single pixel wide lines in ANGLE get a bit of strip pattern.
2011-09-29 02:15:21 +02:00
alteredq
e0a29097cd
Added FXAA shader (thanks to @supereggbert) and SavePass.
2011-09-28 23:02:28 +02:00
zz85
670ebf6139
Fixed SubdivsionGeometry points. Added class, update builds
2011-09-29 04:38:56 +08:00
Nik Van den Wijngaert
c311a71932
Added "lower level" immediate rendering functionality. The existing mechanism requires modification of the WebGLRenderer for different objects. The new implementation leaves the current MarchingCubes immediate renderer intact but checks for existence of a immediateRenderCallback member function of the object. If found, that object is added to the scene.__webglObjectsImmediate array. The program, webgl context, and frustum are currently passed into the callback, putting al rendering responsibility at the implementing object. This may break the Three.js abstraction somewhat, but allows "power users" to do some funky webgl stuff while still relying on the Three.js framework for the rest of the scene...
2011-09-28 22:23:11 +02:00
zz85
ea634d0ff1
initial subdivision geometry - needs debuggin and more testings
2011-09-29 04:04:27 +08:00
zz85
3e8c66f6e1
fixed Geometry.js so computeEdgeFaces() writes face indices to edges
2011-09-28 17:20:37 +08:00
alteredq
f43d6a3cd1
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-09-26 21:40:51 +02:00
alteredq
d275bee331
Optimized attributes updates.
...
Finally 60 fps on 5,000 monkeys ;)
All examples should work.
2011-09-26 21:36:21 +02:00
Mr.doob
d376e7ae3b
Updated builds.
2011-09-26 17:34:38 +01:00
Mr.doob
1e0bff03c3
Merge remote-tracking branch 'alteredq/dev' into dev
2011-09-26 17:23:50 +01:00
alteredq
ba75a48a2b
Optimized uniforms updates.
...
Should not refresh anything if material doesn't change for several objects in a row (in a single frame).
Hope this didn't break something, I remember this being tricky. Went through examples and they seem to work ok, gained some fps in performance test.
Also disabled sorting in depth-of-field example for some more fps gain.
Still didn't figure out the original reason for recent fps drop in performance / dof examples :/
2011-09-26 15:55:05 +02:00
Ivo Benner
92f406bbcc
fixed: in-frame adding and removing same objects from scene leads to missing objects
2011-09-26 14:23:39 +02:00
alteredq
4d34149ab1
Optimized iteration over uniforms in WebGLRenderer.
...
Similarly like for geometry groups, iterating over object properties turned out to be bottleneck for some use cases: gained 5-10 fps in depth-of-field example (which btw for some reason got slower recently).
2011-09-26 04:45:37 +02:00
alteredq
db78ffe003
Some more Math.PI instead of magic numbers.
2011-09-25 20:19:08 +02:00
alteredq
7e937ebe69
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-09-25 18:55:32 +02:00
alteredq
9e39966076
Added ability to disable render passes to EffectComposer. Added simple blend shader to ShaderExtras.
2011-09-25 18:54:30 +02:00
Mr.doob
10e42ba87a
Merge remote-tracking branch 'Pitel/patch-1' into dev
2011-09-25 13:41:51 +01:00
Mr.doob
bc7002b00d
ColladaLoader: Removed commented code.
2011-09-25 13:40:54 +01:00
Bc. Jan Kaláb
a734cc34e7
Math.PI instead of 3.14
2011-09-25 14:33:00 +03:00
Mr.doob
0076362b75
Updated builds.
2011-09-24 14:12:53 -07:00
Mr.doob
dd31b37211
Merge remote-tracking branch 'pyrotechnick/dev' into dev
2011-09-24 13:44:28 -07:00
alteredq
00b8d0613c
Skipping invisible sprites.
2011-09-24 19:38:07 +02:00
alteredq
84a7c304a6
Fixed specular lighting also in normal map shader.
2011-09-24 11:51:12 +02:00
alteredq
8bd87ff444
Rewritten lighting shaders.
...
Hopefully this fixes several problems:
- ambient component not modulated by scene ambient light
- specular component not getting light colors
- unnecessary opacity use in lighting calculations
- unnecessary vertex shader light computation for Phong
- unnecessary use of one varying in Phong
2011-09-24 10:45:57 +02:00
Nicholas Kinsey
692d1edea6
Revert "Optimising THREE.ExtrudeGeometry::addShape"
...
This reverts commit 285b51a1c1 .
2011-09-24 16:07:32 +10:00
Nicholas Kinsey
ce2e019e2d
Optimising array operations in webgl_lines_*.html
2011-09-24 15:48:55 +10:00
Nicholas Kinsey
c36a538104
Optimising THREE.Path::splineThru
2011-09-24 15:46:00 +10:00
Nicholas Kinsey
4b144ff31b
Optimising THREE.Shape.Utils.removeHoles
2011-09-24 15:45:39 +10:00
Nicholas Kinsey
40161dda38
Optimising THREE.TextPath::toShapes
2011-09-24 15:45:12 +10:00
Nicholas Kinsey
73f8a71bbd
Optimising THREE.CollisionSystem::merge
2011-09-24 15:42:07 +10:00
Nicholas Kinsey
285b51a1c1
Optimising THREE.ExtrudeGeometry::addShape
2011-09-24 15:41:24 +10:00
alteredq
cb4a7b20f5
Merge remote-tracking branch 'remotes/mrdoob/dev' into dev
2011-09-24 02:40:40 +02:00
alteredq
bbdef72e69
Added simple tilt-shift effect to ShaderExtras.
2011-09-24 02:40:14 +02:00
Mr.doob
f13189b6e4
Refactored WebGLShaders a bit.
2011-09-23 16:44:34 -07:00
Mr.doob
671b5079bb
WebGLRenderer: MeshPhongMaterial was overriding the alpha chanel of textures.
2011-09-23 16:33:57 -07:00
Mr.doob
9441e74abc
Implemented @pyrotechnick's array concat replacement.
2011-09-23 13:31:19 -07:00
Mr.doob
c25b39cc63
Maya Collada expoter used "name" instead of "Name". Supporting both cases now.
2011-09-21 16:42:38 -07:00
Mr.doob
d7c99de542
Updated builds.
2011-09-21 13:40:11 -07:00
Mr.doob
05b28798ea
Merge remote-tracking branch 'alteredq/dev' into dev
2011-09-21 13:33:12 -07:00
Mr.doob
7602900cd0
VertexColors support on ColladaLoader (now for real).
2011-09-21 13:32:19 -07:00
alteredq
fd0fb85c8e
Fixed specular light vs black texture bug in Phong shader.
2011-09-21 20:47:57 +02:00
alteredq
84b0f89ad4
Removed shaders that aren't used anymore.
2011-09-21 06:00:29 +02:00