RE: trouble managing DVR by hand

New Message Reply Date view Thread view Subject view Author view

From: ihawkes2++at++csc.com.au
Date: 02/11/2001 14:39:50


Hi Yuri,
Don't know if this will help, but it works for me:

In post config, for each channel:
      pvchan = chan->getPVChan();
      pvchan->setMinScale(FLT_MIN, FLT_MIN);
      chan->setProjMode(PFCHAN_PROJ_WINDOW);
      pvchan->setDVRMode(PFPVC_DVR_MANUAL);

In APP (must be done between pfSync & pfFrame), for each channel:
               pvchan->setAreaScale(_dvrScale);
     where _dvrScale may be derived from things like pvchan->getLoad() and pipe->getLoad()

In post draw (if you want some visual evidence of the DVR whilst developing), for each channel
       pfuDrawChanDVRBox(chan);

Note also, you are supposed to run DVR full screen and I've noticed that
some resolutions give weird results (but 1280x1024 is OK).

Hope it helps,
Ian Hawkes
CSC Australia

"Juan R. Sáenz-Diez (Yuri)" <jrsdm++at++acm.org> on 10/02/2001 05:54:16

Please respond to "Juan R. Sáenz-Diez (Yuri)" <jrsdm++at++acm.org>

To: "Juan R. Sáenz-Diez (Yuri)" <jrsdm++at++acm.org>, "Angus Dorbie"
      <dorbie++at++sgi.com>
cc: "Info Performer" <info-performer++at++sgi.com>
Subject: RE: trouble managing DVR by hand

No difference doing it from DRAW, any other idea?
Regards,
Yuri.

----- Original Message -----
From: Juan R. Sáenz-Diez (Yuri) <jrsdm++at++acm.org>
To: Angus Dorbie <dorbie++at++sgi.com>
Cc: Info Performer <info-performer++at++sgi.com>
Sent: Thursday, February 08, 2001 11:50 PM
Subject: RE: trouble managing DVR by hand

Hi ANgus,

I set MANUAL mode to DVR, then scale once per frame or once every other
frame, etc, from APP on an APP_CULL_DRAW mp model. Should it be from DRAW?
(can't try until tomorrow).
Thank you,
Yuri.

----- Original Message -----
From: Angus Dorbie <dorbie++at++sgi.com>
To: Juan R. Sáenz-Diez (Yuri) <jrsdm++at++acm.org>
Cc: Info Performer <info-performer++at++sgi.com>
Sent: Thursday, February 08, 2001 6:30 AM
Subject: Re: trouble managing DVR by hand

> Do you set the DVR scale yourself or rely entirely on the Performer load
> management?
>
> In which process do you adjust DVR?
>
> What is your pfMultiprocess model?
>
> Cheers,ANgus.
>
> > "Juan R. Sáenz-Diez (Yuri)" wrote:
> >
> > pfHi,
> >
> > I am trying to dynamically set DVR channel scale in order to do some
> > predictive stress management. I have an iR2, 2 RM, 1x1280x1024++at++60 so
> > things should be simple (I think). It works, but with a lot of garbage
> > and problems:
> >
> > - I see garbage coming from the bottom of the screen, specially when
> > scales change rapidly from frame to frame (looks like)
> > - I miss frames randomly at any time, even in areas where I would not
> > do so without DVR'ing down the screen because I might be flying high
> > or somehow with low DRAW load
> >
> > Maybe I'm scaling too hard or too often, but I have seen no
> > improvements by limiting this to a minimum scale, a maximum change in
> > scale, or even a maximum frequency of scale updates. Doing such things
> > end up spoiling the usefulness of DVR. In demo mode, the application
> > is flown with the mouse -- anything to do with it?
> >
> > Any ideas? TIA for your kind help.
> >
> > Regards,
> > Yuri.
>
> --
> For Performer+OpenGL tutorials http://www.dorbie.com/
>
> "In the middle of difficulty lies opportunity."
> --Albert Einstein

-----------------------------------------------------------------------
 List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Open Development Project: http://oss.sgi.com/projects/performer/
             Submissions: info-performer++at++sgi.com
         Admin. requests: info-performer-request++at++sgi.com

-----------------------------------------------------------------------
 List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Open Development Project: http://oss.sgi.com/projects/performer/
             Submissions: info-performer++at++sgi.com
         Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Feb 11 2001 - 14:56:16 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.