I believe you are talking about the server-side render window that pops up.
I am attaching a experimental patch to get you started. It works only
on Linux. All I am doing it not mapping the window. Now when you run
server with offscreen:
pvserver --use-offscreen-rendering
and connect to it from ParaView client, you should no longer see any
server-side windows when remote rendering.
Of course the patch is more of a hack, but it should give you a starting point.
Utkarsh
On Mon, Dec 7, 2009 at 11:44 AM, Adriano Gagliardi <[email protected]> wrote:
>
> Does anyone know how to disable the pop-up window for opengl rendering? If
> it isn't possible via the interactive interface, could someone give me
> pointers as to where in the source code this is called? It's something I'd
> really like to get rid of without having to use software-based rendering.
>
> Cheers,
>
> Adriano
>
> ===================================
>
> Adriano Gagliardi MEng PhD
> Project Scientist
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: [email protected]
> Url: www.ara.co.uk
>
>
> ---------------------------
> This email contains information that is private and confidential and is
> intended only for the addressee. If you are not the intended recipient
> please delete it and notify us immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by someone other
> than the recipient, for system management and security reasons.
> Aircraft Research Association Ltd. Registered in England, Registration No
> 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB
> 196351245
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
? VTK/Rendering/Testing/Cxx/TestAnimationScene2.cxx
Index: VTK/Rendering/vtkXOpenGLRenderWindow.cxx
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx,v
retrieving revision 1.104
diff -u -3 -p -r1.104 vtkXOpenGLRenderWindow.cxx
--- VTK/Rendering/vtkXOpenGLRenderWindow.cxx 20 Apr 2009 14:08:45 -0000 1.104
+++ VTK/Rendering/vtkXOpenGLRenderWindow.cxx 1 Oct 2009 21:57:46 -0000
@@ -643,18 +643,18 @@ void vtkXOpenGLRenderWindow::CreateAWind
if(this->OwnWindow)
{
- vtkDebugMacro(" Mapping the xwindow\n");
- XMapWindow(this->DisplayId, this->WindowId);
- XSync(this->DisplayId,False);
- XGetWindowAttributes(this->DisplayId,
- this->WindowId,&winattr);
- // guarantee that the window is mapped before the program continues
- // on to do the OpenGL rendering.
- while (winattr.map_state == IsUnmapped)
- {
- XGetWindowAttributes(this->DisplayId,
- this->WindowId,&winattr);
- }
+ //vtkDebugMacro(" Mapping the xwindow\n");
+ //XMapWindow(this->DisplayId, this->WindowId);
+ //XSync(this->DisplayId,False);
+ //XGetWindowAttributes(this->DisplayId,
+ // this->WindowId,&winattr);
+ //// guarantee that the window is mapped before the program continues
+ //// on to do the OpenGL rendering.
+ //while (winattr.map_state == IsUnmapped)
+ // {
+ // XGetWindowAttributes(this->DisplayId,
+ // this->WindowId,&winattr);
+ // }
}
// free the visual info
if (v)
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview