<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Dear VTK Users,<br>I am using VTK 5.0, Visual C++ 6.0, Vista.<br>I would like to use a bitmap resource located in my .exe file (it's NOT a bitmap file) as a texture for a cube. <br>My question is:<br>How can I make a vtkTexture object from an HBITMAP handle to my resource?<br>I can load the resource, save it to disk, then load the bitmap file and create the vtkTexture object <br>&nbsp;&nbsp;&nbsp; MyTexture-&gt;SetInputConnection(BMPReader-&gt;GetOutputPort());<br>but it's quite awkward, isn't it?<br>TXS<br>Phil<br></div></div><br>

between 0000-00-00 and 9999-99-99 
      &nbsp;</body></html>