[vtkusers] Disappearing vtkActor after camera rotate

Slash1985 tpieciak at gmail.com
Fri Sep 18 12:06:17 EDT 2009


Dear Users,

I am trying to add simple functionality to my application, which rotates the
camera. Everything is fine, except vtkActor representing object which partly
disappearing.

On the left image current scene, on the right scene, which should look
like..
http://img19.imageshack.us/img19/8640/vtkactor.jpg

Here is the code corresponding to functionality:

	this->renderer->ResetCamera();
	this->renderer->GetActiveCamera()->Elevation(-70.0);
	this->renderer->GetActiveCamera()->Roll(-20.0);
	this->renderWindow->Render();	


Tomasz Pieciak
-- 
View this message in context: http://www.nabble.com/Disappearing-vtkActor-after-camera-rotate-tp25511349p25511349.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list