<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto">Hi all,</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">how can i get the maximum available texture memory? I am working on a volumerendering tool using vtkOpenGLGPUVolumeRayCastMapper. I have to deal with large volume data and want to figure out if the data fits in the texture memory in one block. My idea is to call <FONT size=1></div>
<div></FONT><FONT style="RIGHT: auto" face="times new roman, new york, times, serif"><FONT style="RIGHT: auto"><FONT style="RIGHT: auto" color=#030003><FONT style="RIGHT: auto" color=#030003></FONT></FONT></FONT></FONT> </div>
<div><FONT style="RIGHT: auto" face="times new roman, new york, times, serif"><FONT style="RIGHT: auto"><FONT style="RIGHT: auto" color=#030003><FONT style="RIGHT: auto" color=#030003>glTexImage3D</FONT></FONT>(<FONT style="RIGHT: auto" color=#030003><FONT style="RIGHT: auto" color=#030003>GL_TEXTURE_3D</FONT></FONT>,0,<FONT color=#0000ff><FONT color=#0000ff>static_cast</FONT></FONT><<FONT color=#030003><FONT color=#030003>GLint</FONT></FONT>>(<FONT color=#030003><FONT color=#030003>nInternalFormat</FONT></FONT></FONT>),</FONT></div>
<div style="RIGHT: auto"><FONT style="RIGHT: auto"><FONT style="RIGHT: auto" face="times new roman, new york, times, serif"><FONT style="RIGHT: auto" color=#030003><FONT style="RIGHT: auto" color=#030003>nExtent</FONT></FONT>[1] +1,<FONT color=#030003><FONT color=#030003>nExtent</FONT></FONT>[3] +1, <FONT color=#030003><FONT color=#030003>nExtent</FONT></FONT>[5] +1,0, <FONT color=#030003><FONT color=#030003>nFormat</FONT></FONT>, <FONT color=#030003><FONT color=#030003>nType</FONT></FONT>,0);</FONT></FONT></div>
<div style="RIGHT: auto"><FONT style="RIGHT: auto"></FONT> </div>
<div style="RIGHT: auto"><FONT style="RIGHT: auto">at the beginning and see if i can reserve a block of a desired size. But if this function succeeded the mapper cant allocate such a big block anymore(without calling the function it works). I guess the glTexImage function reserves the block and i have to release it. But i dont know how and i need help! </FONT></div>
<div style="RIGHT: auto"><FONT style="RIGHT: auto"></FONT> </div>
<div style="RIGHT: auto"><FONT style="RIGHT: auto">And is there a tool to tray the grafic cards memory? I would like to see how much texture and video memory is in use<VAR id=yui-ie-cursor></VAR> and free in total.</FONT></div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Thanks in advance</div>
<div style="RIGHT: auto">Andi</div>
<div style="RIGHT: auto"><FONT style="RIGHT: auto"> </div></FONT></div></body></html>