[vtkusers] Flip VTK-Object - FINAL!

Peter Böttcher p.boettcher at anat.vetmed.uni-muenchen.de
Fri Oct 13 08:38:37 EDT 2000


Thank you. FlipNormals befor the negativ scale-value doesn't give the desired
result.
TransformPolyDataFilter in combination with Transform->Sacle(-x,-y,-z) and then the
PolyDataNormals->FlipNormals(TRUE) work. So the flipping must be done at the
beginning of the rendering pipeline ;-).

Thank you again

Peter.

Randy Heiland schrieb:

> Perhaps try the 'FlipNormals' flag on either vtkMCubesReader or
> vtkPolyDataNormals.
>
> --Randy
>
> On Oct 13,  2:11pm, Peter Böttcher wrote:
> > Subject: Re: [vtkusers] Flip VTK-Object
> > Thank you David. It works greate. Unfortunately with the negativ scaling the
> > surface of the object is inverted. So the colors/shagind/.. are directed into
> > the inside of the object making it dark and flat.
> >
> > Any idea?
> >
> > Peter.
> >
> > David Pont schrieb:
> >
> > > What about trying a scaling of -1 ? In theory this should invert the object
> > > through its origin. Then you have to work out how to combine this with your
> > > desired scaling, transformation etc to get the correct end result.
> > >

--
Dr. Peter Böttcher
|
|-Chirurgische Tierklinik
| Lehrstuhl für Allgemeine und Spezielle Chirurgie, einschließlich Augenkrankheiten

|
|-Institut für TieranatomieI
|
Ludwig-Maximilians-Universität München
Veterinärstr. 13
D-80539 München
Germany






More information about the vtkusers mailing list