19 Commits
Author SHA1 Message Date
Mr.doob 81346eab80 Better UV texture 2011-11-05 14:59:17 +01:00
Mr.doob 6b151b552e Merging with @alteredq's experimental branches. 2011-10-23 12:34:46 +02:00
alteredq ef29a8e352 Made FlyControls and RollControls work. Fixed more examples. 2011-10-04 22:57:43 +02:00
Mr.doob 0995bc43f3 Added a handy "center" to Scene.
I could have just used `lookAt( scene.position )`, but eventually I would like to have Scene not extending Object3D.
2011-10-04 01:30:00 +02:00
Mr.doob 5d96f15b39 Started doing Camera changes.
* Camera is now a base object. PerspectiveCamera should be used instead. Figured out a way to show a warning when misused.
* OrthoCamera is now OrthographicCamera.
* Removed `target` from Camera.

Misc
* Renamed Trident to Axes.
2011-10-04 01:07:24 +02:00
Mr.doob ad31ff1214 Fixed the rest of the examples.
Found out that CrosseyedWebGLRenderer probably wouldn't work for target-less cameras.
Something weird going on with `webgl_scene_test.html` and `webgl_scene_test_blender.html`. For some reason cubes dissapear.
2011-10-02 06:33:32 +02:00
alteredq fa0b4e5062 Removed unused custom logging code from examples.
This was relic from before "console.log" was working cross-browser.
2011-09-21 05:37:48 +02:00
Mr.doob bbb65a768c Updated HTML of the rest of the examples. 2011-09-20 19:27:01 -07:00
Mr.doob 19d8261174 More examples clean up. 2011-09-20 18:31:13 -07:00
Mr.doob 6141390dab Simplified CylinderGeometry params. 2011-09-05 22:28:49 +02:00
Mr.doob f849f34b1e Redid CylinderGeometry.
Simplified `Trident`.
Added `setX`, `setY`, `setZ` methods to `Vector3`. They're handy for oneliners (see `CylinderGeometry`).
2011-09-05 22:16:47 +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 ee80c958a1 TorusGeometry: Proper vertex and face normal calculation.
Some clean up on Vector* constructors.
Added UV::clone.
2011-08-26 23:33:13 +02:00
Mr.doob bfdb10a85a Updated all examples so they use the renamed geometry classes. 2011-06-13 18:33:53 +02:00
Mr.doob b18b6f9fbe Added Trident to Geometry example. Found out that handling scene.objects from API wise is a bit confusing (childs are there too). 2011-04-18 16:29:00 +02: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 94790f057e extras/geometries
- Fixed TorusKnot face orientation.
- Added UVs to Cylinder (Cylindrical Mapping) 
- Fixed Lathe UVs

There is something wrong with texture mapping, u needs to be inverted all the time. Something to researching on.
2011-04-06 20:10:25 +01:00
Mr.doob c8d13bd7b0 Fixed Lathe Geometry. 2011-03-16 04:50:35 +00: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