[vtkusers] Moving 2D image in 3D space

Raphael Sebbe raphael.sebbe at tcts.fpms.ac.be
Mon Feb 17 09:12:27 EST 2003


Sampler tells me it comes from 
vtkOpenGLTexture::ResampleToPowerOfTwo(), where almost half of the CPU 
time is spent. I guess next step is to render it to black padded, power 
of two sized image and use texture coordinates that fit only a region 
of that. Or is there an easier route ?

Raphael

On Monday, February 17, 2003, at 02:52 PM, Raphael Sebbe wrote:

> Thanks, that works. But it is slow. I don't understand why, as it 
> should come down to the same set of GL commands in the end (when 
> compared to image actor).
>
> Raphael
>
>
> On Sunday, February 16, 2003, at 10:29 PM, 
> David.Pont at ForestResearch.co.nz wrote:
>




More information about the vtkusers mailing list