[vtkusers] VTK 5.6.0 vtkGPUVolumeRayCastMapper very slow?
Francois Bertel
francois.bertel at kitware.com
Mon May 10 15:54:15 EDT 2010
In short (ie that what you will find reading the VTKEdge FAQ), to make
it work properly under Windows with big datasets, you need to compile
VTK against the DirectX SDK.
Just to be clear, DirectX is not used for rendering, but it is just
for requesting information about the GPU (amount of VRAM). OpenGL is
used for rendering.
On Mon, May 10, 2010 at 3:14 PM, Wagner Sales <wsales at gmail.com> wrote:
> Hi Elvis,
>
> Since vtkGPUVolumeRayCastMapper comes from VTKEdge, you can follow the
> instructions at
> http://vtkedge.org/Wiki/VTKEdge:FAQ#How_can_I_make_vtkKWEGPUVolumeRayCastMapper_run_as_fast_as_in_VolView_3.0.3F
>
> Regards,
>
> Wagner Sales
>
> 2010/5/10 Elvis Chen <elvis.chen at gmail.com>
>>
>> greetings,
>> I've just compiled VTK 5.6.0 and was testing vtkGPUVolumeRayCastMapper
>> using the GPURenderDemo.cxx. Using a CT volume available to me
>> (512x512x481, short), I found the rendering to be VERY slow: it is
>> non-interactive at all. If I use a mouse to change the camera position, I
>> basically have to wait about 5-8 seconds for the rendering to complete.
>> I'm using:
>> Windows-7, 64bit
>> Intel i7-860 (4 core at 2.80GHz)
>> 4GB RAM
>> Nvidia GTX260 with 196.21 driver, 896MB of video RAM
>> Visual Studio Express 2008
>> VTK 5.6.0 was compiled with all the standard options, except with python
>> binding (ON).
>> My questions are:
>> 1) is there a way to display the frame rate to quantify the rendering
>> speed?
>> 2) the CT volume is about 240MB, which should fit inside the video RAM.
>> Has anyone else notice the slow speed? Should I expect
>> vtkGPUVolumeRayCastmapper to be faster (or slower) than
>> vtkFixedPointVolumeRayCastMapper?
>>
>> Once I know how to do 1) I'll write a small program to test the speed
>> difference between
>> vtkGPUVolumeRayCastMapper/vtkFixedPointVolumeRaycastMapper.
>> any insight is very much appreciated,
>> Elvis
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list