Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Issue 1745002: Incremental progress toward archive loading in o3d-webgl. Implemented... (Closed)

Created:
10 years, 8 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
Reviewers:
CC:
o3d-review_googlegroups.com
Visibility:
Public.

Description

Incremental progress toward archive loading in o3d-webgl. Implemented ArchiveRequest, which expects to be pointed to the top-level scene.json, and which emulates the behavior of the O3D plugin by downloading the referenced resources and creating RawData objects for each. Pulled in public domain JSON parser from http://www.json.org/ . Implemented portions of TextureCUBE. Fixed some unimplemented functionality and a few bugs related to creation of parameters. At this point a larger refactoring of o3d-webgl is needed to make the deserialization work properly, so this code is being checked in as a checkpoint. Also fixed small bug in the cg_to_glsl converter script. BUG=none TEST=none TBR=petersont,amarinichev Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45143

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1046 lines, -19 lines) Patch
M cg_to_glsl/convert.py View 1 chunk +1 line, -1 line 0 comments Download
A samples/o3d-webgl-samples/helloworld.html View 1 chunk +174 lines, -0 lines 0 comments Download
A samples/o3d-webgl/archive_request.js View 1 chunk +268 lines, -0 lines 0 comments Download
M samples/o3d-webgl/base.js View 2 chunks +14 lines, -0 lines 0 comments Download
M samples/o3d-webgl/file_request.js View 1 chunk +4 lines, -0 lines 0 comments Download
M samples/o3d-webgl/pack.js View 4 chunks +33 lines, -8 lines 0 comments Download
M samples/o3d-webgl/param_object.js View 3 chunks +10 lines, -3 lines 0 comments Download
M samples/o3d-webgl/raw_data.js View 1 chunk +1 line, -1 line 0 comments Download
M samples/o3d-webgl/texture.js View 2 chunks +12 lines, -2 lines 0 comments Download
M samples/o3d-webgl/transform.js View 3 chunks +18 lines, -4 lines 0 comments Download
A samples/third_party/json/json2.js View 1 chunk +482 lines, -0 lines 0 comments Download
A samples/third_party/json/json2-min.js View 1 chunk +29 lines, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698