MaxScript Release 0.4 Beta Source for MAX 2.5 (1/3/1999)
Copyright (c) 1998 by Borislav Petrov, Bobo's Rendert**ls.
SHORT DESCRIPTION
CollectPlus lets you copy Bitmaps used in your scene
into a single directory, including IFL lists contents.
HOW DOES IT WORK?
CollectPlus does a recursive search for Bitmaps
in the current scene. Then it copies all images found into a user-defined
directory, or just renames the bitmap paths.
There is an option to include Bitmaps listed in IFL file lists,
and to convert bitmaps to JPG for VRML export.
FEATURES
Version 0.4 BETA (1/3/99)
The [Get Path] button lets you select the
destination directory for the collected Bitmaps.
The [Save Conf.] button lets you save the
path as the default to use next time you start the utility.
The "New" field shows the path to put the
Bitmaps into. It defaults to C:\TEMP when you first start the utility.
The [COLLECT BITMAPS] button starts the process.
The Copy/Move/Rename radio buttons let you copy the
images into a sinle directory, move them and delete the originals, or simply edit the
bitmap paths in the MAX Scene file to point at new paths already containing the same image files.
The "Old" field shows the String to search the old bitmap path for.
When found, it is replaced with the string in the "New" field described above.
The [Copy MAX File] is unchecked by default.
When checked, it lets the utility save the scene into the Collection folder.
Note that the utility does NOT save the scene to its original location.
The [Update Scene Materials] checkbutton is
unchecked by default. Be sure to press it especially when you use the Move
option. In this case, the new path is inluded with the bitmap names and
MAX can find the images when rendering.
The "VRML Options" group lets you set some
options for scenes that are going to be exported to VRML. These options
are NOT available when in "Move" mode.
Check the "Convert Bitmaps to JPEG" to convert
all bitmap textures to JPG format when copying. This feature can be used
in conjunction with the [Update Scene Materials] to replace all textures
with Web-ready images.
Check the [Limit JPEG Resolution] to keep
the texture size for VRML as low as possible. CollectPlus will scale the
higher dimension of the bitmap to the limit value and scale the other dimension
proportionally down to keep the aspect ratio. NOTE that the scaled-down
image is NOT filtered.
Set the "Max.Resolution" value to the upper
limit for VRML texture resolution.
The "IFL Options" group lets you set some
IFL related options:
The [Copy IFL Files] checkbutton is checked
by default. It lets you toggle IFL file collection on/off. THIS APPLIES
TO THE IFL TEXT FILE ONLY AND NOT TO ITS CONTENT.
The [Copy IFL Content] checkbutton is checked
by default. It lets you toggle IFL entries collection on/off. THIS APPLIES
TO THE BITMAPS LISTED IN THE IFL FILE.
The [Assume IFL Path] is checked by default.
Most IFL files list just bitmap names and not the whole path. If the button
is checked, the path of the IFL TEXT FILE will be added to the Bitmap names
before adding them to the collection list.
The MAXScript Listener shows Warnings when
a bitmap already exists or cannot be found.
FUTURE FEATURES:
PKZIP compression (as found in A.Zmievski's
Ressource Collector)
Rename duplicates - when different images
residing on different paths share the same name, rename the one copy before
collecting.