Skip to content

Commit

Permalink
Updated reference images
Browse files Browse the repository at this point in the history
These are now consistent with the new rendering pipeline.
  • Loading branch information
dkoes committed Feb 5, 2020
1 parent d7b0780 commit 468b2c4
Show file tree
Hide file tree
Showing 196 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3Dmol/WebGL/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ $3Dmol.Renderer = function(parameters) {
return vers[6] == "1"; //indexing into string
}

this.supportsVolumetric = function() { return !isWebGL1(); }
this.supportsVolumetric = function() { return !isWebGL1(); };

function setDefaultGLState() {

Expand Down
Binary file removed tests/auto/imgs/ColorschemeSpec1.png
Binary file not shown.
Binary file removed tests/auto/imgs/ColorschemeSpec2.png
Binary file not shown.
Binary file modified tests/auto/imgs/_3dmol_js_createViewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/_3dmol_js_createViewerGrid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/_3dmol_js_download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed tests/auto/imgs/addAtoms.png
Binary file not shown.
Binary file modified tests/auto/imgs/animatelabels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/animatereslabels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/animateshapes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/clicksphere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/colors_js_ColorschemeSpec.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/divcallback.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/embed_zoomto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/exportVRML.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glcartoon_js_CartoonStyleSpec.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glmodel_js_addAtoms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glmodel_js_hide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glmodel_js_selectedAtoms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed tests/auto/imgs/glmodel_js_setClickable.png
Binary file not shown.
Binary file modified tests/auto/imgs/glmodel_js_setColorByFunction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed tests/auto/imgs/glmodel_js_setHoverable.png
Binary file not shown.
Binary file modified tests/auto/imgs/glmodel_js_setStyle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glmodel_js_show.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glmodel_js_vibrate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glshape_js_addArrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/auto/imgs/glshape_js_addBox.png
Binary file modified tests/auto/imgs/glshape_js_addCylinder.png
Binary file modified tests/auto/imgs/glshape_js_addIsosurface.png
Binary file modified tests/auto/imgs/glshape_js_addLine.png
Binary file modified tests/auto/imgs/glshape_js_addSphere.png
Binary file modified tests/auto/imgs/glviewer_js_addArrow.png
Binary file modified tests/auto/imgs/glviewer_js_addAsOneMolecule.png
Binary file modified tests/auto/imgs/glviewer_js_addBox.png
Binary file modified tests/auto/imgs/glviewer_js_addCurve.png
Binary file modified tests/auto/imgs/glviewer_js_addCustom.png
Binary file modified tests/auto/imgs/glviewer_js_addCylinder.png
Binary file modified tests/auto/imgs/glviewer_js_addIsosurface.png
Binary file removed tests/auto/imgs/glviewer_js_addLAbel.png
Diff not rendered.
Binary file modified tests/auto/imgs/glviewer_js_addLabel.png
Binary file modified tests/auto/imgs/glviewer_js_addLine.png
Binary file modified tests/auto/imgs/glviewer_js_addModel.png
Binary file modified tests/auto/imgs/glviewer_js_addModelsAsFrames.png
Binary file modified tests/auto/imgs/glviewer_js_addPropertyLabels.png
Binary file modified tests/auto/imgs/glviewer_js_addResLabels.png
Binary file modified tests/auto/imgs/glviewer_js_addSphere.png
Binary file modified tests/auto/imgs/glviewer_js_addStyle.png
Binary file modified tests/auto/imgs/glviewer_js_addVolumetricData.png
Binary file modified tests/auto/imgs/glviewer_js_center.png
Binary file modified tests/auto/imgs/glviewer_js_getModel.png
Binary file modified tests/auto/imgs/glviewer_js_removeAllLabels.png
Binary file modified tests/auto/imgs/glviewer_js_removeLabel.png
Binary file modified tests/auto/imgs/glviewer_js_rotate.png
Binary file modified tests/auto/imgs/glviewer_js_setBackgroundColor.png
Binary file modified tests/auto/imgs/glviewer_js_setClickable.png
Binary file modified tests/auto/imgs/glviewer_js_setHoverable.png
Binary file modified tests/auto/imgs/glviewer_js_setProjection.png
Binary file modified tests/auto/imgs/glviewer_js_setStyle.png
Binary file modified tests/auto/imgs/glviewer_js_setViewStyle.png
Binary file modified tests/auto/imgs/glviewer_js_setZoomLimits.png
Binary file modified tests/auto/imgs/glviewer_js_translate.png
Binary file modified tests/auto/imgs/glviewer_js_zoom.png
Binary file modified tests/auto/imgs/glviewer_js_zoomTo.png
Binary file modified tests/auto/imgs/hovertrace.png
Binary file modified tests/auto/imgs/removereslabels.png
Binary file modified tests/auto/imgs/residiv.png
Binary file removed tests/auto/imgs/selectedAtoms.png
Diff not rendered.
Binary file removed tests/auto/imgs/setClickable1.png
Diff not rendered.
Binary file removed tests/auto/imgs/setClickable2.png
Diff not rendered.
Binary file removed tests/auto/imgs/setStyle.png
Diff not rendered.
Binary file removed tests/auto/imgs/spec_js_WithinSelectionSpec.png
Diff not rendered.
Binary file modified tests/auto/imgs/specs_js_AtomSelectionSpec.png
Binary file modified tests/auto/imgs/specs_js_SurfaceStyleSpec.png
Binary file modified tests/auto/imgs/specs_js_WithinSelectionSpec.png
Binary file modified tests/auto/imgs/test1.png
Binary file modified tests/auto/imgs/test10.png
Binary file modified tests/auto/imgs/test11.png
Binary file modified tests/auto/imgs/test12.png
Binary file modified tests/auto/imgs/test13.png
Binary file modified tests/auto/imgs/test14.png
Binary file modified tests/auto/imgs/test15.png
Binary file modified tests/auto/imgs/test16.png
Binary file modified tests/auto/imgs/test17.png
Binary file modified tests/auto/imgs/test18.png
Binary file modified tests/auto/imgs/test19.png
Binary file modified tests/auto/imgs/test2.png
Binary file modified tests/auto/imgs/test20.png
Binary file modified tests/auto/imgs/test21.png
Binary file modified tests/auto/imgs/test22.png
Binary file modified tests/auto/imgs/test23.png
Binary file modified tests/auto/imgs/test24.png
Binary file modified tests/auto/imgs/test25.png
Binary file modified tests/auto/imgs/test26.png
Binary file modified tests/auto/imgs/test27.png
Binary file modified tests/auto/imgs/test28.png
Binary file modified tests/auto/imgs/test29.png
Binary file modified tests/auto/imgs/test3.png
Binary file modified tests/auto/imgs/test30.png
Binary file modified tests/auto/imgs/test31.png
Binary file modified tests/auto/imgs/test32.png
Binary file modified tests/auto/imgs/test33.png
Binary file modified tests/auto/imgs/test34.png
Binary file modified tests/auto/imgs/test36.png
Binary file modified tests/auto/imgs/test37.png
Binary file modified tests/auto/imgs/test38.png
Binary file modified tests/auto/imgs/test39.png
Binary file modified tests/auto/imgs/test4.png
Binary file modified tests/auto/imgs/test40.png
Binary file modified tests/auto/imgs/test41.png
Binary file modified tests/auto/imgs/test42.png
Binary file modified tests/auto/imgs/test43.png
Binary file modified tests/auto/imgs/test44.png
Binary file modified tests/auto/imgs/test45.png
Binary file modified tests/auto/imgs/test46.png
Binary file modified tests/auto/imgs/test47.png
Binary file modified tests/auto/imgs/test48.png
Binary file modified tests/auto/imgs/test49.png
Binary file modified tests/auto/imgs/test5.png
Binary file modified tests/auto/imgs/test50.png
Binary file modified tests/auto/imgs/test51.png
Binary file modified tests/auto/imgs/test52.png
Binary file modified tests/auto/imgs/test53.png
Binary file modified tests/auto/imgs/test54.png
Binary file modified tests/auto/imgs/test55.png
Binary file modified tests/auto/imgs/test56.png
Binary file modified tests/auto/imgs/test57.png
Binary file modified tests/auto/imgs/test58.png
Binary file modified tests/auto/imgs/test59.png
Binary file modified tests/auto/imgs/test6.png
Binary file modified tests/auto/imgs/test60.png
Binary file modified tests/auto/imgs/test61.png
Binary file modified tests/auto/imgs/test62.png
Binary file modified tests/auto/imgs/test63.png
Binary file modified tests/auto/imgs/test64.png
Binary file modified tests/auto/imgs/test65.png
Binary file modified tests/auto/imgs/test66.png
Binary file modified tests/auto/imgs/test67.png
Binary file modified tests/auto/imgs/test68.png
Binary file modified tests/auto/imgs/test69.png
Binary file modified tests/auto/imgs/test7.png
Binary file modified tests/auto/imgs/test70.png
Binary file modified tests/auto/imgs/test71.png
Binary file modified tests/auto/imgs/test72.png
Binary file modified tests/auto/imgs/test73.png
Binary file modified tests/auto/imgs/test74.png
Binary file modified tests/auto/imgs/test75.png
Binary file modified tests/auto/imgs/test77.png
Binary file modified tests/auto/imgs/test78.png
Binary file modified tests/auto/imgs/test79.png
Binary file modified tests/auto/imgs/test8.png
Binary file modified tests/auto/imgs/test80.png
Binary file modified tests/auto/imgs/test81.png
Binary file modified tests/auto/imgs/test82.png
Binary file modified tests/auto/imgs/test83.png
Binary file modified tests/auto/imgs/test84.png
Binary file modified tests/auto/imgs/test85.png
Binary file modified tests/auto/imgs/test86.png
Binary file modified tests/auto/imgs/test87.png
Binary file modified tests/auto/imgs/test88.png
Binary file modified tests/auto/imgs/test89.png
Binary file modified tests/auto/imgs/test9.png
Binary file modified tests/auto/imgs/test90.png
Binary file modified tests/auto/imgs/test91.png
Binary file modified tests/auto/imgs/test92.png
Binary file modified tests/auto/imgs/test93.png
Binary file modified tests/auto/imgs/test94.png
Binary file modified tests/auto/imgs/test95.png
Binary file modified tests/auto/imgs/test96.png
Binary file modified tests/auto/imgs/test97.png
Binary file modified tests/auto/imgs/test98.png
Binary file modified tests/auto/imgs/test99.png
Binary file modified tests/auto/imgs/testAddModelGRO.png
Binary file modified tests/auto/imgs/testAddModelPDB.png
Binary file modified tests/auto/imgs/testAddModelPQR.png
Binary file modified tests/auto/imgs/testAllenes.png
Binary file modified tests/auto/imgs/testBallAndStick.png
Binary file modified tests/auto/imgs/testBounding.png
Binary file modified tests/auto/imgs/testComplexSelection.png
Binary file modified tests/auto/imgs/testLastModel.png
Binary file modified tests/auto/imgs/testMMTFstring.png
Binary file modified tests/auto/imgs/testTranslate.png
Binary file modified tests/auto/imgs/testV2000.png
Binary file modified tests/auto/imgs/testV3000.png
Binary file modified tests/auto/imgs/testVolumetricRender.png
Binary file modified tests/auto/imgs/testVolumetricRenderBasic.png
Binary file modified tests/auto/imgs/testVolumetricRenderCorners.png
Binary file modified tests/auto/imgs/testVolumetricRenderRod.png
Binary file removed tests/auto/imgs/testVolumetricRenderSolic.png
Diff not rendered.
Binary file modified tests/auto/imgs/testVolumetricRenderSolid.png
Binary file modified tests/auto/imgs/testWireframeShapes.png
Binary file modified tests/auto/imgs/test_ccp4.png
Binary file modified tests/auto/imgs/test_defaultcolors.png
Binary file modified tests/auto/imgs/test_isosurface_coords.png
Binary file modified tests/auto/imgs/testvibratearrows.png
Binary file modified tests/auto/imgs/testvibrateboth.png
6 changes: 4 additions & 2 deletions tests/auto/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $(document).ready(function(){
function createRow(key){

var tr = $('<tr class="examplerow">').prop('id',key+"_row");
$('<td class="label">').appendTo(tr).append('<p>'+key+'</p>');
$('<td class="label">').appendTo(tr).append('<a class="testname">'+key+'</a>');
$('<td class="rendered">').appendTo(tr);
$('<td class="reference">').appendTo(tr).append('<img src="imgs/'+key+'.png">');
$('<td class="difference">').appendTo(tr);
Expand Down Expand Up @@ -177,14 +177,16 @@ $(document).ready(function(){
var canvas=viewer.getCanvas(); //$("canvas#"+key).get(0);
//creates an image for the canvas
var canvasImageData = imageFromWebGlCanvas(canvas);
var canvasImage=$("<img class='renderedImage'>").attr('src',canvasImageData);
var canvasImage=$("<img name="+key+" class='renderedImage'>").attr('src',canvasImageData);

//click event for canvas
canvasImage.click(function(){
var win = window.open();
win.location="generate_test.cgi?test="+key;
});
tableRow.find('.rendered').append(canvasImage);
tableRow.find('a.testname').attr('href',canvasImageData);
tableRow.find('a.testname').attr('download',key+".png");

var differenceImage=$('<img>');
var differ=0;
Expand Down

0 comments on commit 468b2c4

Please sign in to comment.