On 11. May 2011, at 12:50, erij89 [via Software] wrote:

> Now I created a class that subclasses eq::Window. The problem is, that it 
> creates a window by itself. But I want it to be an offscreen renderer that 
> does not read its size from the EqualizerConfig since it has to be adjustible 
> at runtime. 

What does it do with the result?

> Is it necessary to have my eq::Window subclass hold an osgViewer::Viewer or 
> can I just subclass both osgViewer::Viewer and eq::Window in one class and 
> adjust my pbuffer settings in order to get an offscreen viewer and prevent 
> Equalizer from initializing a window? 

The glue to the operation system is in SystemWindow and its derived classes 
AGL/WGL/GLXWindow. You can subclass these, overwrite configInitFOODrawable and 
create your PBuffer there. You might have to call setPixelViewport to let Eq 
now about your change.


HTH,

Stefan.



--
View this message in context: 
http://software.1713.n2.nabble.com/IPP-and-GBuffer-generation-and-usage-tp6328643p6353036.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to