setenv LD_LIBRARY_PATH .:../bin/${HOSTTYPE}
setenv PATH ../bin/${HOSTTYPE}:$PATH

setenv LD_LIBRARY_PATH .:../bin/${HOSTTYPE}:$LD_LIBRARY_PATH

pose-gun | renderer-test -o ../models/obj/car.smooth.obj
pose-gun | renderer-test -o ../models/obj/car-cent.obj


cyberware-to-pnl -c -r 10 -z "-150" -Z 50 ../data/ron/ron-depth.wpgm ../models/ron.pnl
cyberware-to-pnl -c -r 10 -z "-150" -Z 50 -a ../data/ron/ron.color.pgm ../data/ron/ron-depth.wpgm ../models/ron-a.pnl

cyberware-to-pnl -c -s 100 -a ../data/ron/ron.color.pgm ../data/ron/ron-depth.wpgm ../models/ron-sphere-a.pnl



pose-gun | view-pn-list ../models/ron.pnl

make-box-pn-list 110 100 ../models/cube.pnl



../bin/${HOSTTYPE}/pose-gun | view-pn-list -a ../models/ron-a.pnl
../bin/${HOSTTYPE}/pose-gun | view-pn-list -a ../models/ron-sphere-a.pnl

../bin/${HOSTTYPE}/pose-gun | renderer-test ../models/ron.pnl

../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/car.smooth.obj
../bin/sun4/pose-gun | renderer-test -o ../models/obj/car.smooth.obj
../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/car3.decimated.obj

../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/tiny.obj
../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/tiny-c.obj
../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/niceskull.obj
../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/niceskull-c.obj
../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/skull.obj
../bin/${HOSTTYPE}/pose-gun | renderer-test -o ../models/obj/skull-c.obj


../bin/${HOSTTYPE}/pose-gun | renderer-test -o  -r 240 -c 360 -x 0.01868440277778 -y 0.02012083333334 -f 12.971693 ../models/obj/tiny-c.obj




# display the skull over an image and jockey it in for start pose
../bin/${HOSTTYPE}/pose-gun | renderer-test -o  -r 240 -c 360 -x 0.01868440277778 -y 0.02012083333334 -f 12.971693 -d ../data/skull-hs1-l01.pgm ../models/obj/tiny-c.obj

pretty good:
<pose <m3x1 	-6 -47 1080 > <Q 0.907674 -0.24321 -0.330366 -0.0885213>>



# make a synthetic image
echo "<pose <m3x1 	-6 -47 1080 > <Q 0.907674 -0.24321 -0.330366 -0.0885213>>" | renderer-test -o  -r 240 -c 360 -x 0.01868440277778 -y 0.02012083333334 -f 12.971693 -d ../data/skull-hs1-l01.pgm ../models/obj/tiny-c.obj

#---------------------------------------------------------------------------
# try "live" setup...
../bin/${HOSTTYPE}/pose-gun | renderer-test -o  -r 243 -c 323 -x 0.02 -y 0.02 -f 12.971693 -d ../data/skull-new.pgm ../models/obj/tiny-c.obj

<pose <m3x1 	-50 -38 940 > <Q 0.995247 0.0870728 0.00380168 0.0434534>>

# probing was looking bad... try the car...


../bin/${HOSTTYPE}/pose-gun | renderer-test -o  -r 243 -c 323 -x 0.02 -y 0.02 -f 12.971693 -d ../data/car.pgm ../models/obj/car-cent.obj

<pose <m3x1 	-18 -19 1390 > <Q 0.834726 0.202973 0.496748 0.123594>>
