File: example7.script

package info (click to toggle)
raster3d 3.0-3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,916 kB
  • ctags: 1,557
  • sloc: fortran: 9,536; ansic: 1,060; makefile: 318; sh: 250; csh: 15
file content (23 lines) | stat: -rwxr-xr-x 752 bytes parent folder | download | duplicates (4)
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 4
#
stereo3d -labels -fontscale 2.0 -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...."
#