home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
ACAD
/
OBJRP2.ZIP
/
OBJ_REP.DAT
< prev
next >
Wrap
Text File
|
1994-02-13
|
5KB
|
151 lines
#######################################
Object Replicator for Windows
Version 1.0
02/13/94 John Kolesar
Compuserve ID: 70511,3007
#######################################
This is a quick POV 2.0 scene generator for creating multiple copies of an
object you already have defined, and translates them randomly in an area you
define. It can also add random Rotation, Pigment color and Size.
Did you ever create an object and want to use multiple instances of it in
your scene, but dreaded typing in all the repeating code necessary?
Especially if you wanted them each to have different colors, rotations etc.
Now you can see what your object looks like scattered all over the place, and
have many different colors, sizes and rotations, with little or NO typing of
code!
All you need is an include file containing your declared object with
texture (Replicator won't create any textures for you...yet). You don't even
need a camera, light_sources, floors etc. There's a file BASIC.POV included
that Object Replicator can add to. Don't modify it though, so Replicator
always has a clean default file. Modify a copy of the file if you want to
use it. The basic scene file has a camera, 2 light_sources, a floor
(checker of course), and a sky sphere. The scene is set up for Replicator's
Area Limits defaults and Random Object Sizes defaults. Its best if your
object is scaled to <1.0, 1.0, 1.0>, so the screen won't be TOO cluttered.
If you want to use your own scene file, you can have Replicator append its
output to it. Just make sure the declared object (with texture) is in your
file somewhere (or in an include file off of yours).
QuickStart:
===========
If you don't have a file to append to:
------------------------------------------------
Select the 'Create' option.
Rename the 'Filename to Create' if you need to.
Select your 'Include Filename' using the menu or double-click in the box.
Type the Object's name in the box to Replicate.
Type the # of Replications in the box (test it with 10 or 20 first).
Use Defaults for everything else.
Click the 'Replicate!' button.
Render your scene.
Say WOW, that was easy...
If you do have a file to append to:
---------------------------------------------
Select the 'Append' option.
Select your 'Append to' file using the menu or double-click in the box.
Type the Object's name in the box to Replicate.
Type the # of Replications in the box (test it with 10 or 20 first).
Set the Area Limits to where your camera is looking at.
Use Defaults for everything else.
Click the 'Replicate!' button.
Render your scene.
Say WOW, that was easy too...
Some guidelines to follow:
==========================
When you type in additional Texture modifiers in the box within Replicator,
you can put anything in that box that you would normally put inside:
texture{.....}. (Don't actually type the 'texture' keyword or its
braces '{}' in the box, Replicator will do that for you).
If you don't want random colors, you can choose the color for all
Replications. For now, you are limited to the color choices in the color
pick-list. There are 100 of the colors defined in the COLORS.INC that came
with POV.
When typing the name of your Object, remember it's case-sensitive.
If you de-select 'Random Object Rotation', it will be oriented just the way
you created it, with no additional rotation.
Remember 'Random Object Sizes' Scales in addition to what you already scaled
it to. That's why its best to start with an object scaled to <1.0, 1.0, 1.0>.
Try to create your objects at < 0 0 0 >, so Replicator can translate them
correctly.
'Area Limits' work the same way as the box in POV. The two Vectors are
opposing corners of the Area, or box.
Last but not least, I know all Replicator does is output some text, but
anyway:
DISCLAIMER
=============
'Object Replicator' (and its accompanying files) is a freeware software
package. If you use Object Replicator, you agree to
the following:
The software package 'Object Replicator' is provided as is
without any guarantees or warranty. The Author is not
responsible for any damage or losses of any kind caused by the
use or misuse of this software package.
Hey, whad'ya expect for free?
I created Object Replicator in my 'spare' time with Visual Basic 3.0.
Let me know what you think of it, and if it needs any additional features.
My Compuserve ID is 70511,3007.
Please upload Object Replicator to your favorite BBS's where POV can
be found.
Possible future revisions:
------------------------------------
(if any interest arises)
Ability to add custom colors to the database within Replicator.
Options for selective X, Y or Z rotation.
Options for selective X, Y or Z scale.
Option for random Texture modifiers.
Ability to select different floors & skies from a list.
One final note:
--------------------
Don't give me money; give me a job in computer graphics :)