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