[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    RE: [vtk-developers] Offscreen rendering to FBO in CVS version
From:       <Thierry.CARRARD () CEA ! FR>
Date:       2007-12-10 15:35:16
Message-ID: C892277475E7FB4F90BC212EEE14CA837082C4 () U-SANTORIN ! dif ! dam ! intra ! cea ! fr
[Download RAW message or body]

I do agree,
this could be solved by adding a "UseFrameBufferOffScreen" flag at the \
vtkRenderWindow level, and apply the following change in the Initialize method of \
vtkXOpenGLRenderWindow.cxx :

before: if( ! this->CreateHardwareOffscreenRenderWindow(width,height) )
after: if( !this->GetUseFrameBufferOffScreen() || \
!this->CreateHardwareOffscreenRenderWindow(width,height) )

This would allow to have GLXPbuffer offscreen by default (for backward compatibility) \
and explicitly allow FBO offscreen when needed by calling \
ren->UseFrameBufferOffScreenOn()

Regards,
Thierry.


-----Message d'origine-----
De : vtk-developers-bounces+thierry.carrard=cea.fr@vtk.org \
[mailto:vtk-developers-bounces+thierry.carrard=cea.fr@vtk.org] De la part de Chris \
Kruszynski Envoyé : jeudi 18 octobre 2007 11:25
À : VTK Developers
Objet : [vtk-developers] Offscreen rendering to FBO in CVS version

Hello,

I noticed that recently rendering to FBO has been introduced as an 
offscreen rendering method in the CVS version. The FBO is attached to an 
OpenGL context which uses an on-screen window. This is kind of missing 
the point of having an off-screen render window, and it is also not 
quite the best use of an FBO. Can the FBO at least be attached to a 
pbuffer offscreen window instead of an on-screen window?

- Chris
_______________________________________________
vtk-developers mailing list
vtk-developers@vtk.org
http://www.vtk.org/mailman/listinfo/vtk-developers
_______________________________________________
vtk-developers mailing list
vtk-developers@vtk.org
http://www.vtk.org/mailman/listinfo/vtk-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic