<div>Ian </div><div><br></div><div>Thank you for the message, unfortunately the error arose with the VTK flag you mentioned ON. </div><div><br></div><div>My system is a Win 7 64 bits and always try and compile in 64 bits. </div>
<div><br></div><div>Thank you for the suggestion. </div><div><br></div><div>Sergio </div><div><br></div><div><br></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Message: 11</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Date: Thu, 5 Jul 2012 02:28:02 -0700 (PDT)</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">From: ianl <</span><a href="mailto:ilindsay@insigniamedical.co.uk" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">ilindsay@insigniamedical.co.uk</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">></span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Subject: Re: [vtkusers] vtkGPUVolumeRayCastMapper ATI FireGL - AMD</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> FirePro V7900 fails</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">To: </span><a href="mailto:vtkusers@vtk.org" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">vtkusers@vtk.org</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Message-ID: <</span><a href="mailto:1341480482497-5714463.post@n5.nabble.com" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">1341480482497-5714463.post@n5.nabble.com</a><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">></span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Content-Type: text/plain; charset=us-ascii</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Ok, I have got to the bottom of the problem we have - hopefully it is the</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">same for you.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">The card we have has 3GB of graphics memory, VTK is storing the amount of</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">available bytes of memory in a signed int with the build settings we are</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">using, leading to it thinking the memory available is -1GB. The solution to</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">this is to recompile VTK with VTK_USE_64BIT_IDS on in the advanced section</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">of CMake. I had to clear my existing VTK build out first. This results in</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">vtkIdType being defined as a long long which then means the memory size</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">check works properly.</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hope this helps,</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Ian</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">--</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">View this message in context: </span><a href="http://vtk.1045678.n5.nabble.com/vtkGPUVolumeRayCastMapper-ATI-FireGL-AMD-FirePro-V7900-fails-tp5714433p5714463.html" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">http://vtk.1045678.n5.nabble.com/vtkGPUVolumeRayCastMapper-ATI-FireGL-AMD-FirePro-V7900-fails-tp5714433p5714463.html</a><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Sent from the VTK - Users mailing list archive at Nabble.com.</span> <div><br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 7:31 PM, Sergio Aguirre <span dir="ltr"><<a href="mailto:sergio.aguirre@gmail.com" target="_blank">sergio.aguirre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone <div><br></div><div>I am testing a new video card and I am wondering if vtkGPUVolumeRayCastMapper supports it. </div>
<div><br></div><div>I have the following configuration of the mapper: </div><div><br></div><div>
<div>vtkSmartPointer<vtkGPUVolumeRayCastMapper> dcmMapper = vtkSmartPointer<vtkGPUVolumeRayCastMapper>::New(); </div><div>dcmMapper->SetMaxMemoryInBytes(536870912); </div><div>dcmMapper->SetMaxMemoryFraction(0.75);<span style="white-space:pre-wrap">                                </span>// trigger GPU </div>
<div>dcmMapper->SetAutoAdjustSampleDistances(1); // KEY to GPU - Composite</div><div>dcmMapper->SetBlendModeToComposite();</div><div>dcmMapper->SetInputConnection(dcmVoi->GetOutputPort());</div></div><div><br>
</div><div>But the application crashes with the following message: </div><div><br></div><div>Assertion failed: "pre: valid_point_extent" && (this->CellFlag || (textureExtent[0]<textureExtent[1] && textureExtent[2]textureExtent[3] && textureExtent[4]<textureExtent[5]))), file ..\..\vtk-5.8.0\VolumeRendering\vtkOpenGLGPUVolumeRayCastMapper.cxx, line 3089"</div>
<div><br></div><div>This is very confusing. When I read the documentation it suggests that the data set is to large for the video card. </div><div><br></div><div>But its a data set I can load on a QuadroFX 3700 with 512MB. This card (FirePro V7900) has 2GB of video RAM (although for testing I only call 512MB) . </div>
<div><br></div><div>Any suggestions on what I may be doing wrong? Are FirePro video cards supported by VTK for volume rendering? </div><div><br></div><div>Thank you, </div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Sergio </div>
</font></span></blockquote></div><br></div>