[info-performer] Dynamic Video Resolution

Date view Thread view Subject view Author view

From: faculaganymede (faculaganymede++at++yahoo.com)
Date: 05/25/2004 18:42:57


pfExperts,

I have a question related to Dynamic Video Resolution
(DVR). For reference, I am runing Performer 3.0, IRIX
6.5.20.

I wrote a test program to do dynamic video resizing.
The program creates a pipe window of size 512x512 and
sets the frame rate to 100Hz. The following is a code
fragment showing how I setup the pfPipeVideoChannel.
  
...
// Create and configure a pfChannel.
  pfChannel *chan = new pfChannel(p);
  chan->setScene(scene);
  chan->setFOV(45.0f, 0.0f);
  
  pfPipeVideoChannel * pvchan=chan->getPVChan(void);
  pvchan->setDVRMode(PFPVC_DVR_AUTO);
  pvchan->setStressFilter(frac, 0.80, 0.95f, 1.5f,
2.0f, 10.0f);
...

When I run the program, I get inconsistent results.
Sometimes DVR works, sometimes it doesn't and I get
two image scenes drawn in the pipe window, a small one
at the bottom left corner(1) and a big one in the
background(2), as shown in the diagram below.

   +----------------------------+
   | |
   | (2) |
   | |
   | |
   | |
   | |
   +----------+ |
   | | |
   | (1) | |
   | | |
   | | |
   +----------+-----------------+

I've done some look around but didn't find a lot of
examples in this area. Whoever's familiar with DVR,
please help.

=====
Thanks,
faculaganymede

        
                
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue May 25 2004 - 18:45:31 PDT