From 7b79c25ccf3f800f0f5077f3faabded9b7542f35 Mon Sep 17 00:00:00 2001 From: David Koes Date: Thu, 7 Nov 2024 22:13:44 -0500 Subject: [PATCH] ortho test --- tests/auto/tests/orthotest.js | 7 +++++++ ...ests-glcheck-render-tests-orthotest.html.png | Bin 0 -> 22018 bytes 2 files changed, 7 insertions(+) create mode 100644 tests/auto/tests/orthotest.js create mode 100644 tests/glcheck/reference-images/tests-glcheck-render-tests-orthotest.html.png diff --git a/tests/auto/tests/orthotest.js b/tests/auto/tests/orthotest.js new file mode 100644 index 00000000..6677d935 --- /dev/null +++ b/tests/auto/tests/orthotest.js @@ -0,0 +1,7 @@ +viewer.setCameraParameters({orthographic:true,fov: 60}); +viewer.addModel("2\n\nO 0 0 0\nC 1.5 0 0\n","xyz"); +viewer.setStyle({stick:{radius:0.2}}); +viewer.zoomTo({serial:1}); +viewer.zoom(8); +//viewer.rotate(60,"y"); +viewer.render(); diff --git a/tests/glcheck/reference-images/tests-glcheck-render-tests-orthotest.html.png b/tests/glcheck/reference-images/tests-glcheck-render-tests-orthotest.html.png new file mode 100644 index 0000000000000000000000000000000000000000..8ac27d98efe4e00a5ef59262ad71efd968679f54 GIT binary patch literal 22018 zcmeHvi96KY|NhJ{j4iT+#EiYP*b0vrV~Ht6iRj5rixygxZOjZ=QZhqDrO>0uQbQ{H zlD&r_BC&E7220cR;D# zK6GrmxS*P~kHa}E;sL+veci1sYVQ4;@=if z80^+>e_g-c45JT)K9_$N@t&=J|?@j*<0({Ya7z6RM zzJ&T`5a42diEICB4v9DegJJd0^KJfn;NTh*@gd*;W`fu&C4qT-OySo5W&(xQZ~I?! zOvWQ3q$B=2=0DdUP-FjT4*SH04ZN{I{w1jm zC^n$j$RPh_*9|B(pa61iLt_0ab2p&afMTNt`KRF8D98SlOB+yZK*94IHvEcz{htje zHlWxr^!~A!HoVP$mE->v6wR>ln(ALvWZE^xN3X72C$EM-A8_dx8g9cE|M)G!M>cqw z7F%v-w}1Mr5B;z>{}yE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