home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
graphics
/
dna095.arj
/
DNA.DOC
< prev
next >
Wrap
Text File
|
1994-01-11
|
4KB
|
115 lines
DNA v0.95 (01/11/94)
Copyright (c) 1994 by Robert Bryerton
CIS[73747,433] GRAPHDEV forum
This program is freely distributable.
----------INTRODUCTION
DNA is a small utility used for creating twisted ladder-shaped objects
(like a strand of DNA) . The generated output files can then be used
as an input file for the POV-Ray v2.x or PolyRay v1.6 raytracers.
----------HARDWARE REQUIREMENTS
80286 or higher, with or without a math coprocessor.
----------FILES INCLUDED
DNA.DOC This file
DNA.EXE DOS executable program
DNA.MAK MS C++ v8.00 (MSVC v1.0) make file
DNA_v095.CPP Source code
----------PROGRAM USAGE
Just type DNA at the DOS prompt and either enter the parameters required
or hit <ENTER> to accept the defaults. The parameters are defined as
follows with the defaults show in brackets:
Output filename? [DNA.INC]:
Enter the output file name for the include (.INC) file. A basic scene
file will be generated with the same name, but with a '.POV' or '.PI'
extension, depending on the output format (CL switch -o...see below).
EXAMPLE: You enter SCENE and the program will write SCENE.INC
(the object definition/declaration) and SCENE.POV
(a basic scene file with a light, camera, texture,
and the object).
Union name? [DNA]:
The name of the #declared #include object.
Height (Y units) of object [50.0]:
Specify the overall height ( from <0,0,0> ) of the object.
Radius (X-Z) of object [10.0]:
This is the radius of the overall object.
Steps per revolution [30]:
This specifies the number of points to be plotted for each 360 degree
revolution of the object. A higher number will give a smoother
appearance to the DNA strand.
Connect every X steps [3]:
This connects the two spirals together (like rungs of a ladder) for
every 'X' steps plotted.
EXAMPLE: If you accept the default value of 3, then a connector will be
written at points 3, 6, 9, 12, etc.
Number of revolutions [1]:
The number of 360 degree revolutions that the spirals will make.
----------COMMAND LINE PARAMETERS
Usage: DNA [options]
Options: -f# Where # is the option to set the following flags...
0= Write complete object. (default)
1= Do NOT write connectors.
2= Write horizontal connectors ONLY.
3= Write only one spiral.
4= Write only one spiral but do NOT write connectors.
-o Output format. Choices are...
P= POV-Ray v2.x (default -oP)
L= PolyRay v1.6 (-oL)
Type DNA with no parameters to accept the default options.
----------TIMING INFO
The time shown below is for rendering the default object. The image
was rendered on a 486/50 DX2 with 8 Mb, using POV-Ray 2.1 (ibmicb) and
PolyRay v1.6a. Image size was 320x240.
POV-Ray v2.1 00:00:41
PolyRay v1.6a 00:00:35
----------COPYRIGHT STATEMENT
DNA.EXE is a freely distributable program. There is no charge or
registration fee associated with the use of DNA.EXE.
The author retains the copyright to the program and authorizes free
distribution, but makes no guarantees or warranties with this program and
claims no responsibility for any damages or losses incurred through use
of this program.
---------MISC.
DNA.EXE v0.95 is written in MS C++ v8.00 (MSVC v1.0).
If you have any questions, comments, suggestions, or otherwise, please let
me know as I would like to hear them and incorporate any ideas into a newer
version.
Enjoy !
Rob Bryerton
CIS[73747,433] GRAPHDEV forum