[vtkusers] vtkGPUVolumeRayCastMapper ATI FireGL - AMD FirePro V7900 fails

Sergio Aguirre sergio.aguirre at gmail.com
Thu Jul 5 12:41:14 EDT 2012


Ian

Thank you for the message, unfortunately the error arose with the VTK flag
you mentioned ON.

My system is a Win 7 64 bits and always try and compile in 64 bits.

Thank you for the suggestion.

Sergio


Message: 11
Date: Thu, 5 Jul 2012 02:28:02 -0700 (PDT)
From: ianl <ilindsay at insigniamedical.co.uk>
Subject: Re: [vtkusers] vtkGPUVolumeRayCastMapper ATI FireGL - AMD
        FirePro V7900 fails
To: vtkusers at vtk.org
Message-ID: <1341480482497-5714463.post at n5.nabble.com>
Content-Type: text/plain; charset=us-ascii

Ok, I have got to the bottom of the problem we have - hopefully it is the
same for you.

The card we have has 3GB of graphics memory, VTK is storing the amount of
available bytes of memory in a signed int with the build settings we are
using, leading to it thinking the memory available is -1GB. The solution to
this is to recompile VTK with VTK_USE_64BIT_IDS on in the advanced section
of CMake. I had to clear my existing VTK build out first. This results in
vtkIdType being defined as a long long which then means the memory size
check works properly.

Hope this helps,

Ian

--
View this message in context:
http://vtk.1045678.n5.nabble.com/vtkGPUVolumeRayCastMapper-ATI-FireGL-AMD-FirePro-V7900-fails-tp5714433p5714463.html
Sent from the VTK - Users mailing list archive at Nabble.com.


On Tue, Jul 3, 2012 at 7:31 PM, Sergio Aguirre <sergio.aguirre at gmail.com>wrote:

> Hi everyone
>
> I am testing a new video card and I am wondering
> if vtkGPUVolumeRayCastMapper supports it.
>
> I have the following configuration of the mapper:
>
> vtkSmartPointer<vtkGPUVolumeRayCastMapper> dcmMapper =
> vtkSmartPointer<vtkGPUVolumeRayCastMapper>::New();
> dcmMapper->SetMaxMemoryInBytes(536870912);
> dcmMapper->SetMaxMemoryFraction(0.75); // trigger GPU
> dcmMapper->SetAutoAdjustSampleDistances(1); // KEY to GPU - Composite
> dcmMapper->SetBlendModeToComposite();
> dcmMapper->SetInputConnection(dcmVoi->GetOutputPort());
>
> But the application crashes with the following message:
>
> 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"
>
> This is very confusing. When I read the documentation it suggests that
> the data set is to large for the video card.
>
> 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) .
>
> Any suggestions on what I may be doing wrong? Are FirePro video cards
> supported by VTK for volume rendering?
>
> Thank you,
>
> Sergio
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120705/805235c9/attachment.htm>


More information about the vtkusers mailing list