[vtkusers] Problem reading in large textures in GeoTIFF format

Elvis Dowson elvis.dowson at mac.com
Thu Nov 6 08:01:09 EST 2008


Hi,
        I came across an old post with someone else with a similar  
problem. How can I activate the logic in VTK to break apart the  
texture into multiple smaller textures?

Here is a reply from Ken Martin
My guess is that this is due to a texture size limitation in your
hardware. If VTK tries to draw too large of a texture map some
hardware will simply fail to draw the texture map. The result is a
white rectangle on the screen. Since 4.0 we have added logic in VTK to
handle this an break apart the texture into multiple smaller texture
maps that do fit within the graphics hardware's limitations.

Ken



On Nov 6, 2008, at 4:50 PM, Elvis Dowson wrote:

> Hi,
>       I got a reply from the Mac OpenGL list that the max supported  
> texture size is 8K*8K, but that anything over 4K will give the  
> corrupted results.
>
> What do I do? The other textures are around 34MB in size. How can I  
> handle this using VTK? This texture is the land surface image that  
> will need to be draped over DEM data, and these files can be large.
>
> Best regards,
>
> Elvis Dowson
>
>
>
> Max texture size is 8k*8k on the 8600 (as reported), but I'm pretty
> sure anything over 4k gives the results you describe. I've experienced
> it, but as it takes down the machine (sorta, you can't see what you're
> doing) I didn't narrow in on the exact cause.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081106/87f75873/attachment.htm>


More information about the vtkusers mailing list