From: Raphael Grasset (raphael.grasset++at++imag.fr)
Date: 05/29/2001 04:31:03
Hi everyone,
I'm interesting to do augmented reality with Performer. For this I must
use video input and output.
I have a lot of problems with Performer. It is very DIFFICULT to use
Performer with the video contrary to
openGL (lot of examples with openGL, few with Performer). A lot of
questions have no answers in the mailing list and samples are poor. Why
samples in C furnish with Performer are not ALL converted in C++ ? (like
movietex.c divotex.c dmvto2.c ?). Have you no complex samples that use
video (with VL or DMedia) and audio (AL)?
I'm working with Onyx2 (8 channels DG-8) and DIVO card, and also an O2
(I want . For the output I use a i-glasses HMD.
INPUT
In a first time, I want to do live video background (put video on the
background and after add the virtual object).
Can we use the dmedia library (with dmbuffer) on Onyx2 ?
(dmbuffermapdata work ?). Samples WITH Performer ?
Can we use the dmSDK library on Onyx2 AND O2 ? (stable version ?)
For this I use VL : open the server, create a path, select event begin
transfert, and use vlGetLatestValid(server,buffer) and
vlGetActiveRegion(server,buffer,info) to obtain the videobuffer.
The first approach is to have a separate process for the video (treat VL
event and acquire the video frame), that communicate with the draw
process with a shared buffer (that contain the video). The draw process
have just to do a drawpixels() with the videoimage. Is it a good
solution ? Can someone have some samples ?
How manage video with Performer ? Approach ? Method ?
Can we treat the VL event or ignore them ? (like the movietex.c just do
a vlGetLatestValid ?)
A second solution for the live video background is to use a texture
background, similar approach of stephane jaeger. Comment
(latency,memory, cpu usage) ? More fast ?
OUTPUT VIDEO
For this I use ircombine and the PAL output (select screen area to
output in the PAL channel). Best solution ? Faster than use DIVO output
?
Someone have try to output VGA from a SGI with i-glasses ? comment ?
If it possible, some samples in C++, or Video class in C++ can help me.
Thanks in advance.
Raphael Grasset.
__________________________________________________________________________
Raphaël GRASSET | Doctorant (Phd Student) | iMAGIS-GRAVIR
--------------------------------------------------------------------------
raphael.grasset++at++imag.fr http://www-imagis.imag.fr/Membres/Raphael.Grasset
Tel:+33(0)4.76.61.55.17 Fax:+33(0)4.76.61.54.40
iMAGIS- Laboratoire GRAVIR INRIA Rhône-Alpes
655, avenue de l'Europe 38330 Saint-Ismier Cedex FRANCE
__________________________________________________________________________
This archive was generated by hypermail 2b29 : Tue May 29 2001 - 04:29:58 PDT