[vtkusers] 3D model and 2d Image overlay - depth issues, flickering
manikandtan.ck
manikandtan.ck at gmail.com
Thu Nov 7 23:34:17 EST 2013
Miro Drahos wrote
> Try to keep just one camera and set the other renderer to it:
>
> ren2->SetActiveCamera(ren->GetActiveCamera());
Thanks for that. I tried with one camera and the interactivity quirks
mentioned before are gone.
But the flickering shown in the first post remains.
> Also, do you really need all these
>
> rw->SetWindowId(hWnd); * //rw is vtkWin32OpenGLRenderWindow*
> rw->SetParentId(hWnd);
> rw->SetDeviceContext(hDC);
> rw->SetContextId(hRC);
>
> Why not just create vtkRenderWindow and let VTK deal with the device/OS
> specific-issues?
I need these because the program is built with MFC at its core. Volume
rendering is just one of the modules of the main program. The output should
be rendered in the MFC window throughout the program.
--
View this message in context: http://vtk.1045678.n5.nabble.com/3D-model-and-2d-Image-overlay-depth-issues-flickering-tp5724298p5724355.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list