MantisBT - VTK
View Issue Details
0012433VTK(No Category)public2011-07-29 21:062011-08-11 10:08
Julien Finet 
Julien Finet 
normalminorhave not tried
closedfixed 
 
 
Kitware
crash
0012433: vtkOpenGLTexture::ResampleToPowerOfTwo doesn't support size of 1
If the height (or width) of a texture is 1px, the closest power of 2 is naturally 1, however, hy (or hx) is set to -1.#IND000000. (vtkOpenGLTexture.cxx:576)
No tags attached.
Issue History
2011-07-29 21:06Julien FinetNew Issue
2011-07-29 21:06Julien FinetStatusbacklog => tabled
2011-07-29 21:06Julien FinetAssigned To => Julien Finet
2011-08-11 10:08Julien FinetNote Added: 0027336
2011-08-11 10:08Julien FinetStatustabled => closed
2011-08-11 10:08Julien FinetResolutionopen => fixed

Notes
(0027336)
Julien Finet   
2011-08-11 10:08   
SHA1: f976afa4fa6884d990ee

Support 1D textures in vtkOpenGLTexture

Having a 1D texture results in having xsize == 1 or ysize == 1.
It would be a division by 0.
Add test to try different texture sizes and see if it crashes.

Change-Id: I10142c62a9448563b6e217be3441ecf3466149db