GeoTools->Animation Tools

Altes: Bauwesen Tools

Table of Contents

Naechste: GDF Viewer

 

 Menu : GeoTools Animation Tools Animationsparameter festlegen
Command line:  GT_SETANIM

Sets parameters for a animation path polyline.

The GT_SETANIM command is used to set the animation parameters for the animation path. The path should be defined as a 2D or 3D polyline. It should not be fitted or splined and should not contain arc segments in order to qualify as an animation path. In addition, the polyline cannot be light weight polylines.

The GT_SETANIM command has an interface similar to that of the AutoCAD Pedit command.

Command: GT_SETANIM
Select path polyline: (do so)

When you select a polyline at any vertex, it becomes the current vertex and the vertex indicator (a cross mark) is placed at the current vertex and a prompt similar to the one below is displayed.

Next / Prev / Goto / Speed / SEttings / Edit / Move / Z / INTerpolate / STats / Lbl / Animate / eXit < Next >:

Next : Moves the current vertex cursor to the next vertex in the polyline. If the last vertex is encountered, the prompt automatically changes to Prev.

Prev : Moves the current vertex cursor to the previous vertex in the polyline. If the last first vertex is encountered, the prompt automatically changes to Next.

GoTo : Allows to jump the cursor to a specific location within the path. This brings up a sub-menu that offers the following options:

Goto [F]irst / [L]ast: <number>:

First : Moves the cursor to the first vertex in the polyline.

Last : Moves the cursor to the last vertex in the polyline.

<nnn> : Typing a vertex number moves the cursor to that vertex number in the polyline.

Speed : The speed of the animation object in miles per hour at the current vertex position can be set using this option. If the speed has already been set earlier, the previous value appears as default else the last used global default speed value is shown as default. You do not need to set the Speed parameter at every vertex location. The program has a capability to interpolate and fill in the speeds in between any two set values of the speed. When the speed is set between two vertices, the object linearly and uniformly accelerates or decelerates between these two points.

SEttings : The SEttings option brings up a dialog box in which path specific parameters can be set.



Object to Animate: Click on the Browse button to select an AutoCAD drawing file that will be used as the animation object.

Description: Specify a text description for the animation path.

Start Time: Specify a start time in seconds for the animation path. Specifying a start time of 0.0 means the animation begins immediately. A start time of 15 means the path begins to animate only15 seconds later. Use this parameter appropriately in setting up the animation schedules of multiple animation paths.

Path Type:

Camera: Specifies the current path as a camera path. There can only be one camera path in an animation.

Target: Specifies the current path as a target path. There can only be one target path in an animation

Object: Specifies the current path as an object path. There can be any number of object paths in an animation.

When the animation runs, each frame position of the camera path points at each frame position of the target path at a given time to define the view at each frame. All objects in the object path animate according to their given settings in relation to time.

Edit: Brings up a sub-menu that allows editing of Speed and Z values of path points in one command.

Edit Multiple [Z]elevation/[S]peed:

From vertex <3>:

To vertex(or L for last vertex):L

Enter new speed value (-1 to remove)[mph]: <0.00>:

Or

Enter new Z: <0.00>: 350.00

For both Z and Speed options, the vertex range is specified by means of From and To prompts. The 
last vertex can be specified either by number of by typing L.

Z: Specify two vertices and a Z value. This command will apply that Z value at all points between the two vertices.

Speed: Specify a range to vertices and a speed value. This command will apply that Speed value at all points between the two vertices.

Insert [not implemented] : Inserts a new vertex in the animation path at the specified location. Depending on how the “Inherit polyline elev during Move/Insert” is set, the new vertex acquires the elevation of the picked point or inherits it from the source vertex elevation.

Move: Moves the current cursor location of vertex to a new point. Depending on how the “Inherit polyline elev during Move/Insert” is set, the new vertex acquires the elevation of the picked point or inherits it from the source vertex elevation.

Z: Allows the current vertex elevation to be changed.

INTerpolate: Brings up the linear Interpolation sub-menu that allows Speed and Z values to be interpolated linearly between points where values have been set.

Enter interpolation option [Z]elevation /[S]peed:

Z: Interpolates the elevation values between two-nonzero values along the path. You only need to specify Z values at key locations. This command sub-option can be used to perform a linear interpolation and compute appropriate elevation values for all points that fall in between.

