Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/charisee/ertest/vispaper/vmiso2d/go-fsamp.sh
ViewVC logotype

View of /branches/charisee/ertest/vispaper/vmiso2d/go-fsamp.sh

Parent Directory Parent Directory | Revision Log Revision Log

Revision 2894 - (download) (as text) (annotate)
Fri Feb 27 17:31:40 2015 UTC (6 years, 2 months ago) by glk
File size: 656 byte(s)
isosurfaces of vector magnitude

DDRO="$DDRO_HOME/branches/vis12/bin/diderotc --target=c"

set -o errexit
set -o nounset

function junk {
  JUNK="$JUNK $@"
function cleanup {
  rm -rf $JUNK
trap cleanup err exit int term

$DDRO --exec fsamp.diderot; junk fsamp{,.c,.o,.h}

./fsamp -theta 0 -size0 80 -size1 80 &> vv.nhdr; junk vv.{nrrd,nhdr}
unu save -f nrrd -i vv.nhdr -o vec0.nrrd

./fsamp -theta 0 -size0 20 -size1 40 &> vv.nhdr
unu save -f nrrd -i vv.nhdr -o vec1.nrrd

./fsamp -theta 1 -size0 20 -size1 40 &> vv.nhdr
unu save -f nrrd -i vv.nhdr -o vec2.nrrd

./fsamp -theta 1 -shear 0.2 -size0 20 -size1 40 &> vv.nhdr
unu save -f nrrd -i vv.nhdr -o vec3.nrrd

ViewVC Help
Powered by ViewVC 1.0.0