Commit Graph
11 Commits
Author SHA1 Message Date
alteredq 0496571235 Updated model loader, scene loader and scene format.
- model loader now handles "wireframe" parameter

- scene light colors are now specified via hex numbers

- scene format now includes additional parameter "urlBaseType" specifying where loader will look for included files:
    - options are "relativeToHTML" (look for files under HTML url http://example.com/mydemo/index.html)
      and "relativeToScene" (look for files under url from where scene was loaded http://example.com/assets/myscene/scene.js)
2011-03-25 03:22:32 +01:00
alteredq 59071e75b3 Synced with mrdoob's branch.
Also fixed scene loader example to match new cylinder parameters (centered).
2011-03-16 05:22:56 +01:00
alteredq 2c996815be Refactored texture updating, added texture filtering example and fixed scene loader and example. 2011-03-06 06:01:40 +01:00
alteredq cf2e8c1bbf Refactored everything to use CamelCase naming for properties. Plus some smaller fixes here and there.
Went through all examples, all should work.

JSON files exported from Blender / converted from OBJ files still use underscored property names internally. I don't know, should these also be changed?
2011-02-28 14:52:04 +01:00
alteredq feed283804 Added support for material blending parameter to scene loader. 2011-02-04 17:14:23 +01:00
alteredq 36f041a3e3 Another small improvement of scene loader blocking.
Also shader program building is now spread over loading time.
2011-01-27 02:52:19 +01:00
alteredq 3d663b3428 Added handling of texture mapping and material combine parameters to scene loader. 2011-01-26 18:00:06 +01:00
alteredq b13f7efafd Added handling of texture filtering parameters to scene loader. 2011-01-26 01:21:18 +01:00
alteredq 7bd3c4b7e0 Added to scene loader support for Icosahedron primitive and material shading parameter. 2011-01-26 00:08:49 +01:00
alteredq b0113fb874 Added support for cube textures and background color to scene loader.
Also made car prettier and showed how to modify the scene after loading.
2011-01-25 21:46:52 +01:00
alteredq 8faa18b620 Added simple scene format loader.
This is very much work in progress - expect things to change and to be broken.
2011-01-25 18:32:07 +01:00