From: Herbert Gartner (gartner++at++imagination.at)
Date: 03/05/2003 04:50:21
hi performers,
i've been browsing the performer-docs'n'sourcecode for infos about using
stereo in a multi-pipe/multi-channel-setup ... well, there are still too
many open questions for me to connect the "tiny pieces" of info in the
docs, so maybe someone here has other/more hints...
the (hardware) setup for this project:
ONYX 300 (4 proc) IR4 2 pipes (2 channels per pipe)
both pipes are running a 2++at++1280x1024_96s IRcombine-setup (which means
one pipe manages a 2560x1024-area with 2 channels side-by-side, active
stereo 96Hz(=48Hz/eye))
this setup drives a curved-wall projection-system from barco with 3
stereo projectors covering the projection-screen (actually there are 3x2
= 6 projectors, with 2 stacked projectors connected to one
hardware-channel via some "magic" active2passive-converter from barco)
so the application will use 2 channels from pipe 0 and only one channel
from pipe 1.
ok, now I have several possibilites for the basic program structure:
1.) pfvViewer-based:
qu.1a) how to define pfChannels to HW-channel setup?
a sample-configuration from the Programming Guide for a 3-pipe setup:
<?xml version="1.0" ?>
<viewer>
<!-- Display specifications -->
<display>
<!-- Configure middle pipe -->
<pipe>
<!-- direct middle pipe to screen 0 -->
<screen>0</screen>
<!-- Configure a single pipe-window on middle pipe -->
<pwin>
<!-- set pipe-window to fullscreen, no border -->
<fullscreen>1</fullscreen>
<border>0</border>
<!-- Configure a single channel on pipe-window -->
<chan>
<viewrange>0.32,0.68,0.0,1.0</viewrange>
<hprOffset>0.0,0.0,0.0</hprOffset>
<fov>59.0,46.0</fov>
</chan>
</pwin>
</pipe>
<!-- Configure right pipe -->
<pipe>
<screen>1</screen>
<pwin>
<!-- set pipe-window to fullscreen, no border -->
<fullscreen>1</fullscreen>
<border>0</border>
<!-- Configure a single channel on pipe-window -->
<chan>
<viewrange>0.64,1.0,0.0,1.0</viewrange>
<hprOffset>-53.333,0.0,0.0</hprOffset>
<fov>59.0,46.0</fov>
</chan>
</pwin>
</pipe>
<!-- Configure left pipe -->
<pipe>
<screen>2</screen>
<pwin>
<!-- set pipe-window to fullscreen, no border -->
<fullscreen>1</fullscreen>
<border>0</border>
<!-- Configure a single channel on pipe-window -->
<chan>
<viewrange>0.0,0.36,0.0,1.0</viewrange>
<hprOffset>53.333,0.0,0.0</hprOffset>
<fov>59.0,46.0</fov>
</chan>
</pwin>
</pipe>
</display>
does 1 <pipe>-def here correspond to 1 HW-pipe or 1 channel of 1 pipe?
does the <screen>-tag help with this and how?
qu.1b) howto integrate stereo into the pfViewer approach?
can i use a module and switch left/right-buffer in preDraw()-callback?
(compared to stereo.c from src/pguide/C i don't have the second argument
where i can pass left/right-info ... well, maybe i could use
pfvObject-Names for that)
2.) use MultiPipe-SDK
this approach uses the pfvDisplayMngr-Class for reading MPK-config, but
there is not much info on how to integrate with the pfvViewer-modell for
stereo etc. (i've no access to the onyx and testing with a linux-box at
the moment, so i can't browse the MultiPipeSDK-docs - maybe there is
more info)
3.) use perfly-src
hmm, i'll have a closer look into this, if the first two approaches have
major drawbacks.
thanx for any help/suggestions/...
herbert
-- ------------------------------------------------------------- DI Herbert Gartner | email: gartner++at++imagination.at imagination gmbh | phone: +43 1 20501 - 33 310
This archive was generated by hypermail 2b29 : Wed Mar 05 2003 - 04:48:18 PST