Changeset 20207


Ignore:
Timestamp:
02/17/16 17:46:01 (9 years ago)
Author:
dlcheng
Message:

CHG (javascript): Changing default alpha values.

Location:
issm/trunk-jpl/src/m/plot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_overlay.js

    r20205 r20207  
    5353        node["modelMatrix"] = recalculateModelMatrix(node);
    5454        node["texture"] = initTexture(gl,options.getfieldvalue('image'));
    55         node["alpha"] = options.getfieldvalue('outeralpha',0.9);
     55        node["alpha"] = options.getfieldvalue('outeralpha',1.0);
    5656        node["overlay"] = false;
    5757        node["drawOrder"] = 1;
  • issm/trunk-jpl/src/m/plot/plot_unit.js

    r20205 r20207  
    5959        node["translation"] = [(xmin + xmax) / (-2 / scale), (ymin + ymax) / (-2 / scale), (zmin + zmax) / (-2 / scale)];
    6060        node["modelMatrix"] = recalculateModelMatrix(node);
    61         node["alpha"] = options.getfieldvalue('alpha',0.9);
     61        node["alpha"] = options.getfieldvalue('alpha',1.0);
    6262        node["overlay"] = options.getfieldvalue('overlay','off') == 'on';
    6363        node["drawOrder"] = 0;
     
    9090                                datamax = caxis[1];
    9191                                datadelta = datamax - datamin;
     92                                console.log(datadelta, caxis);
    9293
    9394                                vertices.itemSize = 3;
Note: See TracChangeset for help on using the changeset viewer.