[vtkusers] how to get a colorful cube from vtkCubeSource?&In-Reply-To=479440.12638.qm at web61313.mail.

Tracy Hu tracy.hu at yahoo.com
Fri Nov 16 18:41:31 EST 2007


if you add 
    box->Update();
immediately after vtkCubeSource *box = vtkCubeSource::New();

you should see a colorful cube. I think this has to do with vtk pipeline's demand-driven feature.




       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071116/8543e025/attachment.htm>


More information about the vtkusers mailing list