[vtkusers] vtkGPUVolumeRayCastMapper ATI FireGL - AMD FirePro V7900 fails

Sergio Aguirre sergio.aguirre at gmail.com
Wed Jul 25 14:11:34 EDT 2012


Hi everyone

I got it working (AMD FirePro V7900) on a Win 7 64 bit system with VTK 5.8

Not sure exactly what was the key, BUT since I was in the process of
building a new system these where my steps.

1 - New clean install of windows 7 and drivers.
2 - New clean install of VTK 5.8 (including the 64 bit flag)

Once VTK was compiled and installed I modified the code below to have
SHADING OFF in the volume properties.

Also, I installed the DirectX SDK - BUT I am unsure if that really is doing
what some suggest (which is get the video card ID and info from it).

Thank you,

S

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/20120725/cd669c4f/attachment.htm>


More information about the vtkusers mailing list