-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.
If you want to write extended batch-files you will need an
@{"IF" LINK if}-construct.
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:
-reflection-maps are skipped (BRS4 ?)
-the reflection- and transluceny-parameters are taken from
the global atttributes (means: no RLST- and TLST-handling)
2. LW (Lightwave)
Features:
-polygons are assumed to be convex and converted into triangles
-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:
-no lines (polygons with 2 points) and point-polygons
3. MC4D (MaxonCinema4D)
Features:
-triangles, conversation of quadrangles into triangles
-converting of axis-attributes
-chunks with the identifier 8 are read and written
Restrictions:
-materials aren't supported because of no documentation
-chunks of type 5,6,7 are skipped because of no documentation
4. VS (Videoscape) - loading and saving is slow (ASCII-format)
Features:
-Videoscape-colors are calculated as good as possible
-creation of backfaces if the BACKFACES-parameter is set
5. SPHERES - TDDD-Group-Objects made of real Spheres
This is a special particle-object-format (only for Imagine-users)
and can only be written.
6. 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 containing
@{"format-commands" LINK formatting}. Since version 2.3 you have
the choice to place a numeric argument enclosed in brackets after the
format-command.
Syntax:
FOR(*