Script Output
One of Hypercosm's most unique and powerful features is the ability to export your models into a form where entirely new behaviors can be added using a scripting language. This allows you to turn your 3D models into true 3D simulations!

Hypercosm's Scripting Tool:
Hypercosm Studio |
Hypercosm Teleporter Pro can be used together with Hypercosm's scripting tool, Hypercosm Studio, in order to create true 3D simulations using Hypercosm's 3D scripting language, OMAR.
Uses of Scripting
Hypercosm's scripting is normally used for adding the types of elements that can not be created in a graphical editing tool such as 3ds Max. These types of things include:
- User Interactions
User interactions are what defines how the model behaviors in response to the user - for example, what happens when you click and drag the mouse. All of the standard user interactions that are added to the models when you export your scene are defined in this way. The various tools such as the tape measure, the mouse manipulation tools, the pages and layers controls, the clipping planes, and most everything else is defined using this scripting langage and therefore can be controlled or modified by you.
- Physics
One of the elements that seperates a 3D model from a true 3D simulation is physics. Since physics are defined mathematically, it is best described using a text based language. Hypercosm's scripting language can be used to add "function" to the "form" of objects created in 3ds Max.
- Logic
Another type of behavior that requires the use of a scripting language is logic. For example, you can add scripting logic to define what happens when an object in the scene is clicked. You can use boolean operations to set up conditions and tests that determine the simulation behavior. This type of scripting is used extensively when creating interactive 3D games, for example.
Exporting Script
To export script code, simply click the "Create OMAR Source Code" option in the "Advanced" dialog box. Note that in order to edit, compile, and run this source code, you will need Hypercosm's scripting tool, Hypercosm Studio.
 |
|
|
 |
 |
 |
 |
 |
 |
 |
|
|
 |
| |
The "Script" Dialog Box Showing the Script Export Options |
|
|