home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!dedmunds
- From: dedmunds@selkirk.sfu.ca (Darran Edmundson)
- Subject: write me a TV interface
- Message-ID: <dedmunds.722413771@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- Date: Sun, 22 Nov 1992 06:29:31 GMT
- Lines: 74
-
- Some time ago I wrote a code in TP5.5 for creating .fli animations from
- raw binary files. All the pertinent parameters are currently constants
- in the header of my source so that I change their values and recompile
- before running.
-
- Could I entice someone to write a TV front end for my code? Basically
- it would be a simple menu for setting these parameter values (which
- would now become global variables).
-
- Here are my current constants to give you some idea:
-
- fli_color= 11;
- fli_lc= 12;
- fli_black= 13;
- fli_brun= 15;
- fli_copy= 16;
-
-
- { raw data file have the name format concat(file_body, index, "-",
- number, file_ext) where index and number are string versions of indexing
- integers. The sequence starts at number first_file and then increments
- by file_step (example: v3-151.bin is the 151st image of the 3rd view).}
-
- file_body= 'v';
- file_ext= '.bin';
- first_file= 1;
- file_step= 1;
-
- views= 1;
- output_file= 'dskc-23.fli';
- color_file= 'colors.map';
- mplot_xt_file= 'm2-xt.grd';
- mplot_x3_file= 'm2-x3.grd';
-
- colres= 320;
- rowres= 200;
- magic= 44817;
- frames= 50;
- speed= 8;
-
- mplot_xt= true; { plot xt momentum from mplot_xt_file }
- mxwidth_xt= 128;
- mywidth_xt= 43;
- mxoff_xt= 110;
- myoff_xt= 111;
- mfile_xt_block= 14;
-
- mplot_x3= false; { plot x3 momentum from mplot_x3_file }
- mxwidth_x3= 43;
- mywidth_x3= 64;
- mxoff_x3= 45;
- myoff_x3= 29;
- mfile_x3_block= 8;
-
- mposcolor= 35;
- mnegcolor= 175;
- mlinecolor= 50;
-
- fli_buffer_size= 32768; { 32kb flush buffer for output file }
- no_compress_size= 64000; { a raw copy, no compression }
- bad_compress= 60000;
- frame_header_size= 16;
- color_chunk_size= 778;
- chunk_header_size= 6;
- line_compress= true;
- border= true;
- border_color= 50;
-
-
- --
-
- Darran Edmundson
- darran@chaos.phys.sfu.ca
-
-