Steps for Packaging
Find it: File > Package
Steps
-
After you've saved the current file, select File > Package.
The Choose Package Directory dialog appears. Specify a
package directory. If it does not exist, it is created and the current
file is added as a root document within that directory.
Note: Cosmo Package works only on saved files. Be
sure to save any changes in Cosmo Create or Cosmo Worlds before
packaging or restarting a package.
-
Choose Roots > Add and select the root to add if it isn't
already there. Each root filename is expanded to a full URL beginning
with file:/. The discovery stage starts with the root file
(or files). To delete a root, select it and press Remove.
-
Set VRML preferences using
the Vrml 2.0 tab.
-
Specify default index filenames,
if any.
-
Specify custom mappings, if
any.
-
Specify trusted references.
-
Click the Discover
button to start the discovery stage. CosmoPackage finds all the local
files referenced by the root file, as well as the local files
referenced by those files. All local files referenced by URLs become
part of the package for this document or scene. For VRML files,
discovery includes such elements as inlines, textures, images, and
sounds. For HTML files, it includes such elements as background images,
embedded plug-in source code, and anchors. The discovered files scroll
in the box at the bottom of the CosmoPackage window. The moving slider
indicates the progress of the discovery stage. Note that the slider may
move backwards during discovery as the packager finds new files that
need to be added. Trusted references are ignored during discovery.
-
At any time, use the Inspector
to view additional information about the documents being packaged.
-
Click the Package button to start the packaging stage.
This step creates the stage/ subdirectory in the package
directory, as well as an internal database used to store your packaging
preferences. The packaged files scroll in the box at the bottom of the
CosmoPackage window.
-
Click the Preview button to view the packaged document or
scene. If your package has more than one root, you are prompted to
choose a root. This action brings up your preferred browser on the
packaged version of the specified root. Or, choose Preview Using
to specify a different browser to use for previewing the document.
(Browsers are configured using the File > Preview Using
option in Cosmo Create.)
-
Be sure to save the completed package so that it's written to disk. As
with any document, when you save, you're overwriting the previous saved
copy of the package.

Jump to: