File indexing completed on 2026-04-09 07:49:01
0001
0002 usage(){ cat << EOU
0003 CSGOptiXRenderTest.sh using tests/CSGOptiXRenderTest.py
0004 ==============================================================
0005
0006 tests/CSGOptiXRenderTest.py
0007
0008 1. loads the frame isects (4x4 quad4 for every pixel) written by the last run of
0009 the CSGOptiXRenderTest (which is used by cxr scripts including cxr_geochain.sh)
0010
0011 2. selects a region of the frame isects specified by DYDX envvar and saves to
0012
0013 DYDX=1,1 (3x3 pixels in middle)
0014 DYDX=2,2 (5x5 pixels in middle)
0015 DYDX=3,3 (7x7 pixels in middle)
0016
0017 3. saves the selected isects to paths
0018 /tmp/$USER/opticks/CSGOptiX/CSGOptiXRenderTest/dy_1_dx_1.npy
0019
0020
0021 4. subsequently can use CSG/tests/CSGQueryTest.cc CSG/CSGQueryTest.sh with YX envvar
0022 to load the selected pixel intersects and rerun them
0023
0024
0025 EOU
0026 }
0027
0028 ${IPYTHON:-ipython} -i tests/CSGOptiXRenderTest.py
0029