288 Commits
Author SHA1 Message Date
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
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
Mr.doob bc520665d3 Cleaned up Blender exporter (visually, code-wise and whitespaces-wise) 2011-04-11 13:03:19 +01:00
alteredq bdbf1f78c5 Synced with mrdoob's branch. 2011-04-10 23:47:43 +02:00
alteredq 22bd108ab1 Added FlyCamera (thanks to James Baicoianu). Added specular map to normal map shader. Added WebGL Earth FlyCamera demo.
Changed normal map shader to multiply specular component with diffuse weighting as specular highlights were appearing in the dark parts.

Changed camera look speed in minecraft and terrain demos, they were too fast - I guess as everything got faster with antialiasing off.

Reenabled antialiasing in few demos where it was too ugly without (basically anything with lines and without postprocessing).

Fixed again spurious invisible characters in empaempa's code (which are breaking everything and are hard to hunt as they look like spaces).
2011-04-10 23:13:05 +02:00
Mr.doob 25dddd2024 Uops... 2011-04-10 16:43:26 +01:00
Mr.doob eb411d1bef Blender exporter now has options to export (or not) vertices and faces too.
Also renamed some vars for consistency reasons, hope I didn't break anything...
2011-04-10 13:00:49 +01:00
Mr.doob 3bc9f48c2f src/animation ⟶ src/extras/animation
Improved lod and grass examples.
2011-04-10 09:36:28 +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 c74f046b76 src/physics ⟶ src/extras/physics 2011-04-09 08:18:45 +01:00
alteredq 5fcc6190f2 Added remembering of Blender exporter settings between sessions. Also fixed Blender exporter crashing on scenes without world.
Settings are remembered in JSON file "threejs_settings_export.js" stored in Blender's temp folder. It should survive restart of Blender.
2011-04-08 19:18:25 +02: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