[vtkusers] Multiple views of a single 3D scene

Thomas Sundgaard Pedersen sundgaard at inropa.com
Fri Jun 10 06:41:51 EDT 2005


This is what I do too. But when the render is loaded with many actors I
get the problem, some time it even totally kills my machine and windows
writes that my graphics driver no longer works, and shift to a very low
resolution with only 16 colors. With only one window it works fine, and
also with multiple documents.

Best Regards
Thomas
 

-----Original Message-----
From: de Boer Ingo [mailto:I.deBoer at polytec.de] 
Sent: 10. juni 2005 12:19
To: Thomas Sundgaard Pedersen; vtkusers at vtk.org
Subject: RE: [vtkusers] Multiple views of a single 3D scene

Hi Thomas,

theoretically, it is quite simple. You have an MDI application
where you store the data in the CDocument. In the CView you set
the renderer, the actors and all the stuff.

Take a look at the MDI-VTK samples which are shipped with the
VTK code. I just tried it. I opened one file and made three
new windows from it. I could move the object around independly
for all four windows.

It should work similiar with a splitter.


greets
  Ingo


---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255
 

> -----Original Message-----
> Subject: FW: [vtkusers] Multiple views of a single 3D scene
> 
> 
> Hi,
> 
> I also want to view the same scene in multiple windows from different
> angles at the same time. I use C++ with Visual Studio 6, and 
> have tried
> the Windows splitter Class CSplitterWnd, but this makes the vtk views
> unstable, showing actors in wrong size and/or color, or 
> renders nothing
> at all. Two views work some times, but fore views almost newer works.
> Please what can I do to view and interact with the same 
> render in a 2x2
> splitwindow?
> 
> Best Regards
> Thomas






More information about the vtkusers mailing list