[vtkusers] vtk w/ CAVElib and clipping

Tony Lavoie lavoie at mcs.anl.gov
Mon Jul 23 16:42:17 EDT 2001


On Thu, 19 Jul 2001, John Biddiscombe wrote:
> >if I translate it vertically (set with PolyDataMapper::SetTranslation)
> Does the problem go away if you use a vtkTranslatePointsFilter instead of 
> the translation mentioned.

Sorry, my mistake- it's vtkActor where I was using SetPosition. Above a
certain value, it stops getting rendered. And using a
vtkTransformPolyDataFilter before the mapper doesn't make any difference.
Everytime the actor gets rendered I have a cerr statement tell me if there
are any clipping planes defined (I wrote it into vtkOpenGLPolyDataMapper).
I get a lot of those statements, but as soon as it's translated +y too
much, no more messages. (and no more head data set rendered, either).

All I can think is that the transformations applied to the dataset (before
and after the PolyDataMapper) are somehow triggering something to say not
to render it. Because if I translate it down again, it'll reappear.

Any other ideas?

-Tony, quite stumped





More information about the vtkusers mailing list