[vtkusers] Question about vtkCamera
Chunyan Jiang
jiang at TI.FhG.DE
Mon Jan 13 11:18:34 EST 2003
Hello,
I define my vtkCamera and set it in vtkRenderer as the following code:
Camera = vtkCamera::New();
Camera->SetPosition(0,0,-20 );
Camera->SetFocalPoint( 0,0,0 );
ren1=vtkRenderer::New();
renWin->AddRenderer(ren1);
ren1->SetActiveCamera(Camera);
It is very strange that when I render it, it does not display. Only when I
click the mouse button, it will display. Because I have set
vtkRenderWindowInteractor, the window will be updated when I click mouse
button. Why does it not display in the beginning? How can I do? Please give
me some hints. Thank you very much!
Chunyan
***********************************************************************
Chunyan Jiang, Dipl.-Inform.,
Institut for Telematic
Bahnhofstrasse 30-32, D-54292 Trier, Germany
Phone: (+49) (0)651-97551-34
Fax: (+49) (0)651-97551-12
***********************************************************************
More information about the vtkusers
mailing list