[vtkusers] vtkStripper too slow

Pelt, R.F.P. van R.F.P.v.Pelt at tue.nl
Sun Jan 18 16:02:53 EST 2009


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).

 

Thanks!

 

Regards,

 

Roy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090118/34aaa309/attachment.htm>


More information about the vtkusers mailing list