File: example7.script

package info (click to toggle)
raster3d 3.0-2-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,988 kB
  • sloc: fortran: 10,785; ansic: 1,057; makefile: 317; sh: 252; csh: 15
file content (23 lines) | stat: -rwxr-xr-x 729 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
#
# Example 7
#
# Labels in stereo using the label3d and stereo3d scripts
# Note: I use some fancy fonts in the example just for fun;
# if you don't have these fonts installed it should still work
# but the titles might be a bit ugly.
#
#
display example7.jpeg&
echo "This is what you should get in a minute or so."
echo "I used some fancy fonts just for fun; if you don't have"
echo "these fonts installed, your labels may look a bit different."
#
sleep 8
#
stereo3d -png < example7.r3d | display -resize 50% png:- &
#
echo "Using the stereo3d script to process labels into a stereo pair"
echo "This may take a minute, because ghostscript is slow,"
echo "and the ImageMagick montage command isn't fast either...."
#