home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 14
/
CD_ASCQ_14_0694.iso
/
maj
/
2294
/
doc
/
manual.us
< prev
next >
Wrap
Text File
|
1994-03-27
|
6KB
|
148 lines
*****************************************
* User Manual of *
* *
* BMORPH2 *
* *
* by Benoît HOZJAN *
*****************************************
INTRODUCTION
Bmorph2 works in VESA 640 x 400 (or 480) 256 colors, so you need to
use a VESA TSR to use it.
You must use 320 x 200 gray-scale pictures.
This software has been written in Turbo Pascal with ASM video
routines.
I - How to Install BMorph2 on your HD (for example C: and A:)
Make a directory C:\>MD BMORPH2
Change directory C:\>CD BMORPH2
Copy the floppy disk C:\BMORPH2>XCOPY A:*.* C:\BMORPH2 /E /S
Install the right VESA TSR driver in your AUTOEXEC.BAT
UNIVESA detects many video cards. See VESA directory
to load it.
TESTVESA test if the driver is correct.
II - How to launch BMorph2.
The command line needs to have 4 or 5 parameters :
Parameter n°1 : Name of the initial photo file
Parameter n°2 : Name of the final photo file
Parameter n°3 : Number of frame
Parameter n°4 : Name of the save file
Parameter n°5 : Name of the grid file [optionnal]
Example 1 :
BMORPH BMP\PHOTO1 BMP\PHOTO2 15 ANIM\SAVE
This line will launch a morphing between PHOTO1.BMP and PHOTO2.BMP
with 15 frames and the result will be stored to a SAVE.BEN file.
Example 2 :
BMORPH BMP\PHOTO1 BMP\PHOTO2 15 ANIM\SAVE GRI\PHOTO1-2
Idem but a grid of control will be loaded. The grid file PHOTO1-2.GRI
must exist.
III - Different files.
Extensions are forbidden for all files of the command line.
They must be :
BMP for a pictures file
GRI for a grid file
The animation will be with a BEN extension.
Sources' photos must be in BMP uncompressed (RGB encoded)
format. It is in fact a screen copy. There are as many bytes as pixels on the
screen. For a 320 x 200 256 color picture, the size of such a file is
65078 bytes.
IV - How to use BMorph2.
As soon as the program will be launched, the screen turn on 640 x 400
(or 480) 256 colors video mode and the two photos are displayed on the top of
the screen.
After, the two grids are displayed. In case of the 5th parameter does
not exist, the grid will be regular, or else the grid will be modified.
Some information are displayed on the bottom of the screen.
You can now modify the grid by using your mouse. You must try to
follow as good as possible features.
Click on a point and drag it to the new position.
Press a key to begin the morphing. If you did not give a name to
the grid file, your modified grid will be stored in a default file called
SAVE.GRI. Otherwise, your grid will be saved in the same file where it was
loaded.
V - Calculation (Version 2.0)
A part of calculation uses integers instead of reals. The result is
displayed progressively.
Speed test for the morphing makes with DEMO.BAT :
Basic quality Best quality
On a 386 SX 33 2'50''
On a 386 DX 25 2'33''
On a 386 DX 33 1'53'' 2'29''
On a 386 DX 40 1'38'' 1'57''
On a 486 DX 33 1'10'' 1'26''
On a 486 DX 66 40'' 46''
Speed test for FBmorph (which needs a fcpu) :
1'56'' on a 386 DX 25
1'26'' on a 386 DX 33
30'' on a 486 DX 66
VI - How to see the result.
You must use the ANIM_BEN.EXE program to show an animation file. For
example, to show the SAVE.BEN file, you must type the following command
line :
ANIM_BEN SAVE
I would advise to use memory cache as SMARTDRV.EXE because it is
faster.
You can use a new option to see it in SVGA 640x400 mode :
ANIM_BEN SAVE SVGA
The ANIM.EXE program do the same thing as ANIM_BEN except that it
use EMS memory.
ANIM SAVE.BEN
ANNEXES
A - Bugs
A bad grid can generate a bug. See Historic.txt file for more
informations.
B - Evolutions
correcting bugs
C - Registration
For US $20 or more, you will receive :
Sources of BMorph2
Sources of ANIM_BEN
Sources of VOIR_BMP which displays 320 x 200 BMP files
Program DEFORME which makes caricatures with 320 x 200
BMP files in colors.
Latest versions and FBMorph which needs a coprocessor.
A fascicule which explains how BMorph makes morphing.
And especially my everlasting gratitude !
Sincerely.
Benoît HOZJAN
33 Route de Vallan
89000 AUXERRE
FRANCE