[vtkusers] Performance in plotting radar data with Vtk (with links)

David Harrington drharrington at wbmpl.com.au
Sun Feb 24 22:05:39 EST 2008


Hi All,

I am trying to 
plot some radar data in real-time with VTK, due to a complete lack of 
knowledge with OpenGl. I have an output that looks pretty much how I want, 
however the performance is a bit sluggish.

Attached is a small test bed, as well as the plotting library I am using. 
The testbed generates random data in the format we receive it.

I have two 
questions:
+ how do I colour the data based on it's value? I can 
warp it in the Z plane fine, but colouring is beyond me :(
+ how 
can I improve the performance? I'm sure there are much better ways to do 
some of this...

If you have a moment, please try running TestPlotting, 
then let me know where I could improve performance, or where I can improve 
the approach etc...

Thanks in advance for any 
advice.

Cheers
Dave

Oops - here are the links...
http://users.uqbeach.net/shared/TestPlotting.txt
http://users.uqbeach.net/shared/plotRadarWithVtk.txt 
As a comparison, the render time is 
about 0.7s on my 1.8Ghz laptop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080225/4a9fb0bb/attachment.htm>


More information about the vtkusers mailing list