<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV><FONT face=Arial size=2>I´m trying to use vtkTextures, loading a BMP file
for painting onto some PolyData. The painted object comes out
completely black, which is clearly wrong. I went throught the
vtkTexture object's fields one by one, and fuond that the GetDataVOI(int[6])
returns six 0´s. The texture is a 2D texture. Then it also says that
the header size if 768k, which is the size of the BMP file. Through
alternative means I discovered that the </FONT></DIV>
<DIV><FONT face=Arial size=2>bitmap info header in the file had size 40 bytes,
when I set the header to 40, the object is still black!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Markus</FONT></DIV></BODY></HTML>