Re: [info-performer] PBuffer

New Message Reply Date view Thread view Subject view Author view

From: Alexander Lechner (alexander.lechner++at++vertigo-systems.de)
Date: 02/18/2003 01:54:00


Hi Alexandre!

What about a channel callback and then call glXMakeCurrent with your own
pbuffer context. Then call pfDraw[Scene]. You can restore performer's
context if you saved the contet with glXGetCurrentContext.
Regards,

Alex

-- 
Alexander.Lechner     ++at++        vertigo-systems.de
Engelbertstraße 30    |    phone: +49-221-2405472
D-50674 Köln          |      fax: +49-221-34892616

> Hi, > > I'm trying to render with Performer a scene in an off-screen buffer (PBuffer). > Linux (mdk 9.0), Performer 3.0 but it didn't work on Performer 2.5 as well. > GeForce 4 (Ti4600) > > I've already send an email about that 3 months ago but I still have the > problem > and I can not believe that nobody use the off-screen rendering on Linux!! > > Because it doesn't work, until now I've used a window to do this off-screen > rendering > but I would like a better solution! > > > The Performer example /usr/share/Performer/src/pguide/libpf/C/pbuffer.c > doesn't work and crash with this message : >> PF Warning/Usage: pfWindow::open - window of type PFWIN_TYPE_PBUFFER - >> required GLXFBConfig is NULL - set with ::setFBConfig. > But setFBConfig is called!! > > > So my other solution would be to open a PBuffer without Performer (it works) > but > then how can I say to Performer to render the scene into this PBuffer? > > > > If someone has an example of off-screen rendering on Linux, I would > appreciate. > > > Thanks, > Alex > > > -- > Alexandre Meyer <A.Meyer++at++cs.ucl.ac.uk> > University College London, Virtual Environments and Computer Graphics Lab > http://www.cs.ucl.ac.uk/staff/a.meyer >


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Feb 18 2003 - 01:56:57 PST

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