Mr.doob
51368ca6d6
REVISION ++
2011-09-04 00:47:01 +02:00
Mr.doob
94b7418f60
Added objec3d.frustumCulled support to Projector (CanvasRenderer/SVGRenderer).
...
`renderers/Projector.js` > `core/Projector.js`
`extras/geometries/Curve.js` > `extras/core/Curve.js`
`extras/geometries/CurvePath.js` > `extras/core/CurvePath.js`
`extras/geometries/Path.j`s > `extras/core/Path.js`
`extras/geometries/Shape.js` > `extras/core/Shape.js`
`extras/geometries/TextPath.js` > `extras/core/TextPath.js`
2011-09-03 21:58:18 +02:00
alteredq
495de75ff2
Added OrthoCamera.
...
Modified examples to use it, hacking projection matrix started to feel a bit dirty.
2011-08-29 10:34:18 +02:00
Mr.doob
7c7d4428f2
Moved src/materials/Mappings.js inside src/materials/Texture.js
...
Moved `src/materials/*Texture.js` to `src/textures/*Texture.js`
2011-08-29 05:18:25 +02:00
Mr.doob
8fd041508f
extras/io > extras/loaders
...
extras/collada/dae.js > extras/loaders/ColladaLoader.js
removed LoaderOld.js
2011-08-26 23:44:47 +02:00
alteredq
4336d757ac
Added WebGLRenderTargetCube.
...
Work-in-progress.
2011-08-26 19:40:56 +02:00
Mr.doob
714e9ec302
REVISION++
...
* Added support to texture.offset in CanvasRenderer
* Removed ShadowVolume, ShadowVolumeDynamicMaterial and LensFlare classes.
* Removed Stencil Shadows and LensFlare code out of WebGLRenderer
* Added 2.59 folder to Blender, and removed old ones.
2011-08-14 02:54:23 +02:00
alteredq
d5a54e0a4e
Added UTF8 format loader and example.
...
Included corresponding compressor in "utils/exporters/utf8" (prebuilt exe for Windows plus slightly modified C++ source code).
Use UTF8 format with caution, it is very neat but has quite a few limitations:
- number of vertices < 65536 (this is after optimizations in compressor, input OBJ may have even less)
- models must have normals and texture coordinates
- texture coordinates must be only from <0,1>
- no materials support yet
- models are scaled and offset (copy numbers from compressor and use them as parameters in UTF8Loader.load() )
2011-08-13 02:00:25 +02:00
alteredq
e95ca433b2
Merged latest zz85's shapes / curves / extruded geometry updates.
...
The only notable change I did was to rename ExtrudeGeometry's parameter "path" to "extrudePath" (as now there is also "bendPath").
2011-08-13 01:05:01 +02:00
zz85
0824c15a51
Curves refactored - addition of curve path, tangent finding, along with other bend changes and enhancements i may not remember
2011-08-12 13:35:09 +08:00
alteredq
5ff33eb3c3
Updated Blender exporter to export morph animations.
...
Again, not to be used yet, very little tested plus code is horrible.
2011-08-11 04:55:13 +02:00
alteredq
4aaacae6ee
Extended Blender exporter to support mesh merging and export of all / selected meshes as single JSON model.
...
Do not use yet, work-in-progress, very little tested.
2011-08-10 04:33:03 +02:00
alteredq
5a82fb1d18
Added option for skipping morph frames in OBJ converter.
2011-08-07 07:09:03 +02:00
alteredq
01bebe5c40
Added DataTexture, for creating textures out of raw data.
...
DataTexture can be used in the same places like image / video based Texture (WebGLRenderer-only).
To be used like this:
var width = 64, height = 64, bytes = 3;
var data = new Uint8Array( width * height * bytes );
// fill data array with values 0 .. 255
var texture = DataTexture( data, width, height, THREE.RGBFormat );
texture.needsUpdate = true;
For the moment only UNSIGNED_BYTE type is supported.
2011-08-03 00:50:43 +02:00
alteredq
bafa6ec100
Added worker closing to JSON template in 3ds max exporter.
2011-07-29 16:29:36 +02:00
alteredq
c0d371be7c
Merged with zz85's shape / path / extrude / bevel / text updates.
...
- moved 3d-only text parameters from TextPath into TextGeometry
- added safeguard for bevelSize and bevelThickness not affecting shape size if bevel is disabled
- updated text examples as now TextGeometry is not anymore centered
2011-07-28 19:19:52 +02:00
zz85
faf189c3dc
Some refactoring + cleanup for TextPath, Geometries, Shapes
2011-07-28 03:56:21 +08:00
alteredq
77341c86b1
First attempt at shadow mapping (work-in-progress).
2011-07-27 01:35:44 +02:00
zz85
e37a02805a
Updated Extrude Shape Examples
2011-07-21 14:23:45 +08:00
alteredq
23e315cb33
Merged zz85's Path / Shape / Extrude geometry. Cleaned up and refactored it a bit.
...
All three classes are now in separate files.
Updated build script.
Fixed runaway globals.
Optimized loops ("in" should be used just for iterating over object properties, for arrays it's slow and also traversal order is not guaranteed).
Cleaned whitespace.
Bit more polished example.
Fixed inverted side faces for fish shape.
2011-07-12 00:46:57 +02:00
alteredq
8544110f6f
Fixed Blender importer to work with Blender 2.58.
2011-07-09 00:35:39 +02:00
alteredq
a4397e2a4c
Updated Blender normal map pipeline to handle also specular and AO maps.
...
Gah, these things are pain to debug - "undefined" value in uniforms can lead to very weird behaviors.
2011-07-07 23:54:17 +02:00
Mr.doob
a5b7ea85a9
Removed Sound object and SoundRenderer.
...
Updated misc_sound example with same functionality.
2011-07-03 15:10:28 +02:00
Mr.doob
176d0f2884
Merging with @alteredq's branch.
2011-07-03 12:56:50 +02:00
Chris Killpack
d311d0e674
Rename QuakeCamera to FPCamera.
...
Add QuakeCamera alias for backwards compatibility.
2011-06-28 21:49:33 -07:00
Juraj Michalek
83628d5e15
Fix python for Blender 2.58
...
modified: 2.58/scripts/addons/io_mesh_threejs/__init__.py
2011-06-23 10:24:07 +02:00
Juraj Michalek
237800b9c4
Fixed support for Blende 2.58
...
new file: 2.58/scripts/addons/io_mesh_threejs/__init__.py
new file: 2.58/scripts/addons/io_mesh_threejs/export_threejs.py
new file: 2.58/scripts/addons/io_mesh_threejs/import_threejs.py
2011-06-23 10:22:06 +02:00
alteredq
5739f754a8
Made "needsUpdate" working for custom attributes. Added example for custom attributes.
...
Not perfect solution but better than nothing.
2011-06-16 16:46:28 +02:00
alteredq
c497709337
Added texture repeat support to Blender model and scene exporters.
...
Also fixed default camera buggy string in Blender scene exporter and changed lightmap parameter name in base Loader (to be consistent with other "maps").
2011-06-15 19:04:32 +02:00
Mr.doob
b61ee54f27
Renamed all extras/geometries.
2011-06-10 17:09:47 +02:00
alteredq
e4b75f1c8d
Merged greggman's offset camera pull request.
2011-06-03 23:57:38 +02:00
alteredq
d2cbf83dd3
Merged zz85's 3d text pull request, cleaned up THREE.Text code.
2011-06-03 20:31:35 +02:00
zz85
2860731edb
Updated 3D Text Geometry and example
2011-06-02 01:21:37 -07:00
alteredq
dcbcf72f55
Added CrosseyedWebGLRenderer.
2011-06-01 18:51:07 +02:00
Mr.doob
6bee6c3972
Added AnaglyphWebGLRenderer.
2011-06-01 08:09:32 +01:00
Mr.doob
e3bc14cb10
Because of Ray now checks Particles, ThreeWebGL now has that dependency.
2011-05-30 16:09:14 +01:00
Eberhard Gräther
74ab78a6e2
build including TrackballCamera
2011-05-30 00:02:13 +02:00
Mr.doob
4f0199fc13
Updated closure compiler.
2011-05-28 20:18:35 +01:00
zz85
1286e5171b
inital import for THREE.Text and example
2011-05-27 05:09:20 -07:00
Mr.doob
87f293632c
Few cosmetic and credit tweaks to the Blender 2.57 exporter.
2011-05-24 00:51:40 +01:00
remoe
dd990f79ba
Blender 2.57 support
2011-05-23 20:38:10 +02:00
Mr.doob
fc24eab0a8
Merge remote branch 'tilmanb/convdoc'
2011-05-10 08:13:46 -07:00
Tilman Brock
458544ef3d
Removed misleading line from convert_obj_three.py help output. "Can have more than 65,535 edges" is not a limitation).
2011-05-10 16:40:28 +02:00
alteredq
c234c5cc6e
Merge branch 'master' of https://github.com/mrdoob/three.js
...
Conflicts:
build/Three.js
build/custom/ThreeExtras.js
build/custom/ThreeWebGL.js
2011-05-08 14:56:12 +02:00
alteredq
023024f520
Updated Blender scene exporter to output proper JSON. Changed OBJ converter to dump less digits for floats.
2011-05-07 21:31:16 +02:00
Mr.doob
30cfa26ee2
Fixed build script for ThreeWebGL (was missing objects).
2011-05-07 03:39:29 -07:00
alteredq
d95d6d979d
Refactored HSV getter out of Color into ColorUtils.
2011-04-24 17:57:06 +02:00
alteredq
7ee6cc33eb
OBJ converter: add option for scaling and truncating vertex coordinates (flag "-x scale").
...
To be used like this:
python convert_obj_three.py -i lucy100k.obj -o Lucy100k_slim.js -a center -s flat -x 100
It should work also for morph vertices.
2011-04-21 14:36:53 +02:00
alteredq
abbfd7a493
Fixed handling of vertexColors parameter in Blender JSON importer.
2011-04-21 13:58:52 +02:00
alteredq
614925336d
Added support for empty objects and meshes without geometries to Blender scene exporter and SceneLoader.
2011-04-21 13:28:04 +02:00