alteredq
f92f360744
Added normal maps support to Blender scene exporter and SceneLoader.
...
Blender normal map support is work-in-progress:
- for individual models normal map shader will need to be refactored to use standard scene lights
- would be nice to handle also bump maps (a lot of Blender assets do not use "use_normal_map" flag on tangent space normal texture but instead use "use_map_normal" flag on texture slot of grayscale heightmap texture)
Also some whitespace cleanup.
2011-06-20 09:51:37 +02:00
alteredq
3f2c37af45
Blender exporter: add handling of extra textures also to single model exporter.
2011-06-19 05:31:47 +02:00
alteredq
a8228f523e
Blender exporter: added handling of textures packed into blend file, fixed some texture location edge cases.
2011-06-19 04:10:05 +02:00
alteredq
213a2d9d2b
Merged, refactored and extended sweetfish/pxf pull request with scene material override and Blender exporter updates.
...
Fixed double rendering of scene when using override material.
Updated depth-of-field example to use scene material.
Blender exporter / scene loader now support mirrored repeat, wrap is now separate per-x and per-y.
Image copying is now optional and works also for individual models.
Scene loader now supports texture offset.
Blender exporter / loaders not fully tested yet, renderer seems fine, all examples work.
2011-06-17 03:21:38 +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
Jhonny Göransson
1049e34b11
Merge branch 'master' of github.com:pxf/three.js
2011-06-16 16:40:18 +02:00
Jhonny Göransson
986625ae52
the export script now copies textures to output folder with same name as project file
2011-06-16 16:39:23 +02:00
Sven Andersson
9343f20356
Fixed bug with the exported cameras position.
2011-06-16 15:58:49 +02:00
Sven Andersson
05a1e09b57
Renamed url base option and moved it in the UI.
2011-06-16 14:34:14 +02:00
Sven Andersson
6626da27a8
Merge branch 'master' of github.com:pxf/three.js
2011-06-16 14:28:35 +02:00
Sven Andersson
5b5d66b18e
Blender (2.57) export scripts now exports a default camera, if no camera in the scene was selected for export (in scene export). The default camera property is also updated accordingly.
2011-06-16 14:28:03 +02:00
Jhonny Göransson
83ba6483f7
bug
2011-06-16 14:13:30 +02:00
Jhonny Göransson
9b3157b8a9
Merge branch 'master' of github.com:pxf/three.js
2011-06-16 14:04:57 +02:00
Jhonny Göransson
acae6714c9
Added checkbox for scene/html base type
2011-06-16 14:04:44 +02:00
Sven Andersson
be7f3e0b56
Blender (2.57) export script keep track of texture wrapping option.
2011-06-16 13:51:55 +02:00
Sven Andersson
8429ff11d3
Blender (2.57) export script now add cameras to the scene output. (Note: Very buggy and target/lookat is broken.)
2011-06-16 13:04:54 +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
alteredq
b6e3089425
Added embedded meshes to Blender scene exporter.
2011-04-20 15:59:48 +02:00
alteredq
b9977ede37
Added triggers type to Blender exporter and scene loader.
2011-04-19 18:08:39 +02:00
sroucheray
39e993d50d
Include Trident.js in the EXTRAS_FILES Build array
2011-04-17 22:41:32 +02:00
alteredq
3505923be5
Changed default in OBJ converter to no alignment.
2011-04-15 04:17:36 +02:00
alteredq
691a5ea3ed
Added handling of shadow geometry to scene loader. Made default light and camera option to Blender scene exporter. Made shadow geometry invisible in exported scene.
2011-04-13 12:26:49 +02:00
Mikael Emtinger
b0e904eb29
Merge branch 'master' of git://github.com/mrdoob/three.js
2011-04-12 14:49:59 +02:00
Mikael Emtinger
147961f4b5
Added Roll Camera and example
2011-04-12 14:49:45 +02:00
alteredq
ac6e6e7fbd
Blender exporter: added custom property for selecting material type.
...
For the moment it handles Basic, Lambert and Phong.
As with other custom properties, this should be persistent, saved into blend file.
2011-04-12 01:30:17 +02:00
alteredq
c94104147e
Blender exporter / scene loader: added handling of vertex colors for scene materials.
...
Made mesh colliders exported from Blender invisible in scene.
Added handling of meshes with multiple materials in scenes (for the moment just by using MeshFaceMaterial where real materials come from model JSON).
2011-04-12 00:10:06 +02:00
alteredq
7e22df47aa
Synced with mrdoob's branch.
2011-04-11 21:15:02 +02:00
Mr.doob
1622b033f0
Merge remote branch 'sroucheray/Branch_r39' into experimental
2011-04-11 19:50:58 +01:00
sroucheray
b58e495de2
Add --unminified optional parameter to the build.py, useful when developing without modifying the build script itself
...
Add an Ant build.xml file : another way to launch different pre-configured builds
2011-04-11 15:15:13 +02:00