Navigation

Ventuz 6 Quick Guide

  • Introduction
  • Getting Started
  • Ventuz Editions
  • Designer Overview
  • Ventuz System Requirements
  • Configuration
  • Video/Audio Configuration
  • Machine Configuration
  • GPI Configuration for Runtime or Director
  • Optimize Rendering Performance
  • Supported Formats
  • Supported Hardware
  • Multisampling / Anti-Aliasing
  • Input Subsystem
  • Ventuz Proprietary Files
  • What's new
  • FAQ
  • Common Mistakes
  • Deployment
  • Migration Guide
  • Ventuz 5 Migration Guide
  • Summary Shortcuts

Ventuz 6 Designer

  • Index
  • Getting Started
  • Designer Options
  • Designer Overview
Projects & Scenes
  • Projects and Scenes
  • Project Browser
  • Project Properties
  • Project Maintenance
  • Project and Scene Data
  • Scene Tree
  • Scene Management
  • Scene Statistics
  • Deployment
Interface
  • Designer Interface
  • Renderer Window
  • Realtime Rendering
  • Optimize Scene Performance
  • Performance Statistics
  • Transformation Gizmo
  • Render to Disk
  • Camera Navigation
  • Isolated Objects
  • Manipulate Objects with Gizmos
  • Layer Editor
  • Common Layer Properties
  • IPP Effects
  • Color Correction FX
  • Distortion FX
  • Filter FX
  • Layer Editor Shortcuts
  • Hierarchy Editor
  • Working with Nodes
  • Containers
  • Find and Replace
  • Shortcuts Hierarchy Editor
  • Content Editor
  • Working with Nodes
  • Containers
  • Content Editor Shortcuts
  • Toolbox
  • Property Editor
  • Project Data and Scene Data
  • Property Groups
  • Shader Editor
  • Text Editor
  • Scene Tree
  • Message View
  • Stage Editor
  • Container Outline
  • Watches Editor
  • Animation Editor
  • Animation and State Engine
  • Templates
  • Template Engine
  • Shortcuts Animation Editor
  • Text Rendering
  • Text Editor
  • Character Sets
  • Geometry Import
  • Input Subsystem
  • Multitouch
  • TUIO Protocol
  • Open Sound Control
  • How to work with Head Mounted Displays
  • Cluster
  • Multi Display Setups and Shaping
  • Warping, Soft Edging and Masking
  • Available Nodes
  • Animation Nodes
  • Material&Color Nodes
  • Data Nodes
  • Geometry Nodes
  • Interaction Nodes
  • IO Nodes
  • Layers
  • Light Nodes
  • Logic Nodes
  • Render Option Nodes
  • Slides Nodes
  • Sound Nodes
  • Text Nodes
  • Texture Nodes
  • VR Nodes
  • World Nodes

Ventuz 6 Node Reference

ANIMATION
  • Mover
  • Alternator
  • Simple Control
  • Timeline Control
  • Anmation Rig
  • Keyframe Animation
  • Animation Group
COLOR/MATERIAL
  • Alpha
  • Fog
  • Ground Fog
  • Sky Box
  • Color to RGBA
  • HSLA to Color
  • RGBA to Color
  • Color Transformer
  • HLSL Shader
  • Color
  • Material
  • Color Picker
  • Substance Material
DATA
  • Database
  • Excel
  • JSON
  • RSS Feed
  • Resource Linker
  • Text File
  • XML
GEOMETRY
  • Rectangle
  • Rounded Rectangle
  • Gradient Rectangle
  • Overlay Rectangle
  • Cube
  • Circle
  • Sphere
  • Cylinder
  • Cone
  • Torus
  • Chart
  • Random Points
  • Mesh Loader
  • Geometry Import (Live)
  • Volume
  • Get Bounding Box
  • Arrow
  • Particle System
  • Path Renderer
  • Geometry Renderer
