home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
2294
/
DOC
/
MANUAL.US
next >
Wrap
Text File
|
1993-10-07
|
5KB
|
137 lines
*****************************************
* User Manual of *
* *
* BMORPH *
* *
* by Benoît HOZJAN *
*****************************************
INTRODUCTION
Bmorph works in VESA 640 x 400 256 colors, so you need to use a
VESA TSR to use it. You must use the Logitech 6.2 mouse driver too.
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 BMorph on your HD (for example C: and A:)
Make a directory C:\>MD BMORPH
Change directory C:\>CD BMORPH
Copy the floppy disk C:\BMORPH>XCOPY A:*.* C:\BMORPH /E /S
Install the right VESA TSR driver in your AUTOEXEC.BAT
Install the Logitech 6.2 Mouse drivers in your AUTOEXEC.BAT after the
VESA driver.
II - How to launch BMorph.
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 PHOTO1 PHOTO2 15 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 PHOTO1 PHOTO2 15 SAVE 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 BMorph.
As soon as the program will be launched, the screen turn on 640 x 400
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
A part of calculation uses integers instead of reals. The result is
displayed progressively.
Speed test for the morphing makes with DEMO.BAT :
2'50'' on a 386 SX 33
2'33'' on a 386 DX 25
1'53'' on a 386 DX 33
40'' on a 486 DX 66
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.
ANNEXES
A - Bugs
A bad grid can generate a bug.
B - Evolutions
correcting bugs
C - Registration
For 10$ or more, you will receive :
Sources of BMorph
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