Re: DIVO video texturing

New Message Reply Date view Thread view Subject view Author view

Chris Malley (cmalley++at++aspen.evt.com)
Thu, 19 Aug 1999 09:10:09 -0600


In response to my previous posting, I received several responses
showing how to do video texturing in OpenGL. While I appreciate
the responses, I'm trying to understand how this is done in
Peformer (hence the posting to info-performer). So far,
I've received no responses related to Performer. Maybe if
I get a little more specific...

First, has anyone managed to make movietex.c work with DIVO?
I've had no luck...

Next is the code snippet from movietext.c that I don't understand.
If someone can explain what's going on here, I'd appreciate it.
Note that there is no man page for pfTexLoadVal() and PFTEX_SOURCE_VIDEO
is (IMHO) poorly described in the pfTexLoadMode() man page.
Does this code cause the texture to be fed directly from the VL path?
Do things like vlDMBufferGetValid() happen automatically?

    pfTexLoadMode(Shared->vtex, PFTEX_LOAD_SOURCE, PFTEX_SOURCE_VIDEO);
    pfTexLoadVal(Shared->vtex, PFTEX_LOAD_VIDEO_VLSERVER,
(void*)Shared->svr);
    pfTexLoadVal(Shared->vtex, PFTEX_LOAD_VIDEO_VLPATH,
(void*)Shared->path);
    pfTexLoadVal(Shared->vtex, PFTEX_LOAD_VIDEO_VLDRAIN,
(void*)Shared->drn);

Finally, is the approach used by movietex.c the optimal (or only) way to
do Pf video texturing with DIVO? There is mention in the pfTexLoadMode
man page that glXMakeCurrentReadSGI() must be called every frame
in the drawing process to reset the OpenGL read source. Is this true?
What if my application doesn't allow this? Am I out of luck?

Thanks for your help,

-Chris

-- 
RT-SET Broadcast Graphics Division       Voice : 303-465-1556 x119
100 Technology Drive, Suite 100          FAX   : 303-465-2012
Broomfield, CO 80021                     Web   : http://www.rtset.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Aug 19 1999 - 08:10:14 PDT

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