INTERACTION
  • Interaction Rect
  • Touch Button
  • Touch Excluder
  • Touch Marker
  • Touch Paint
  • Touch Pattern
  • Touch Proxy
  • Touch Ripples
  • Touch Transformations
  • Web Browser
  • Touch Teleport
  • Touch Simulator
INPUT/OUTPUT (I/O)
  • GPI
  • Joystick
  • Keyboard
  • MIDI
  • Mouse
  • Network
  • Open Sound Control
  • Serial
  • Timecode
  • DMX
LAYER
  • 3D Layers
  • 3D Layer Reference
  • 2D Layers
  • PSD Import Layer
  • Others
LIGHT
  • Light Sources
LOGIC
  • Array Processing
  • Convert To Text
  • Cluster Synchronization
  • Counter
  • Date Time
  • Directory
  • Dispatcher
  • Enumeration
  • Expressions
  • Invert
  • Log
  • Loop Breaker
  • Math Effects
  • Matrix Operations
  • Scene Event
  • Script
  • String Operations
  • System ID
  • Text Splitter
  • Timer
  • Toggle
  • URL
  • Value Switch
  • Value Buffer
  • Variables
  • Visual Indexer
RENDER OPTIONS
  • Alpha Blending
  • Color Write
  • Alpha Testing
  • Clip Plane
  • Filter
  • Mask
  • Mirror
  • Effect
  • Render Cube Map
  • Draw Modes
  • Stencil
  • ZTesting
SOUND
  • Audio Clip
  • Sound
  • Volume Control
  • Audio Analysis
SLIDES
  • Slide Manager
  • Slide
  • Slide Port
  • Pivot
TEXT
  • Text Effects
  • Text Layouts
  • Text Rendering
TEXTURE
  • Background
  • Hatch
  • Image
  • Texture
  • SVG Loader
  • Gradient Texture
  • Live Video
  • Movie Stream
  • Movie Frame
  • Movie Clip
  • Texture Loader
  • Snapshot
  • Snapshot Framebuffer
  • Texture Saver
  • Video Source Selector
  • VIO Input
  • Spout Receiver
  • NDI Receiver
  • Substance Loader
VR/AR
  • Tracked Devices
  • Draw Tracked Devices
WORLD
  • Axis
  • Billboard
  • GetWorld
  • SetWorld
  • Arrange
  • Ticker
  • Layout
  • Group
  • World Z Sort
  • YesNo
  • Switch
  • Spread
  • Filter Pass
  • Set Pass
  • Hierarchy Container
  • Scene Port
  • Content Container
  • Template Port
  • Container Info
  • Camera
  • Paths

Ventuz 6 Configuration Editor

  • Configuration
  • Machine Configuration
  • Video/Audio Configuration
  • Web Configuration Editor and License Manager
  • Render Setup Editor
  • Warping and Soft-Edging Editor
  • Supported Hardware
  • How to Setup a Cluster Render

Ventuz 6 Director

  • Application Settings
  • Assets
  • Channels
  • Command Line Options
  • Content References
  • Designing Templates
  • Environment
  • Glossary
  • Index
  • Introduction
  • Pages
  • Playlist
  • Plug-Ins
  • Project Data
  • Property Editor
  • Shortcuts
  • GPI Configuration
  • Shot Box
  • Show
  • Taking Action
  • Timeline
  • Topology
  • User Interface
  • Director Mode
  • Macros

How To

  • How to Run Ventuz
  • How to Work with Designer
  • Ventuz Designer Drag&Drop workflow
  • How to use Head Mounted Displays
  • How to work with Shadows
  • How to use Emoijs
  • How to Build a Template
  • How to use Newtek NDI
  • How to Create Visuals Loader Node
  • How to Remote Control with a Phone
  • How to Setup a Cluster Render
  • How to use a Mixed Frame Rate Cluster
  • How to use Tracking
  • How to work with 3D Reference Layers
  • How to create a Firework Particle System
  • How to use DDS with new Block Compression modes
  • How to setup Spout with Ventuz
  • How to use the Substance Integration

