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
Mr.doob
c986eef0f9
Compiled lib with new Cylinder.
2011-03-17 01:00:23 +00:00
alteredq
04a7ac496c
Added SceneUtils.traverseHierarchy and SceneUtils.showHierarchy.
...
Also cleaned up examples from individual includes, only sandboxes and ubiquity now include individual files.
2011-03-17 00:22:20 +01:00
Mr.doob
565f9221e3
Added missing classes to custom builds.
2011-03-16 19:11:56 +00:00
alteredq
da497665f7
Synced with empaempa plus made it possible to use scene lights in MeshShaderMaterial.
2011-03-16 14:28:49 +01:00
Mr.doob
d5f0ce79d4
Reverted Cylinder top/bottom auto cap and offset features.
2011-03-16 05:09:35 +00:00
Mr.doob
a1a41e7fc8
Recompiled builds.
2011-03-16 04:58:00 +00:00
alteredq
59071e75b3
Synced with mrdoob's branch.
...
Also fixed scene loader example to match new cylinder parameters (centered).
2011-03-16 05:22:56 +01:00
alteredq
2127bdeb50
Merged morphing from empaempa.
...
Everything should work except skinning.
2011-03-16 04:53:39 +01:00
Mr.doob
49d9b2e460
src/extras/primitives/ ⟶ src/extras/geometries
...
Added geometries example (need to add Lathe one).
Fixed Cylinder.
2011-03-16 03:51:47 +00:00
alteredq
863e7db49f
Refactored spline specific stuff out of PathCamera into Spline.
2011-03-16 01:19:39 +01:00
alteredq
ff832976b2
Removed underscores from texture filenames to please GitHub.
2011-03-15 17:59:32 +01:00
alteredq
1c466f26e7
Moved QuakeCamera and PathCamera into extras/cameras.
2011-03-15 16:49:52 +01:00
alteredq
09a10f7b2c
Fixed update of PathCamera.
...
No more need for manual update hack.
Problems with keeping constant speed are still there. Added debug particles sampled along the spline - seems problems come from spline, samples have weird distribution.
2011-03-15 02:01:52 +01:00
Mr.doob
1413f96958
Fixed Camera.updateMatrix().
2011-03-14 20:01:35 +00:00
alteredq
d6db37ef7f
Loader now keeps track of texture file names.
...
These are stored in "material.map.sourceFile".
2011-03-09 14:26:08 +01:00
Mr.doob
18dd03e90f
Fixed particle scaling vertex shader (hopefully it now works on ANGLE).
2011-03-08 11:00:21 -08:00
alteredq
ba0047cb1c
Resurrected "noFly" as QuakeCamera's override.
2011-03-06 17:39:13 +01:00
Mr.doob
952631c923
REVISION++
...
Added some examples to README.
2011-03-06 09:41:15 +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
795abb58a9
Uops! Forgot to increase REVISION's number :S
2011-03-03 08:46:12 +00:00
Mr.doob
66cd1198e3
Updated examples and utils that used Cube().
2011-03-03 08:31:00 +00:00
alteredq
ea3961d6a6
Made dynamic objects work.
2011-03-02 21:34:44 +01: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
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
f5e819fe14
Removed all the toString methods (saving 6kbytes)
...
I don't remember when was the last time I used them. Current Web Developer Tools do this already for you.
Color::updateRGBA ⟶ Color::updateRGB
2011-02-28 05:13:04 +00:00
alteredq
a325cd6064
Added build shell scripts for building all libs versions.
2011-02-27 22:59:26 +01:00
Mr.doob
7480fb69cd
Updated README examples.
...
Sound3D ⟶ Sound
2011-02-26 14:21:15 +00:00