#!/bin/csh -f

if ( ! $?IRIT_LCLDISP ) then
    if ( $?IRIT_DISPLAY ) then
	setenv IRIT_LCLDISP `echo $IRIT_DISPLAY | sed -e 's/-s-//'`
    else
	setenv IRIT_LCLDISP x11drvs
    endif
endif

echo Using "$IRIT_LCLDISP" to display test results.

poly3d-h -z
poly3d-h -b -m cube.dat > cube.hdn
poly3d-h -m -H -q solid1.dat > solid1.hdn
poly3d-h -b -m solid3.dat > solid3.hdn
poly3d-h -b -m -o cone-cyl.hdn cone-cyl.dat
poly3d-h -F 22 0.01 -4 -H saddle.dat > saddle.hdn
poly3d-h -F 0 30 -e 2 -q -4- - < wiggle.dat > wiggle.hdn
poly3d-h -q- -F 0 20 -W 0.01 ../filters/test.dat > filttest.hdn

$IRIT_LCLDISP cube.hdn
$IRIT_LCLDISP solid1.hdn
$IRIT_LCLDISP solid3.hdn
$IRIT_LCLDISP cone-cyl.hdn
$IRIT_LCLDISP saddle.hdn
$IRIT_LCLDISP wiggle.hdn
$IRIT_LCLDISP filttest.hdn
