Page 168
Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>


Crater

Quick Reference to Scripting Command
a=CRATER(impact, variance, seed, level, burrowing)
Items in CAPS are 0/1 switches or switches with more options than 0/1.


Cratering Dialog

Crater Controls

Trends

Some of the controls have a Trend button next to them. These trend buttons allow you to set variables over a series of frames. Each frame of any animation may be thought of as a slice of time. The trends allow you to alter some, all, or none of the variables for a particular time slice. Trend graphs have equidistantly spaced vertical lines. For animations under 100 frames in length, each of these lines represents a frame in the animation. The number of frames in any one sequence can be altered using the Sequence controls item from the Timeline pull down menu. Animation lengths of 100 - 999 frames will be represented with a vertical bar being 10 frames, and animation length greater than 1000 frames will have a vertical bar for every 100 frames. Click here to view more information on Trends.

Impact

This controls the impact of the object.

Variance

This controls how random the effects of the impact are.

Seed

This provides a means for repeatable, but random, crater generation. The range is 0 to 32767.

Leveling

This controls how much the impact melts, then reforms, thereby leveling the ground in the impact region.

Burrowing

This controls how far the object penetrates.

Note:

Keep this in mind...
All profiles can be controlled via scripting.

There are two general scripted mechanisms that allow reading and writing to individual profile entries.

These use a name that we have assigned to the profile, an index of zero to 200 to address the 201 entries in each profile, and a value, either read or written:

a=GETPROF("name", index[0-200])
     (returns value in a)

a=SETPROF("name", index[0-200], value)
     (returns previous value in a)

You will find the various profile names detailed here.

Examples of setting entire profiles with small script routines are detailed here.

Ejecta Profile

This profile describes the radial profile of debris thrown from the crater.


Ejecta Profile
When this operator is dragged into the timeline, profiles will automatically trend to the next profile, if another exists in the timeline.

Crater Profile (center to edge)

This profile describes the profile of the crater as it would appear taken as a radial cut.


Crater Profile
When this operator is dragged into the timeline, profiles will automatically trend to the next profile, if another exists in the timeline.

 


Cratered Heightfield

3d Result of Original
 


Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>
Page 168

WinImages F/x, WinImages Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions

WinImages F/x Manual Version 7, Revision 5, Level B

HTML Documentation Management System © 1992-2007 Black Belt Systems