Re: movietex.c in OpenGL.
Rob Jenkins (robj++at++barney.reading.sgi.com)
Wed, 19 Jun 1996 17:52:49 +0100
On Jun 20, 6:15pm, brainval wrote:
> Subject: movietex.c in OpenGL.
>
> Hello,
>
> I'm trying to compile the program:
>
> /usr/share/Performer/src/pguide/libpr/C/movietex.c
>
> in OPENGL, and with the HAVE_VL defined as 1.
>
> But, this section of code:
>
> #ifndef IRISGL /* OPENGL */
> {
> GLXVideoSourceSGIX videosource;
> videosource = glXCreateGLXVideoSourceSGIX(Dsp, 0 /* screen */,
> vlServer, vlPath, VL_TEXTURE, vlDrn)) == None);
> glXMakeCurrentReadSGI(Dsp,
> pfGetWinWSDrawable(Win), pfGetWinWSDrawable(Win), /* ??? */
> pfGetWinGLCxt(Win));
> }
> #endif
>
> is impossible to compile.
>
> Why?
> Why this functions aren't defined anywhere ?
>
>
> Is there another way to use Video Texturing in Performer with OpenGL?
> May be there is some other demo about that, isn't it?
>
>
> Thank You, and
> Looking forward to hearing from you soon.
>
> Hector Viguer
> Brainstorm Multimedia.
> Software Development.
>
> --
> brainval++at++ehome.encis.es
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from brainval
I think you need the SGIX_video_source OpenGL extension which is in patch 918.
Cheers
Rob
--
________________________________________________________________
Rob Jenkins, Software Support Group, Silicon Graphics UK Ltd.
Forum 1, Station Road, Theale, Reading, UK, RG7 4SB.
tel 01734 257736, fax 01734 257553, email robj++at++reading.sgi.com,
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:53:02 PDT