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

Issue 3358020: o3djs: Multiple simple lights, and a new demo. (Closed)

Created:
10 years, 3 months ago by Patrick Horn
Modified:
9 years, 7 months ago
Reviewers:
petersont
CC:
o3d-review_googlegroups.com, Daniel
Visibility:
Public.

Description

Multiple simple lights, and a new demo. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60900

Patch Set 1 : '' #

Total comments: 8

Patch Set 2 : update to latest svn #

Patch Set 3 : Fix comments, and add plumbing to pack.js #

Patch Set 4 : o3d plugin support #

Total comments: 1

Patch Set 5 : added var declarations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+544 lines, -54 lines) Patch
A multiple-lights.html View 1 chunk +208 lines, -0 lines 0 comments Download
A o3d-webgl-samples/multiple-lights.html View 1 2 3 1 chunk +209 lines, -0 lines 0 comments Download
M o3djs/effect.js View 1 2 3 4 14 chunks +104 lines, -44 lines 0 comments Download
M o3djs/material.js View 1 2 3 4 6 chunks +20 lines, -8 lines 0 comments Download
M o3djs/pack.js View 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Patrick Horn
The gist of this change that if a user turns on multiple lights, the light ...
10 years, 3 months ago (2010-09-09 08:19:42 UTC) #1
petersont
I think this is a great idea. A few comments, also let's make sure it ...
10 years, 3 months ago (2010-09-14 18:55:44 UTC) #2
Patrick Horn
Daniel got things working in the plugin by using createParam on the arrays. http://codereview.chromium.org/3358020/diff/2001/3002 File ...
10 years, 3 months ago (2010-09-17 04:23:49 UTC) #3
petersont
10 years, 2 months ago (2010-09-28 18:01:58 UTC) #4
One little thing, otherwise, LGTM.

http://codereview.chromium.org/3358020/diff/13002/21003
File o3djs/effect.js (right):

http://codereview.chromium.org/3358020/diff/13002/21003#newcode1016
o3djs/effect.js:1016: beginLightLoop = function() {
I think you'll need the var declaration or beginLightLoop and endLightLoop will
wind up in global scope.

Powered by Google App Engine
This is Rietveld 408576698