Keyboard Shortcuts

  • Summary Shortcuts
  • Layer Editor Shortcuts
  • Hierarchy Editor Shortcuts
  • Content Editor Shortcuts
  • Animation Editor Shortcuts
  • Director Shortcuts

Advanced and Development

  • Command Line Options
  • Remoting Overview
  • Remoting 4
  • Remoting 4 via Websockets
  • Deprecated Remoting
  • Ventuz IP Ports
  • Ventuz Machine Service
  • Remoting Machine Signature
  • TUIO
  • .NET Scripting
  • HLSL Shader Programming
  • Ventuz API and SDK
  • Ventuz VIO API
  • Ventuz File Format (VFF)
  • Ventuz Stream Out API

General Reference

  • Terminology
  • Manual Index

Miscellaneous

  • Presets
« Previous Article
» Index «
Next Article »

The Shot Box

Table of Contents

  1. Application-wide
  2. Property Editor
  3. Auto-Templates
  4. Regular Expressions
  5. Special Characters
    1. Named Groups
    2. Examples

A Ventuz Director operator will often find himself in situations where reaction time is crucial. Something unexpected happens and all advance planning suddenly is worth nothing. Now the only important thing is how fast can one get a certain information on screen.

Application-wide

The answer to this is the Shot Box, a quick way to access all available templates, pages and assets. To open it, an operator can press + on the number pad regardless of what he is currently doing. A small text box will appear in the center of the application. Upon typing, the shotbox filters through the show's content and presents the first ten matches that contain the search string in their name. In the image below, the search string "eri" has been entered which yielded three matches:

  • the 01NSPlayerInfo template
  • the 02NSPlayerInfo template
  • The headshot of a player called A.Havering

By using ▲, ▼, one can change the selection and by pressing Enter confirm it. Director will then replace whatever is currently cued and cue the selection instead. So within only a few key strokes, the content is ready to go.

Besides the name, templates and pages can be filtered by keywords, category and author. The following table shows the prefix to be used plus a respective example. There are multiple choices for each. They result in the same query.

Name All items that contains the entered name are shown
no prefix 01NSPlayerInfo
name: name:01NSPlayerInfo
Keyword All items that have a keyword that matches the entered keyword are shown
$ $namesuper
kw: kw:namesuper
key: key:namesuper
keyword: keyword:namesuper
Category All items which category starts with the entered text are shown
# #sports
cat: cat:sports
category: category:sports
Author All items which author starts with the entered text are shown
@ @edward
author: author:edward

By default, the Shot Box is capable of browsing templates, pages and assets such as images. It can be extended via custom plugins.

Property Editor

Another place where the shot box can be used is inside the Property Editor to fill in content. All places where an asset (such as an image) or a sub-template can be inserted are represented by slots (i.e. rectangular boxes).  clicking on such a slot opens up the shot box in filtered mode. The text on the right inside the shot box's text enter field will switch from "All" to the type of content than can be inserted into the slot (e.g. for a sub-template it will only list pages and templates). Otherwise, the behavior of the shot box is exactly the same.

Auto-Templates

A less obvious but tremendously powerful feature of the shot box is the use of auto-templates. The basic idea is simple: If one can already enter a search string inside the shot box, why not use parts of the entered text to pre-fill template data fields? This reduces the need to manually go to the property editor and makes getting content on the screen even faster.

On a technical level, auto-templates are defined by ​Regular Expressions that are matched against the search string. If the regular expression matches, it is shown as another entry in the shot box, marked by the bright orange "(Auto)" label.

If a search string matches auto-templates and normal items, auto-templates are always presented first.

Auto-templates are stored in the Ventuz Project file and are shared among all shows based on a project. To see what auto-templates are available or to create new ones, go to the main menu Show / Project / Auto Templates... which will open the Auto Templates Editor. Let's take a closer look at the PB_Both auto-template that is currently selected in the following screenshot:

The top area of the Auto Templates Dialog shows the thumbnail of the template for which an auto-template is defined, here the PB_Both template. In the middle of the dialog is the regular expression text edit field. The bottom area of the dialog shows assignments of parts of the regular expression to data fields of the template itself.

