Vz

From M1Research

Revision as of 21:34, 6 January 2006 by Verem (Talk | contribs)
Jump to: navigation, search

vz (ViZualizator) Real-Time TV graphics production system

Overview

vz (ViZualizator) is software complex for generation realtime TV-graphics. Its based on OpenGL rendering engine that perform rendering target picture in video adapter's framebuffer and block code that transfer framebuffer from videocard to video output adapter's framebuffer.

Rendering objects list is supplied from external file (in XML format). It's tree - based description of graphics primitives layout and operation about parameters changing.

Managing of vz behavior performed by external program that communicate with main rendering module using TCP protocol. Main program provides telnet-like shell where external commands send throw using predefined syntax. Command could be used for loading "scene" file (primitives layout), modification parameters of graphic primitives or for starting/stopping timeline's complex (called director).

Video output provided by professional video adapter (for now it's only StreamAlphaPlus card tested). Output driver could be written for almost all adapters with open SDK.

Examples/Samples

This section contains description of demo projects (samples) with explaination of how to use that one. Samples supplied with precompiled application. You can use theese samples for understanding of vz architecture and building own scene.

It's a best way to describe a features and behavior of software

Sample #1

Find appropriate "telnet" program for operating. "putty" is nice free program.

Step by step with screen shot explaination:

  • 0. Install and start application
  • 1. Start telnet program, connect to remote tcp port and load scene:
[verem@pamir vz]$ telnet dev-2 8001
Trying 10.1.5.63...
Connected to dev-2.internal.m1stereo.tv (10.1.5.63).
Escape character is '^]'.
ViZualizator (vz-1.00-test-rc0) [tcpserver]
 
vz in$> renderman.load(./projects/demo1.xml)
vz out$> OK!Load
vz in$>

As result you can see scene loaded:

  • 2. Setup values of approprate fields and start "director" to show up content:
vz in$> scene.tree.function.text_1.s_text=Maksym Veremeyenko
vz out$> OK
vz in$> scene.tree.function.text_2.s_text=ViZualizator developer
vz out$> OK
vz in$> scene.tree.motion.director.main.start()
vz out$> OK
vz in$>
  • 3. After few seconds hide the scene:
vz in$> scene.tree.motion.director.main.cont()
vz out$> OK
vz in$> quit
vz out$> Bye!
Connection closed by foreign host.
[verem@pamir vz]$
  • 4. To continue, assign new values for fields and start show, see step 2
Personal tools