MaxScript Release 0.12 Source FOR MAX 3.x
and 3ds max 4 (4/28/2001)
Copyright (c) 2000-2001 by Borislav Petrov,
Illusion Exporter lets you export 2D screen
coordinates of any MAX Object
to be used as Position Data in ILLUSION
Click on image to download a sample AVI
(Intel Indeo 5.04, 225K)
Animated a Hedra in MAX
Exported animation to ILLUSION
Rendered Smoke trails using "Fiery Smoke Trail"
Saved as AVI
Composited in MAX VideoPost using Simple Additive
Version 0.12 (4/28/2001)
Made the script max 4 compatible
Fixed a memory leak in "Watch Control Rendering"
Version 0.1 (3/7/2000)
Download, unzip to \Scripts, RUN the script.
Right-click a toolbar, find the IllusionOut
entry in the "Illusion" category, drag to the toolbar.
To start working with the utility, press the
Pick an animated object using the [>Pick
Object To Export...] button. Either pick an object or press H to select
Once the object is selected, the [EXPORT
button will become available.
Make sure the Width and Height settings match
the rendering size of the final image.
NOTE that the DEMO version of Illusion allows
resolutions up to 320x240.
To get the current MAX output resolution,
[Get Size From Renderer] button.
The Timing group
of controls will let you specify the time range to export.
By default, the currently active Scene Animation
Range will be used. There will be one sample per frame.
You can also select User Segment to define
a custom animation length. In this mode, you can specify a step value to
export every Nth frame only. NOTE that by default MAX starts counting at
frame 0 - it will become frame 1 in ILLUSION.
To export to a text file, select a Camera
Viewport and press the [EXPORT TO ILLUSION] button - you will be
prompted for a file name. The default name will be the name of the object
In case the current viewport isn't a Camera
Viewport, you will be warned.
The Options group
provides some additional features not really needed for the actual export.
The Use Pivot radiobutton will let
you use the Pivot Point Position as tracking point. To use the actual Center
of the Object (in cases the pivot point isn't Centered), set the radiobutton
Use BBox Center.
The option See File After Export opens
the resulting file for editing when activated.
Watch Control Rendering lets you monitor
the exporting process by rendering each frame to a Virtual Frame Buffer
and pointing at the detected position point with a red crosshair.
IMPORTING IN ILLUSION
To use the resulting file in Illusion, select
an Emitter in the the Hierarchy view,
Right-click and select "Import>" from the
Select "Position Data"
From the Drop-down list, select "tab-delimited
Text (from file)"
From the File Selector, load the TXT file
generated by the script.
DOWNLOAD Illusion Exporter
0.12 MacroScript Source