<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi I don't think so, I'm running a win7 64 bit system with the 64 bit IDs flag enabled in cmake. </div><div>S </div><div><br>On Jan 31, 2013, at 9:34 PM, alex Dowson <<a href="mailto:alexdowson@hotmail.com">alexdowson@hotmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<div dir="ltr">
<div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<div>May be case of 32 bit operating system ? </div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<div style="FONT: 10pt tahoma">
<div> </div>
<div style="BACKGROUND: #f5f5f5">
<div style="font-color: black"><b>From:</b> <a title="sergio.aguirre@gmail.com" href="mailto:sergio.aguirre@gmail.com">Sergio Aguirre</a> </div>
<div><b>Sent:</b> Friday, February 01, 2013 10:37 AM</div>
<div><b>To:</b> <a title="vtkusers@vtk.org" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a> </div>
<div><b>Subject:</b> [vtkusers] problem with
vtkOpenGLGPUVolumeRayCastMapper</div></div></div>
<div> </div></div>
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi everyone </font>
<div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><font face="arial, helvetica, sans-serif">I recently upgraded my video card
from a FirePro V7900 with 2GB to a FirePro W7000 with 4GB </font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><font face="arial, helvetica, sans-serif">I have been consistently been
using <span style="BACKGROUND-COLOR: rgb(249,250,252); COLOR: rgb(0,0,0)">vtkGPUVolumeRayCastMapperand
thus </span><span style="BACKGROUND-COLOR: rgb(249,250,252); COLOR: rgb(0,0,0)">vtkOpenGLGPUVolumeRayCastMapper
to volume render medical datasets with the following set up </span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="BACKGROUND-COLOR: rgb(249,250,252); COLOR: rgb(0,0,0)"><br></span></font></div>
<div><span style="BACKGROUND-COLOR: rgb(249,250,252)"><font color="#000000" face="arial, helvetica, sans-serif">
<div>dcmMapper->SetMaxMemoryInBytes(2147483648); </div>
<div>dcmMapper->SetMaxMemoryFraction(0.90);</div>
<div>dcmMapper->SetAutoAdjustSampleDistances(1); </div>
<div>dcmMapper->SetBlendModeToComposite();</div>
<div>dcmMapper->SetInput(dcmVImage);</div>
<div>dcmMapper->Update(); <br></div>
<div> </div>
<div>So in order to take advantage of the 4GB of my new video card I decided to
change the max memory amount </div>
<div> </div>
<div>dcmMapper->SetMaxMemoryInBytes(4294967296); <br></div>
<div> </div>
<div>However, once I do that the applications crash. </div>
<div> </div>
<div>I have followed in debug at what point does it crash: </div>
<div> </div>
<div>Apparently the variable "Loaded" of vtkOpenGLGPUVolumeRayCastMapper changes
from TRUE to FALSE at line 790</div>
<div> </div>
<div>
<div>this->Loaded=textureSize[0]*textureSize[1]*textureSize[2]*vtkAbstractArray::GetDataTypeSize(scalarType)*scalars->GetNumberOfComponents()<=maxMemoryInBytes;</div>
<div> </div>
<div>and thus the application later crashes in line 1071</div>
<div> </div>
<div>
<div> vtkIdType *GetLoadedExtent()</div>
<div> {</div>
<div> assert("pre: loaded" &&
this->Loaded);</div>
<div> return this->LoadedExtent;</div>
<div> }</div>
<div> </div>
<div> </div>
<div>If I maintain the maxmemory ivar to 2GB all works OK, once I place it over
2GB it fails. </div>
<div> </div>
<div>I noticed that vtkOpenGLGPUVolumeRayCastMapper has a local maxMemoryInBytes
which is 2147483648</div>
<div> </div>
<div>Do I need to change this value and recompile/install VTK in order to use
the 4GB of my video card? </div>
<div> </div>
<div>Any suggestion would be appreciated. </div>
<div> </div>
<div>S</div></div></div></font></span></div></div>
<p>
</p><hr>
_______________________________________________<br>Powered by
<a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages
on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow
this link to
subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></div></div>
</div></blockquote></body></html>