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 (4 years, 5 months ago) by glk
File size: 656 byte(s)
isosurfaces of vector magnitude
#!/bin/bash

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

set -o errexit
set -o nounset

JUNK=""
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

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0