[vtkusers] Abnormal phenomena of VTK on 64-bits Windows XP

tangly tangly0508 at hotmail.com
Sun Dec 4 22:55:52 EST 2011


Hi all, 

I run the simple example on 64-bits Widows XP ,MFC2008,when the camera rotate to a specal degee, a bottom margin of the cone become abnormal very bright!anybody,any idea?Thanks!
Tangly
code:  ------------------------------------------------------------------   vtkConeSource *cone = vtkConeSource::New();  cone->SetHeight( 3.0 );  cone->SetRadius( 1.0 );  cone->SetResolution( 10 );
   vtkPolyDataMapper *coneMapper = vtkPolyDataMapper::New();  coneMapper->SetInput( cone->GetOutput() );
  vtkActor *coneActor = vtkActor::New();  coneActor->SetMapper( coneMapper );
  vtkRenderer *ren1= vtkRenderer::New();  ren1->AddActor( coneActor );  ren1->SetBackground( 0.1, 0.2, 0.4 );
  vtkRenderWindow *renWin = vtkRenderWindow::New();  renWin->AddRenderer( ren1 );  renWin->SetSize( 300, 300 );
   int i;  for (i = 0; i < 360000; ++i)    {        renWin->Render();     ren1->GetActiveCamera()->Azimuth( 1.0 );    }
  cone->Delete();  coneMapper->Delete();  coneActor->Delete();  ren1->Delete();  renWin->Delete();  ------------------------------------------------------------------------- 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111205/adf963c7/attachment.htm>


More information about the vtkusers mailing list