-key : toggles perpective
- *, )" which only creates the
i-th object of the sequence and stores it to buffer dest.
For more explanation the example-script "interfere.bat".
Objects can be saved and loaded in several formats, you can
set your favourite saver-module with the @{"SET" LINK prefs}-command.
There is a detailed@{"explanation of the features" LINK WasKannDasProgramm}.
@ENDNODE
@NODE formats "Object-formats"
The supported file-formats are the following:
1. TDDD - this is the standard-format read and written by Dust
Features:
-all Attributes can be read, written, modified
-Imagine3.0-Textures and -Brushes can be read, written, modified
-every face has its own color (CLST)
-hard/soft edges will be treated correctly
-subgroups are supported
Restrictions:
-the reflection- and transluceny-parameters are taken from
the global atttributes (means: no RLST- and TLST-reading/saving)
2. LW (Lightwave) - very fast, only triangles
Features:
-edge-optimizing optional, makes only sense if you
want to save the object as Imagine-Object later
-surfaces are converted into Imagine-Subgroups
-the DOUBLESIDED-flag can be set by the BACKFACES-parameter
-the specular level will be converted
-storing all textures/brushes/...
Restrictions:
-only triangles (Dust only handles triangles)
3. VS (Videoscape) - loading and saving is slow (ASCII-format)
Features:
-edge-optimizing optional, makes only sense if you
want to save the object as Imagine-Object
-Videoscape-colors are calculated as good as possible
-creation of backfaces if the BACKFACES-parameter is set
4. SPHERES - TDDD-Group-Objects made of real Spheres
This is a special particle-object-format (only for Imagine-users)
and can only be written.
5. PARTICLE - The fast DUST-Particle-Format
This Format consists of the particle- and the object-information
in TDDD-format. So all attributes are supported.
The LOAD-command automatically recognises the format, all object-saving
procedures (e.g. SAVE or MORPH) create objects in the format specified
by the SFORMAT-parameter.
NOTE: Dust converts LW-Surfaces into Subgroups and Subgroups into
LW-Surfaces - most of the object-converters (e.g. Vertex, Pixpro,
Castillian) aren't able to do that.
@ENDNODE
@NODE types "Data-types"
Dust knows the following data-types:
@{"Identifier:" LINK id} integer greater or equal than zero.
Real: @{"mathematical expression" LINK Math} containg global Variables,
functions, ...
Integer: mathematical expression, rounding is done automatically
String: string containing format-commands.
Filename: String oder "", in case of "" a filerequester is opened
@ENDNODE
@NODE Math "Mathematical expressions"
All Dust-commands allow mathematical expressions instead of
plain numbers, other commands require expressions containing
special variables:
1. Special parameters required by the FUNC-commands:
X0 - initial x-coordinate
Y0 - initial y-coordinate
Z0 - initial z-coordinate
T0 - parameter
Example: You want to plot the 2D-Function sin(x^2+y^2):
-load a plane (dimensions -50..-50,-50..50,0..0)
-now enter "func(2,"30*sin(x0*x0/30+y0*y0/30)",0,z)"
This uses the x- and y-coordinates to modify the"
z-coordinate of the plane."
2.Constants
'pi', 'ee' (2.71..)
3.Operators
'+','-', ':-(', '/', '^'
4.Functions
'jump','entier','int','abs','sqr','sqrt',
'exp','ln','log','log10','log2','tentox','twotox',
'sin','arcsin','cos','arccos','tan','arctan',
'sinh','cosh','tanh','artanh', 'degtorad','radtodeg',
'rnd','fac','ceil','floor','round');
NOTES: 1. All angles in degrees.
@ENDNODE
@NODE id "Identifier"
Dust knows the following identifiers:
objectID : objects
particleID : particle-objects
windowID : opened windows
brushID : brush of an object
textureID : texture of an object
@ENDNODE
@NODE schleifen "Loops"
Dust can perform nested FOR-loops, the loop-counter is equal to the
loop-variable of the innerst loop.
The loop-counter is the number inserted into a string containg
@{"format-commands" LINK formatting}.
Syntax:
FOR(*