if you add <br> box->Update();<br>immediately after vtkCubeSource *box = vtkCubeSource::New();<br><br>you should see a colorful cube. I think this has to do with vtk pipeline's demand-driven feature.<br><br><br><br><p> 
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>