Commit Graph
1292 Commits
Author SHA1 Message Date
Mr.doob 92d702d95d Added data object ( vertices, faces ) to Canvas/SVG/WebGLRenderer to get some render counts from the last render call. 2011-04-12 09:25:22 +01:00
Mr.doob ae327f8ba1 Fixed link in terrain example. (thx joshuali) 2011-04-12 08:24:00 +01: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
alteredq af3582c9d1 Merge branch 'master' of http://github.com/mrdoob/three.js 2011-04-11 21:03:20 +02:00
alteredq 99ac869b24 Added forgotten return to Quaternion.multiply 2011-04-11 21:01:54 +02:00
Mr.doob 1622b033f0 Merge remote branch 'sroucheray/Branch_r39' into experimental 2011-04-11 19:50:58 +01:00
Mr.doob 45a7df8f95 Fixed lookAt example. 2011-04-11 16:38:01 +01:00
Mr.doob e0e05f2962 Fixed Objec3D::lookAt 2011-04-11 16:35:46 +01:00
Mr.doob 9acde65027 Updated lookAt example so it's more obvious. 2011-04-11 16:19:50 +01:00
Mr.doob df54e729c9 Updated builds. 2011-04-11 16:17:30 +01:00
Mr.doob 3d65cbcd44 Merge remote branch 'alteredq/master' into experimental 2011-04-11 16:16:08 +01:00
Mr.doob e5e4ff79ee Fixed Vector3::setRotationFromMatrix 2011-04-11 16:15:46 +01:00
alteredq 4c35acca89 Merge branch 'master' of http://github.com/mrdoob/three.js 2011-04-11 16:39:13 +02:00
alteredq b72177929e Fixes in handling of camera updates. Added few methods to Quaternion API. 2011-04-11 16:33:17 +02: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
Mr.doob 7361be39df WebGLRenderer: Sprites can now be removed from the Scene (thx jetienne)
Some white space clean up.
2011-04-11 09:53:32 +01:00
Mr.doob d30220390a More tweaks to grass example. Less texture resolution, same result. 2011-04-11 07:25:52 +01:00
alteredq 7713f5cb9c Added autoForward option to FlyCamera.
Also changed autoForward in QuakeCamera not to interfere with backwards direction.

Tweaked a bit minecraft AO demo, using extra power for more cubes.
2011-04-11 01:35:21 +02:00
alteredq bcd21b1191 Added forgotten FlyCamera. 2011-04-11 00:39:50 +02: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... r39 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 dab341560d Merge remote branch 'alteredq/master' 2011-04-10 08:58:51 +01:00
Mr.doob dad4b7efa6 Missed important fix on r39 log. 2011-04-10 08:58:15 +01:00
alteredq a318d87522 Added forgotten THREE namespace to SceneUtils.traverseHierarchy 2011-04-09 20:11:10 +02:00
Mr.doob aa3b1e0666 Updated README example. 2011-04-09 12:57:42 +01: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 8bef209b52 Improved WebGLRenderer reflection/refraction/fresnel examples. Now that the renderer is faster we can aswell move 'em ;) 2011-04-09 09:15:38 +01:00
Mr.doob e4a7eade88 Minor clean up on Sprites example. 2011-04-09 08:42:57 +01:00
Mr.doob d1ae3fb45b Updated builds. All seems to be good again. 2011-04-09 08:37:28 +01:00
Mr.doob ed1c30fff2 Merge remote branch 'alteredq/master' into experimental 2011-04-09 08:23:07 +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
alteredq 4405d6d9b8 Small optimization for examples using FBOs.
In most cases RGB format is enough (RGBA is needed for example for lens flares to work ok with postprocessing).
2011-04-08 23:54:55 +02:00
alteredq a017ad9a3a Small optimization of color uniforms setting.
It should be safe just to set material color object references, no more updating of color string in every frame for every material color.
2011-04-08 23:14:38 +02:00
alteredq 80696063ce Brought back broken particles.
Problem were attributes which were enabled for sprites and lens flares, but then not used.

I just delayed enabling till they are not rendered for the first time. There is probably some cleaner way how to do this.
2011-04-08 21:24:57 +02:00
Mr.doob 3492312d0c Merge remote branch 'alteredq/master' into experimental 2011-04-08 20:15:26 +01:00
Mr.doob 9c68545b81 Merge remote branch 'empaempa/master' into experimental 2011-04-08 20:15:18 +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
Mikael Emtinger d8e5678ece Optimized initalization of ShadowVolumes by using supplied edge information (if available) 2011-04-08 13:34:05 +02: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
Mikael Emtinger 36bc61e5e9 Fixed several small sprite bugs and updated example. 2011-04-08 10:37:31 +02:00
Mr.doob e32ec43883 Merge remote branch 'alteredq/master' into experimental 2011-04-08 07:05:22 +01:00
Mr.doob d34fe4e9b9 Removed some broken featured projects. 2011-04-08 07:05:06 +01:00