visual3d:documentation:pipeline:event_commands:event_explicit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:event_commands:event_explicit [2025/02/19 16:54] – wikisysop | visual3d:documentation:pipeline:event_commands:event_explicit [2025/02/20 20:08] (current) – [Examples] wikisysop | ||
---|---|---|---|
Line 16: | Line 16: | ||
; | ; | ||
</ | </ | ||
+ | |||
+ | ==== Command Parameters ==== | ||
+ | The following table shows the command parameters and descriptions: | ||
+ | |||
+ | |**Parameter**|**Description**| | ||
+ | |**/ | ||
+ | |**! /FRAME=**| Defines the frame at which the event occurs.| | ||
+ | |**! / | ||
+ | |||
+ | ==== Dialog ==== | ||
The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | ||
- | {{:ExplicitEventDlg.jpg}} | + | {{:visual3d: |
- | === Example: Specify an event based on a metric | + | In this dialog, the user is given the options to name the event, and specify either a frame or time to create the event label. |
+ | ==== Examples ==== | ||
+ | The following examples will go through the use of the **Event_Explicit** command in the Visual3D application. | ||
- | Here are two examples of creating explicit events based on metrics for frames and time. | + | === Example 1: Simple Use Case === |
+ | In the first example, let's say the user knows the specific | ||
- | This example will place an event at the frame metric TEST_FRAME | + | Here is how the command would be defined in the pipeline: |
< | < | ||
Event_Explicit | Event_Explicit | ||
- | /Event_Name= TEST | + | /EVENT_NAME= LEFT_FOOT_CONTACT |
- | /Frame= METRIC:: | + | ! /FRAME= |
- | ! /Time= | + | /TIME= 1.25 |
- | ; | + | |
</ | </ | ||
- | This example | + | In the dataset used for this example, 1.25 seconds represents |
- | < | + | {{:visual3d:documentation:pipeline:event_commands: |
- | Event_Explicit | + | |
- | / | + | |
- | /Frame= | + | |
- | / | + | |
- | ; | + | |
- | </ | + | |
- | === Example: Create events | + | === Example |
+ | The following command will create an event label named ' | ||
< | < | ||
Line 55: | Line 62: | ||
</ | </ | ||
- | [[Visual3D: | + | The next **Event_Explicit** command will create an event labelled ' |
< | < | ||
Line 65: | Line 72: | ||
</ | </ | ||
- | === Example: Create | + | When creating |
- | + | ||
- | [[Visual3D: | + | |
< | < | ||
Event_Explicit | Event_Explicit | ||
- | / | + | / |
/Frame= EOF - 10 | /Frame= EOF - 10 | ||
/Time= | /Time= | ||
Line 77: | Line 82: | ||
</ | </ | ||
- | === Example: Create an event at multiple frames === | + | This graph shows that the event labels were placed in the desired locations. |
- | Introduced in Version 6 | + | {{: |
- | \\ | + | |
+ | === Example 3: Create an event at multiple frames === | ||
+ | |||
+ | This functionality was introduced into the command in **Version 6**. It will create three instances of the event label ' | ||
< | < | ||
Line 91: | Line 98: | ||
</ | </ | ||
- | This command will create three instances of the EVENT_LABEL TEST at frames 1, 5, and 10 | ||
- | === Example: Create an event at one second intervals === | + | === Example |
+ | This final example represents the **Event_Explicit** command used within a loop in order to create an event at one second intervals throughout the file. | ||
- | ! Determine the number of ranges | + | < |
- | ! For some files this might be 1 too many but it won't matter. | + | Set_Pipeline_Parameter_From_For_Loop |
- | **Set_Pipeline_Parameter_From_For_Loop** | + | |
/ | / | ||
/ | / | ||
Line 103: | Line 109: | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
- | ! execute a For_Each loop | + | |
- | **For_Each** | + | For_Each |
/ | / | ||
! / | ! / | ||
/ | / | ||
- | **;** | + | ; |
- | **Event_Explicit** | + | |
+ | Event_Explicit | ||
/ | / | ||
! /FRAME= | ! /FRAME= | ||
/ | / | ||
- | **;** | + | ; |
- | **End_For_Each** | + | |
+ | End_For_Each | ||
/ | / | ||
- | **;** | + | ; |
+ | </ | ||
visual3d/documentation/pipeline/event_commands/event_explicit.1739984093.txt.gz · Last modified: 2025/02/19 16:54 by wikisysop