Re: trouble managing DVR by hand

New Message Reply Date view Thread view Subject view Author view

From: Angus Dorbie (dorbie++at++sgi.com)
Date: 02/12/2001 09:41:45


No you don't want to do this from draw.

There's a tight relationship between setting the video at the
appropriate time and adjusting the viewport to match.

To do DVR Performer must change the viewport size and immediately before
the frame it swaps that viewport to the frontbuffer it must change the
video vcrectzoom settings (although the timing isn't as hairy as it
sounds). Messing around with DVR calls in the draw will undoubtedly
cause more problems. I just wanted to ensure you weren't doing that.

Ian Hawkes has posted some good advice, if that doesn't fix your problem
then I'll need some simple sample code which shows the bug.

Cheers,Angus.

"Juan R. Sáenz-Diez (Yuri)" wrote:
>
> 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

-- 
For Performer+OpenGL tutorials http://www.dorbie.com/

"In the middle of difficulty lies opportunity." --Albert Einstein


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Feb 12 2001 - 09:42:23 PST

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