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 »

DataBase

DataBase This node provides bi-directional communication with ODBC, MSSQL, OleDB, Oracle or MySQL databases within a scene.
Query This node provides a database query command.
NonQuery This node provides a database non-query command.
Row This node provides a database row access.
ColConcat This node provides a database column concatenation functionality.
Scalar This node provides a scaler database command.

The Database functionality inside Ventuz is based on the ​ADO.NET (System.Data .NET framework and supports ​ODBC, ​MS-SQL, ​OleDB, ​Oracle and ​MySQL. Setting up and querying a database is a complex topic and doing a comprehensive introduction is beyond the scope of this documentation. It is therefore assumed that the reader has sufficient knowledge of databases that this documentation can focus on the Ventuz specific aspects.

It is currently not possible to directly access an sqlite file. For more information what specific setups are supported, please refer to the ​MSDN: System.Data Framework documentation.

Database

The Database node is the central element of interacting with a database. In addition to the database Type, a ConnectionString has to be specified. A connection string specifies all information that is required to access a database, including the URI of the database, required passwords and user accounts, and much more. To construct an appropriate connection string, consult the MSDN documentation:

  • ​MSDN: ODBC connection string
  • ​MSDN: OleDB connection string
  • ​MSDN: Oracle connection string
  • ​MSDN: SQL connection string

As an example, to connect to an Access database file located at C:\Temp\database.db the connection string might look like this:

Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Temp\database.db;User Id=admin;Password=;

Please note that many ODBC/Ole Providers are not available for Windows 64bit operating system! Since Ventuz is running as a 64 bit process it is not able to load the 32 bit version in ​WoW mode!

Query

To query a database for information, add a Query node to the scene and bind its Database input property to a Database node. To edit the query string itself, press the Edit SQL button at the bottom of the Property Editor.

Ventuz currently uses the Script Editor UI for specifying the query string. Since each database language has its particularities, the Script Editor may report errors for some language specific constructions which are perfectly valid. To verify a query was correctly compiled, save & close the query and check the Message View for errors.

Besides the actual query statement itself, a number of input and output properties can be created. Input properties can be used to fill parameters in the query statements, for example an input property with the name @street would be filled into the WHERE-clause.

SELECT description from Club WHERE address=@street

The Output Properties can be used for getting output values. If the name of an output property exactly matches the name of one of the column names specified in the query, its value will be filled with the value of that column in the row specified with Row.

The @-syntax for parameters are MS-SQL specific and may be different in other SQL dialects. Please check the documentation of your SQL server.

The MaxRows property defines how many row are stored into the result DataSet. If possible try to avoid SQL queries that return thousand of rows which are limited by MaxRows. This could impact the query performance drastically. The use of PAGE or ROWCOUNT techniques may help here - but are not supported by all SQL dialects.

Row

If a Query returns more than one row, one needs a way to iterate over the different rows. This is done with the Row Node which can be bound to a Query Node. Same as with the Query, the Custom Model can be used to add output properties that have the same name as the table columns. By changing the Row input property, a specific row of the result data set can be selected.

Column Concatenation

As an alternative to the Row node, a Column Concatenation can be used to produce one joined string composed of the entries of the individual rows. The node accepts both a Column name and a Separator string which is inserted between two consecutive entries. The result string could be used to create a dynamic SQL statement again (see Convert to Text node).

Scalar Operation

The Scalar Node provides the ability to execute aggregate functions that deliver a numeric value such as COUNT.

Non Query

Non-Query is the .NET Framework term for database operations that do not retrieve or update table entries. It can be used to query information about or change the structure of tables among other things.

See also:
  • ​MSDN: System.Data Framework
  • Text File Node
  • XML Node

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