| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
implementation to be backed by Params using
o3d.ParamObject.setUpO3DParam_. This change was needed to maintain the
semantics of the plugin, where fetching a parameter of a certain name
and setting it is equivalent to setting the field against the object.
This change mandated moving all of the assignments of the form
"constructor.prototype.fieldName = defaultValue" into the constructor
function itself, so that the setter created by setUpO3DParam will be
properly called for those assignments. For all files touched by this
CL, moved all default field assignments, not just those associated
with Param-backed fields.
Incorporated petersont's setup of the dx_clipping uniform introduced
in amarinichev's cg_to_glsl converter. Commented out bogus
modification of projection matrix in o3d.Param.SAS.setProjection and
added TODO to modify all handwritten shaders. Fixed bug in
o3d.Buffer.prototype.resize where it needed to coerce the argument to
an integer, a bug in the type determination for arrays in param.js,
and a couple of other bugs.
Changed cg_to_glsl script to use the expected case for the SAS
matrices in the o3d-webgl backend. Hopefully this change will not
break the GLES2 backend.
Ran all o3d-webgl samples. All work except for shadow-map.html
(affected by https://bugs.webkit.org/show_bug.cgi?id=37963 ) and
helloworld.html, which now does not report any errors but also does
not display any output yet.
BUG=none
TEST=ran o3d-webgl samples
TBR=petersont,amarinichev
Review URL: http://codereview.chromium.org/1751006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45278 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Review URL: http://codereview.chromium.org/1745002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45143 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
lingering bugs, moved some texture initialization so subsequent calls to gl.texSubImage2D wouldn't fail.
Review URL: http://codereview.chromium.org/1092003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42277 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
fixed bugs, added calls to parent class constructor to classes that didn't have them before, added a few demos to exhibit/test textures and render surfaces.
Review URL: http://codereview.chromium.org/856004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41482 0039d316-1c4b-4281-b951-d872f2087c98
|
|
to run the hellocube sample.
Review URL: http://codereview.chromium.org/561026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40133 0039d316-1c4b-4281-b951-d872f2087c98
|