home *** CD-ROM | disk | FTP | other *** search
-
- ╔══════════════════════════════════════════════════════════════════════════╗
- ║ ║
- ║ ISoft D&M ║
- ║ POB. 5517 ║
- ║ Coralville IA 52241 ║
- ║ U.S.A ║
- ║ ║
- ╚══════════════════════════════════════════════════════════════════════════╝
-
- *******************************************************************************
- * 3dC DOCUMENTATION *
- * M3D macro translator to Turbo Pascal Source. V1.1 *
- * Last Update : Mar. 19, 1992. *
- *******************************************************************************
-
- INTRODUCTION
- ------------
-
-
- 3dC is a translator that converts 3D animation macros (M3D files) into
- Turbo Pascal 6.0 source programs that can be used with the 3dLIB package
- to create 3D animation executables, or 3D animation procedures that can
- be implemented in your programs.
-
- M3D macro programs can be animated for test purposes using the ISoft D&M
- distributed 3D111 package, You can use 3DC to create animated programs
- without this package.
-
- Please notice : older versions of the 3D program that were distributed as
- 3D100 and 3D110 packages are supported, but a small change in the macro
- language exist in the GOTO command, that uses ',' to separate arguments,
- while the older versions used only spaces, that could cause improper
- translation when negative arguments were passed.
-
- USAGE
- -----
-
- At the command line type
-
- 3DC input.m3d [output.pas]
-
- Where input.m3d is the name of the input macro language.
-
- If no output name is specified 3DC creates a pascal source file called
- 3DPAS.PAS .
-
- To compile the generated source file use Turbo Pascal 6.0 with the following
- command :
-
- TPC /M source.pas
-
- Be sure that the compiler can find the GRAPH.TPU file supplied with
- Turbo Pascal.
-
- To run the executable created type it's name in the command line,
- and be sure that the required graphic .BGI file is in the current
- directory. (please refer to your Turbo Pascal manual about your .BGI file).
-
- More documentation regarding consideration of macro language translation is
- supplied for registered users of 3dLIB, in a printed manual.
-
- MACRO LANGUAGE
- --------------
-
- The following commands are supported by the 3DC translator in the 3D Macro
- language :
-
- c - Clear Screen .
- w - set Color to White.
- b - set Color to Black.
- p - Paint Active object in last color.
- o0 - set Perspective off.
- o1 - set Perspective on.
- >x - Start a loop to be performed x times.
- lfl - Load simple object from file fl into the active object.
- Lfl - Load complex object from file fl into the active object.
- rad - Rotate Active Element In axis a, d degrees.
- ex - Choose Active Element x.
- mas - Move in a axis, s steps.
- gx,y,z - Goto 3d pos x,y,z.
- saf - Scale a axis in f factor.
- v0..v9 variable names.
- < - End Loop.
- \ - End line.
- z - set object to center.
- Rsad - rotate a sub object of a complex object
- around axis a, d degrees.
- Msas - move a sub object of a complex object
- in axis a, s steps.
- Ssaf - scale a sub object of a complex object
- around axis a, by a factor of f.
-
-
-
- Special Notes : a number must end with a space character.
- Loops can be nested 10 levels deep in the 3D111 package,
- but 3DC can translate even more levels that.
-
- any numeric expressions requested can be
- given with a normal infix notation, for
- example :
-
- rx30 * v1 + 2
-
- will rotate the current active object
- around the x axis, by 2 plus 30 * v1
- degrees, where v1 is a variable.
-
- General
- -------
-
- 3dLIB is distributed by ISoft D&M, P.O.B. 5517 CORALVILLE IA 52241, U.S.A.
-
- 3dLIB is (c) copyrighted by Loewy Ron, 1991, 92.
-
- 3dLIB is a shareware package, please register your copy.
- To register your copy of 3dLIB please refer to the supplied
- 3DLIB.REG file.
-
- Other programs distributed by ISoft D&M are described in the supplied
- PROGRAMS.TXT file.
-
- Contact
- -------
-
- Please contact :
-
- ISoft D&M,
- P.O.B 5517
- Coralville IA 52241,
- U.S.A
-
- Credits
- -------
-
- 3dLIB and 3dC were written using Turbo-Pascal V6.0, a copyright of
- Borland International.
-