Mr.doob
3bc9f48c2f
src/animation ⟶ src/extras/animation
...
Improved lod and grass examples.
2011-04-10 09:36:28 +01:00
alteredq
a318d87522
Added forgotten THREE namespace to SceneUtils.traverseHierarchy
2011-04-09 20:11:10 +02:00
Mr.doob
6a857400bc
REVISION ++
2011-04-09 12:53:17 +01:00
Mr.doob
76e7ea3461
Added namespace to all the objects that missed it (geometries, uniforms, etc)
...
WebGLRenderer antialias is off by default (considering Firefox doesn't support it...)
Formatting clean up here and there
2011-04-09 12:38:39 +01:00
Mr.doob
d1ae3fb45b
Updated builds. All seems to be good again.
2011-04-09 08:37:28 +01:00
Mr.doob
e8847848ad
Merging with alteredq's branch.
2011-04-09 08:22:59 +01:00
Mr.doob
c74f046b76
src/physics ⟶ src/extras/physics
2011-04-09 08:18:45 +01:00
Mr.doob
b2d39cf832
WebGLRenderer now logs some GL information (I think it may be handy).
...
Stencil and Sprite examples now using RequestAnimationFrame.
2011-04-08 10:16:10 +01:00
alteredq
58bbd02e9e
Added handling of mesh colliders to scene loader. Changed Blender scene exporter to make mesh colliders invisible.
2011-04-08 06:13:12 +02:00
alteredq
da0b612ce8
Synced with mrdoob's branch.
2011-04-07 04:01:36 +02:00
alteredq
5fa19e8460
Fixed delays when loading multiple models.
...
Problem was having too many concurrent workers opened at once. Garbage collection apparently works very slowly on workers. Solution was to close them manually, after model data is sent to main thread.
Also some progress with Blender scene exporter. Some scenes now export correctly, though monkey test scene got worse, even with less hacky code.
2011-04-07 02:59:49 +02:00
Mr.doob
94790f057e
extras/geometries
...
- Fixed TorusKnot face orientation.
- Added UVs to Cylinder (Cylindrical Mapping)
- Fixed Lathe UVs
There is something wrong with texture mapping, u needs to be inverted all the time. Something to researching on.
2011-04-06 20:10:25 +01:00
alteredq
5c943cab3e
Fixed broken MarchingCubes.
...
MarchingCubes.generateGeometry got forgotten when refactoring vertex normals.
2011-04-05 16:47:24 +02:00
alteredq
693a36f509
Moved scene loader from SceneUtils into SceneLoader.
2011-04-05 08:59:45 +02:00
alteredq
7915999bdd
Added edges to Blender exporter, JSONLoader and Geometry.
...
There is a new class Edge which stores vertices and faces for edge (I wasn't sure if indices or references would be better, so at least for the moment it contains both).
Geometry now contains a list of such edges, created in JSONLoader, based on edge data exported from Blender.
From Blender we get a list of vertex index pairs, from which in Geometry.computeEdgeFaces() we compute faces which share this particular edge and store them in the Edge object.
Not sure if edges work properly till we don't have something using them. For now I just checked cube data exported from Blender and it seems fine.
Also did some whitespace cleanup here and there.
2011-04-05 00:18:36 +02:00
Mr.doob
b899391008
Updated buillds.
2011-04-04 05:13:04 +01:00
Mr.doob
abb4a774cd
Merging with alteredq.
2011-04-04 05:00:21 +01:00
alteredq
477b0095a9
Added dumping of scale to Blender exporter / handling of scale to JSONLoader.
...
This is backwards compatible: for existing models that don't have scale nothing should change.
2011-04-03 08:48:08 +02:00
alteredq
3b43c79679
Added possibility of enforcing vertical angle constraint to QuakeCamera.
2011-04-02 01:32:53 +02:00
alteredq
27b0ee0be7
Updated Loader to handle more material parameters (blending, transparent, depthTest).
2011-04-01 15:53:39 +02:00
Mr.doob
29da25e746
WebGLRenderer: Added internal cache for compiled shaders. Already compiled shaders get reused.
2011-04-01 07:38:22 +01:00
alteredq
b6aa8c8433
And some more globals, third time is a charm?
2011-04-01 04:08:41 +02:00
alteredq
a53921fb22
Fixed more globals in JSONLoader. Also updated ubiquity test includes.
2011-04-01 03:57:06 +02:00
alteredq
2d7833d32e
Fixed runaway globals in JSONLoader.
2011-04-01 03:34:26 +02:00
alteredq
d12252421e
Synced with mrdoob's branch.
2011-03-31 23:48:38 +02:00
Mr.doob
816d19a8d6
REVISION ++
2011-03-31 22:29:53 +01:00
Mr.doob
8af4dd49c1
WebGLRenderer now uses material.transparent to determine whether a material is transparent or not.
...
Moved materials/RenderTarget.js ⟶ renderer/WebGLRenderTarget.js
2011-03-31 07:22:44 +01:00
alteredq
ccc566463e
Replaced QuakeCamera's dragToLook parameter with activeLook parameter.
...
DragToLook was weird, instead activeLook can be now used for simple switching on/off of mouse look around.
2011-03-30 06:38:24 +02:00
Mr.doob
532929d510
WebGLRenderer: Added distance (falloff) to PointLight.
2011-03-29 06:13:21 +01:00
alteredq
dc8c98db5f
Put some shader attributes behind #ifdef in buildProgram.
...
This is to see if it helps with shader validation complains that recently started to pop up in Chrome ANGLE (but curiously not in Firefox ANGLE).
2011-03-28 16:24:22 +02:00
Mr.doob
5c684f93d8
Updated builds.
2011-03-27 08:04:26 +01:00
alteredq
33e5a9bfe0
Added very basic Three.js Blender importer.
...
Very much work in progress, for the moment it creates just pure geometry (no normals, uvs, colors or materials).
Also fixed bug in JSONLoader in handling of face uvs.
2011-03-27 08:47:11 +02:00
Mr.doob
59443e5725
WebGLRenderer: Some clean up of blending modes.
...
NormalBlending is a bit better. But it's now producing some premultiplied-alpha-looking issues still :/
Created a couple of tools for making this process less painful:
http://mrdoob.com/lab/javascript/webgl/blending/blendfunc.html
http://mrdoob.com/lab/javascript/webgl/blending/blendfuncseparate.html
2011-03-26 10:41:58 +00:00
alteredq
4f80bbf808
Merged with mrdoob's branch.
2011-03-25 04:52:13 +01:00
alteredq
0496571235
Updated model loader, scene loader and scene format.
...
- model loader now handles "wireframe" parameter
- scene light colors are now specified via hex numbers
- scene format now includes additional parameter "urlBaseType" specifying where loader will look for included files:
- options are "relativeToHTML" (look for files under HTML url http://example.com/mydemo/index.html )
and "relativeToScene" (look for files under url from where scene was loaded http://example.com/assets/myscene/scene.js )
2011-03-25 03:22:32 +01:00
Mr.doob
0f3093373d
If I'm not mistaken that would have affected other Loaders.
2011-03-24 23:58:46 +00:00
Mr.doob
af993ea379
Added onLoadStart, onLoadProgress and onLoadComplete methods to Loader.
...
Simplified JSONLoader.
2011-03-24 23:29:10 +00:00
Mr.doob
feb60d1fa0
Updated builds.
2011-03-23 06:05:15 +00:00
Mr.doob
48a9714eed
Also removed Blender 2.49 exporter for the time being.
2011-03-23 06:03:36 +00:00
Mr.doob
0dc51e5687
Added copy method to THREE.Color.
...
Updated GeometryUtils.merge with Face*.color changes.
2011-03-23 00:18:39 +00:00
Mr.doob
ae80b2b894
REVISION ++
...
Updated builds and README.
2011-03-22 18:58:06 +00:00
alteredq
673ff47199
Blender exporter now exports proper per-face-vertex vertex colors.
2011-03-22 04:17:49 +01:00
Mr.doob
b7ec7b175e
Projector: Fixed crash when Face4 had vertex normals.
2011-03-22 00:33:26 +00:00
Mr.doob
0cb62b71ae
Added WebGL equirectangular panorama demo.
...
Merging with alteredq's branch.
2011-03-21 19:05:12 +00:00
Mr.doob
dd27dac124
Updated builds.
2011-03-21 06:22:45 +00:00
alteredq
3b6b3dc578
Made more examples working.
2011-03-21 07:10:12 +01:00
alteredq
071de366c2
Updated Blender exporter to export new JSON format.
...
Also some fixes along the way to properly handle vertex colors in loaders.
Many things still broken, but we move forward.
2011-03-21 05:36:12 +01:00
alteredq
bdc19a15c2
Updated OBJ converter to create new JSON model format.
...
Not tested yet, as the rest of the engine doesn't work yet.
2011-03-20 20:14:23 +01:00
Mr.doob
9409952c7a
WebGLRenderer: alert() → console.error() (thanks for the tip @joa)
...
Not sure about Firefox 4/Opera compatibility...
2011-03-18 16:55:37 +01:00
alteredq
377a71faa5
Merge branch 'master' of http://github.com/mrdoob/three.js
2011-03-17 12:51:19 +01:00