home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
graphics
/
blob1.zip
/
READ.ME
< prev
next >
Wrap
Text File
|
1994-02-15
|
8KB
|
277 lines
BLOB SCULPTOR ( BS ) version 1.0
by Alfonso Hermida and Steve Anger 2/15/94
This program helps you manipulate and model 3D objects thru the use of
blobs.
THIS PROGRAM IS FREEWARE...BUT, USE AT YOUR OWN RISK.
------------------------------------------------
Requirements: 386 or better with coprocessor
VGA graphics card
mouse
------------------------------------------------
You can reach us at:
TGA BBS (510)524-2780
Pi Square BBS (301)725-9080 (Alfonso's the Sysop)
CompuServe: GraphDev forum
Thanks to:
* Dan Farmer for the interest and enormous amount of feedback.
* Ronald Praver for speeding up suggestions.
* David K. Mason for the program's name.
-------------------------------------------------------------------------
DEFINITION : LMB = Left Mouse Button
RMB = Right Mouse Button
-------------------------------------------------------------------------
*** I should put some info on blobs here....I'll do it later ****
BS's display consists of 3 principal views:
Vertical Axis Horizontal Axis
Top (upper left window) Z X
Front (lower left window) Y X
Side (lower right window) Y Z
A preview window (upper right window reffered to as ISO) which can be
modified thru the CAMERA command. Finally the right side is the MENU area.
The mouse horizontal and vertical coordinates are shown in the MENU area,
also the first letter of the view (or ISO for the preview window) where the
mouse is currently located is displayed below the coordinates.
SUMMARY
Here's a summary of the commands. After each command the letters
F, S , T and Iso are used to define which views can be used in this command.
If no letters are present, this doesn't apply.
BS saves the previous command. To execute the previous command, click the
LMB. (Some of the commands can't be repeated - this is done either for
convenience or for safety)
LOAD & SAVE
BS reads and writes ASCII files with the following format:
threshold
x y z strength radius
x y z strength radius
x y z strength radius
x y z strength radius
....etc....
Example: (file HAND.BLB)
0.6
-0.413502 0.0253165 0 1 1.50823
0.43038 -0.00843882 0 1 1.59972
-0.548523 -1.18987 0 1 1.45752
0.700422 -1.20675 0 1 1.4348
1.49367 -0.548523 0 1 0.983246
1.72996 0.109705 0 1 0.747382
1.79747 0.683544 0 1 0.683805
1.82278 1.21519 0 1 0.676372
0.759494 0.911392 0 1 0.714533
0.742616 1.50211 0 1 0.676372
0.691983 2.16034 0 1 0.749914
0.599156 2.79325 0 1 0.708316
0.43038 3.50211 0 1 0.718941
-0.21097 1.08861 0 1 0.679169
-0.312236 1.74684 0 1 0.714533
-0.464135 2.42194 0 1 0.629936
-0.666667 3.09705 0 1 0.698434
-0.919831 3.80591 0 1 0.715417
-1.0211 1.0211 0 1 0.640875
-1.30802 1.64557 0 1 0.621859
-1.57806 2.23629 0 1 0.670744
-1.86498 2.84388 0 1 0.620842
-1.4346 -0.151899 0 1 1.21077
-1.33333 -1.26582 0 1 1.24168
-2.04219 0.691983 0 1 0.670743
-2.4135 1.29958 0 1 0.674501
1.80591 1.90717 0 1 0.78531
-2.75105 1.77215 0 1 0.555298
This file creates a 3D hand.
NEW
Deletes the whole database - fresh start!
CREATE (F, T, S)
This command creates a blob component on any of the 3 principal views.
After selecting this command, click the LMB to define the center of the
component. Next, move the mouse to define the radius. Press LMB to accept
or RMB to CANCEL.
MOVE (F, T, S)
You may move a component to another location at anytime by selecting the
MOVE command. To select the component to be moved, click on any part of the
circle. The circle will be highlighted (yellow color). Now, move the mouse
to the view where you want to do the move and press the LMB. A ghost image
will appear in case you want to locate it in it's original place. Press LBM
to accept the new location or RMB to CANCEL.
This command is different from most others because sometimes it's easier
to select a component in a view different from the one where the move will be
performed.
COPY (F, T, S)
The COPY command behaves the same way as the MOVE command but doesn't delete
the original component.
RESIZE (F, T, S)
You may resize a component at anytime by selecting the RESIZE command. To
select the component to be resized, click on any part of the circle. The
circle will be highlighted and a beep will indicate that you may resize
the component. A ghost image will appear in case you want resize it to
it's original size. Press LBM to accept the new location or RMB to CANCEL.
REDRAW
This command refreshes ALL the views. Negative components are drawn in red.
POVRAY, POLYRAY, RAW
Selecting any of these command will save the current scene in the appropriate
format. BS saves the scene with the name BLOB.? where is
BLOB.POV for POVRAY
BLOB.PI for POLYRAY
BLOB.RAW for RAW data
If you have previews files with the same names they will be overwritten!
If you need DXF output there are various utilities that can help you such
as RAW_DXF. Read the end of this document.
ZOOM (F, T, S, Iso)
To zoom In or Out, click on any of the views. The mouse button will
determine the zooming operation:
LMB Zoom In
RMB Zoom Out
DELETE (F, T, S)
To delete a component, click the LMB on any part of the circle. You'll be
asked if you want to continue. To delete the object click on [OK].
PAN (F, T, S)
You may perform panning by clicking on the PAN command. By clicking
on any of the 3 principal views, the point will become the center of that
scene. If the view gets out of limits and you can't return it back, reset
it using the ORIGIN command.
ORIGIN (F, T, S)
This command puts the origin back in the center of the selected view. Click
on the ORIGIN icon then click on one of the principal views....the 3D axis
will appear in the center.
CAMERA ( Iso )
Changes the From, At and Up vectors for the Iso view.
PREVIEW (Iso )
NOTE: Be sure that you have saved your data before previewing it! This is
an experimental program.
Generates a wireframe representation of the current scene. BS tries to
display a hidden line representation, but some triangles may not show up.
This doesn't affect the scene if it is saved as RAW data. When saved as
RAW data all the triangles will be written.
DENSITY (F, T, S)
Select a component to change it's strength(density) value. The value can
be positive or negative. To accept the default value press [Enter].
DETAIL
This value, between 20 and 50 determines the resolution in the algorithm used
to evaluate the blob surfaces. The values affect the program in this way:
20 fastest, least resolution, uses less memory
:
:
50 slowest, best resolution, uses more memory
For PREVIEWing, it's good to have a small number, between 20 and 30. For the
final image generation, 30 and up is good (unless you like the resolution
given by lower numbers).
Needless to say, the higher the number, the greater the number of triangles
that will be generated when creating RAW data output.
THRESHOLD
Changes the Threshold value for the blobs.
SNAP
Turns On/Off the SNAP feature.
Grid & ROW/COL
The GRID command enables the grid. The grid is redrawn with every redraw.
The ROW/COL command sets the number of divisions (# of rows = # columns) in
the grid.
QUIT
Exit the program.
WHO
Tells you who the authors are! Click the mouse to erase the Info box.
------------------------------------------------------------------------
ADDITIONAL INFO:
* THRESHOLD default value 0.6
* STRENGTH (DENSITY) default value 1.0
* Maximum number of components is 100
* ROW/COL value default value 20
-------------------------------------------------------------------------
RAW TO DXF TRANSLATOR
Included is a simple QBasic/QuickBasic program to translate RAW data to
DXF format. The triangles are saved as 3DFACE entities. The source code
is included so you can tweek it.