LIBRARY
BACK TO TUTORIALS SECTION
How to make a movie in FLEDERMAUS
1. smooth the movie if you want (optional)
smoother -in try.mov -out try_smooth.mov -fskip 200
2. Generate individual movie frames
movieclient -scene input.scene -movie try_smooth.mov &
3. If your movie is long you will need to create movie subparts and then combine everything together.
# # Separate files into diferent directories # mkdir temp_part0 mkdir temp_part1 mkdir temp_part2 mkdir temp_part3 mv mv0* temp_part0 mv mv1* temp_part1 mv mv2* temp_part2 mv mv3* temp_part3 # cd temp_part0 makemovie -f qt -c jpeg -o try_part0.qt mv0* cd ../temp_part1 makemovie -f qt -c jpeg -o try_part1.qt mv1* cd ../temp_part2 makemovie -f qt -c jpeg -o try_part2.qt mv2* cd ../temp_part3 makemovie -f qt -c jpeg -o try_part3.qt mv2* cd .. # # Now combine bits together # mv t*/*qt . makemovie -o try.qt -c jpeg \try_part0.qt try_part1.qt try_part2.qt
mkvimage & mkgeoimage
The commands "mkvimage" and "mkgeoimage" are IVS command line programs so they do not have a man page. For information about them you use the "-h" flag [see below].
mkvimage -h
Usage: mkvimage < -in> [ -out ] < -start xval yval > < -end xval yval > < -zrange zmin zmax > [ -h ]
This program takes as input an image file that represents a vertically oriented image plane (for example a seismic rendering) of a dataset along with the starting and ending geographic location and z-range. It then creates an sd file representing a vertical slice in the 3D scene.
mkgeoimage -h
Usage: mkgeoimage < -in> < -out > [ -mask ] [ -bounds ] [ -h ]
This program takes as input an image file in any of the formats supported by the system and then outputs an sd file containing the image and geo-referencing information. If the image contains geo-coding information such as a geotif this will be read automatically and need not be specified via the -bounds option. If bounds are provided then these bounds will always override any contained with the image itself. The -mask option specifies an image file used to mask parts of the image as transparent. For all pixels in the mask image which are black, the alpha value of the image pixels will be set to clear.
- For vertical images use mkvimage
- For horizontal images use mkgeoimage
mkvimage -in pljunk.tif -out xsec1.sd -start -120.587 36.032 -end -120.501 35.949 -zrange -10000 0 mkvimage -in pljunk2.tif -out xsec2.sd -start -120.655 35.986 -end -120.519 36.078 -zrange -10000 0 mkvimage -in pljunk3.tif -out xsec3.sd -start -120.569 35.903 -end -120.433 35.996 -zrange -10000 0 mkvimage -in pljunk3.tif -out xsec4.sd -start -120.612 35.944 -end -120.476 36.037 -zrange -10000 0 mkgeoimage -in pljunk.tif -out xsec_flat.sd -bounds -120.655 -120.433 35.903 36.078
mkpoint3d
The command "mkpoint3d" is an IVS command line program so it does not have a man page. For information about it you use the "-h" flag [see below].
mkpoint3d -h
Usage: mkpoint3d < -in> [ -type ] [ -format ] [ -bounds ] [ -zrange ] [ -attrange ] [ -cmap ] [ -out ] [ -info ] [ -h ]
This program produces an SD file to visualize xyz point data from an input file. The input file is usually ascii xyz or multivariate data but any format supported by avggrid can also be read. Textual labels are only supported from ascii files at the end of each line and are read automatically if they exist.
- -type is used to specify the data type of the source data file.
- -format lets you specify the variable list for ascii files.You can use this to name the variables, invert them (by adding a -ve sign in front of them) and specify which variables are to be used for the x,y, and z coordinates. If multiple attributes exist, use the name "color" to indicate which one to used when coloring the data.
- -bounds lets you specify the region to convert. Any data outside the specified region is excluded.
- -zrange gives the bounds for the z coordinate. Data outside bounds will be excluded.
- -attbounds gives the bounds for the attribute. Attributes outside the range will be clamped to the range.
- -out specifies the sd file to be created.
- -cmap optionally lets you specify a color map to be used with the visualization instead of the default.
Finally the -info argument simply displays a summary of the input file.
Here is an example of making an sd file with a lat_lon_location file:
mkpoint3d -in towns_CA.dat -type ascii -format "x y" -out towns_CA.sd
where the input file 'towns_CA.dat' looks like this:
-118.242783 34.052219 "Los Angeles" -117.156387 32.715279 "San Diego" -122.418327 37.775002 "San Francisco" -121.893890 37.339439 "San Jose" -119.697220 34.420830 "Santa Barbara" -121.493332 38.581669 "Sacramento"
Another useful feature of this application is the ability to only use a subset of the data using the -bounds flag
mkpoint3d -in file.dat -type ascii -format "y x z color" -bounds -117.94 -117.82 35.96 36.07 -out coso.sd
Warning: main(/Volumes/web/siovizcenterinc/googleSearch.html) [function.main]: failed to open stream: No such file or directory in /Volumes/web/siovizcenter/library/tutorials/fledermaus.php on line 231
Fatal error: main() [function.require]: Failed opening required '/Volumes/web/siovizcenterinc/googleSearch.html' (include_path='.:') in /Volumes/web/siovizcenter/library/tutorials/fledermaus.php on line 231