Speed: Interpolates the speed values between two locations where the values have been set. You only need to specify speed values at key locations. This command sub-option can be used to perform a linear interpolation and compute appropriate speed values for all points that fall in between.

STats: Displays detailed statistics about the animation path.

Lbl: Creates text labels along the animation path showing the speed, time and frame numbers at each location. This is only for visual check and information purposes only.

Animate: Runs a preview animation of the path using an AutoCAD Point object as the animation object.

eXit: Exits from the SetAnim command. All the command options that have been entered during this command is saved in memory and is written to the path polyline only when the eXit option is chosen. Depending on the length of the path polyline and the options used in SetAnim, the update operation may sometimes taken a while to complete.


 Menu : GeoTools Animation Tools Animation starten
Command line: GT_RUNANIM 

The GT_RUNANIM command is used to animate multiple animation paths. Animation paths are drawn using the polyline command and setup using the GT_SETANIM command. Once the polylines are setup and ready, they can be animated using the GT_RUNANIM command.

The GT_RUNANIM command requires these polylines to be selected. At-least one of them has to be defined as a Camera Path and one of them should be the target object path.

Animation Output:

Full Animation: Generates full frame by frame animation output as bmp files and creates thebmp2avi file to create an AVI file.

Plan preview: Preview the animation by displaying the camera, target and object positions in plan view. This can be used to get a much faster overall picture of the camera, target, objects movement during the animation.

Image preview: Generates images every nth frame only. This can be used to quickly study the animation by looking at the key frames (images) generated along the animation path.

AVI file to create: Click on the Browse button to specify the name and location of an AVI file that will be created.

Other options

Scale Factor for camera / target blocks: Specify the scale factor to be applied when camera and target Blocks are inserted.
 
Label text height: Specify the height of the text label to be used. 
Frames per second: Specify the number of frames to be used per second in the animation. 
Lens Length [mm]: Specify the zoom lens focal length to use in the Dview command. 
Generate nth frame: If the Image Preview option is chosen, enter a number here to indicate the interval at which each preview frame is to be generated.
 
 
Path Layer Settings:

Camera: Enter the name of the layer for camera paths (moving cameras) or camera block objects (static camera). You can also click on the Select button to choose one of the available layers in the drawing.

Target: Enter the name of the layer for target paths (moving targets) or target block objects (static target). You can also click on the Select button to choose one of the available layers in the drawing.

Object(s): Enter the name of the layer for object paths. You can also click on the Select button to choose one of the available layers in the drawing. 
Inherit polyline elev during “Move/Insert”: Clicking this option causes Move and Insert sub-commands of the SetAnim command to inherit the Z value from the current location. 
 
The RunAnim command works with exactly one camera path, one target path and can have many or no object paths. The camera path can be a moving camera (polyline object) or a static camera (a block INSERT object by name Camera). The target path can be a moving target (polyline object) or a static target (a block INSERT object by name Target).

The RunAnim creates rendered images of the perspective view generated by the DView command at each frame of the camera path looking towards each frame of the target path. The rendered image is created as per the render settings currently in effect. Please make sure that the render settings are correctly set before you run the command. It may help to create one rendering manually before starting and check if the output image meets your specifications.

The output created by the RunAnim command is a series of bitmap images having names like <bitmapnnnn> where nnnn is a running number starting with 0001. The bitmap type is as set in the render preferences. These can then be joined together by using the program bmp2avi.exe

For example, the following command run in the same folder where the bitmap files named <animation>nnnn are located will join all bitmaps to create movie.avi

bmp2avi.exe -i movie -o animation -f 15 -c "AFLC"

 Menu : GeoTools Animation Tools   Kamera hinzufügen
Command line: GT_ADDCAMERA

The GT_ADDCAMERA command is used to add a fixed camera object. A fixed camera object is a block INSERT object by name CAMERA and is placed on the camera layer. The default scale factor of the camera block is controlled by the settings under the GT_RUNANIM command.

 Menu : GeoTools Animation Tools   Ziel hinzufügen
Command line: GT_ADDTARGET 

The GT_ADDTARGET command is used to add a fixed target object. A fixed target object is a block INSERT object by name TARGET and is placed on the camera layer. The default scale factor of the camera block is controlled by the settings under the GT_RUNANIM command.

Altes: Bauwesen Tools

Table of Contents

Naechste: GDF Viewer