To add a new template, simply press the add button in the top right corner and select a template, enter a regular expression and optionally connect parts of the regular expression by pressing the lower add button.

Regular Expressions

​Regular Expressions are a very powerful technique to match strings and can handle quite complex cases. However, that expressiveness can unfortunately also make it quite confusing to learn their syntax. The following is a short summary of the most important concepts:

A regular expression defines a pattern of characters that is searched for anywhere in the string the user entered into the shot box. The simplest regular expression is an exact string:

xyz

This would for example match the text This is an xyz test or xyzabc but not xy. The characters in the regular expression have to appear anywhere in the text in precisely that order.

Regular expressions are case sensitive! The expression abc will not match the string ABC.

Special Characters

There are however a number of characters that have a special meaning inside a regular expression. The following are the most important ones:

Character Description Example
. Matches any single character.
* Matches the preceding character any number of times. a*b matches ab but also aaaab.
+ Matches the preceding character at least one time. a+b matches ab and aaaab but not b
( and ) Group Brackets define a group of characters within an expression. For example, a(bc)*d would match abcbcd but not abccd since the * operator will be applied to the group defined within the brackets.
| Option The pipe character is used to express an option. a(bc|de|xy)f would match either abcf or adef or axyf but not abcdef.
[, ] Collection Defines as collection of characters from which exactly one is matched. So a[bcdef]g would match acg but not ahg or abcg. Note that collections allow ranges to be specified (e.g. [a-z]). A collection can be inverted by the ^ character (e.g. [^\d] would match any non-digit character).
^ The start of the text. ^xyz would match xyzabc but not axyzbc.
$ The end of the text. xyz$ would match abcxyz but not abxyzc.
\s A whitespace character
\d A digit Matches 0-9, so \d-\d would match 2-9 but not 29 or 2-9.
\(, \), \[, \], \*, \+, \?, and more Syntax characters There are various characters that have a special meaning inside a regular expression. To match the literal character, such a character has to be escaped by a preceding backslash.
\\ A backslash Since the backslash is used to escape other characters, matching an actual backslash in the text requires \\

If a regular expression does not work as expected, it is often due to insufficient escaping of brackets or other syntax characters.

Named Groups

As we have seen above, opening and closing brackets can be used to group a set of characters. Such a group can be assigned a name by using the

(?<nameofgroup>pattern)

syntax. Naming of groups is important as it allows us to connect parts of the match string with template data fields. So let's revisit the example from the screenshot above:

^pbb\s*(?<code1>\d\d\d),\s*(?<code2>\d\d\d)$
  • The ^ and $ mean that this expression has to match the complete string that is entered into the shot box, from start to end.
  • pbb: are just three characters, so whatever the user enters it has to start with pbb or the auto-template will not match.
  • \s*: After the characters pbb there can be any amount of white-space characters, even zero.
  • (?<code1>\d\d\d): This now is a group named code1. It matches exactly three digits.
  • ,\s*: After the three numbers, a comma must follow plus - optionally - an arbitrary number of white-space characters.
  • (?<code2>\d\d\d): A second named group matching exactly three digits.

So the regular expression would match

pbb 102, 304

but

pbb 1 3

would fail (no comma between the two numbers and the numbers don't have three digits each).

Examples

Pattern Description
abc Matches a string that contains the characters abc anywhere in the string.
^abc$ Matches only exactly the string abc.
^pbl\s*(?<code>\d\d\d)$ Matches a string that starts with pbl and is followed by a three digit number. Optionally the characters and the digits are separated by white-space characters. The value of the three digits is available as the named group code.
^ns\s*(?<text1>[^\d][\w\s]*)$ Matches a string that starts with ns and is then followed by a string that contains only letters, numbers and white-spaces and does not start with a digit.

See also:
  • ​Regular Expressions
  • ​MSDN: Regular Expression Language - Quick Reference

« Previous Article
» Index «
Next Article »
Copyright 2020 Ventuz Technology