[vtkusers] vtkStripper too slow
Mathieu Malaterre
mathieu.malaterre at gmail.com
Tue Jan 20 06:33:49 EST 2009
On Sun, Jan 18, 2009 at 10:02 PM, Pelt, R.F.P. van <R.F.P.v.Pelt at tue.nl> wrote:
> Dear all,
>
>
>
> I'm trying to create a vtkImageWidget, which renders on the GPU.
>
> Therefore I have a Volume and VolumeMapper for the rendering of the plane,
> and
>
> I take a vtkPlaneWidget to control the plane orientation.
>
>
>
> I've got the concept going, but it's rather slow. The bottleneck is the
> vtkStripper.
>
> For each frame I take the output of the vtkCutter to get the polygons of the
>
> image plane in the current orientation. Next, I use the stripper to
> transform
>
> this to triangle fans, so that I can render this with OpenGL immediate mode.
>
>
>
> Is there a faster way to get the polygons rendered with OpenGL.
>
> (I need this to add texture coordinates for the GPU rendering).
Do you have a small reproducible case ?
Thanks,
--
Mathieu
More information about the vtkusers
mailing list