<HTML>
<head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style title="table borders">.htmtableborders, .htmtableborders td,
.htmtableborders th {border : 1px dashed lightgrey ! important;} </style>
<style type="text/css">html, body { border: 0px; } span.macro, span.macro
ul, span.macro div, span.macro p {background : #CCCCCC;} </style> <style
type="text/css"> p{margin-bottom: 0.15em;margin-top:
0.15em;}body{font-family:tahoma;font-size:10pt;}; </style></head><body>
<font style="font-family: tahoma; font-size: 10pt;"><div><br> <font
style="font-family: tahoma; font-size: 10pt;"><div style="font-family:
tahoma; font-size: 10pt;">Hi All,</div><div> </div><div>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. </div><div> </div><div>
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.<br></div><div>
</div><div style="font-family: tahoma; font-size: 10pt;">I have two
questions:</div><div>+ 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 :(</div><div>+ how
can I improve the performance? I'm sure there are much better ways to do
some of this... </div><div><br></div><div style="font-family: tahoma;
font-size: 10pt;">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...</div><div> </div><div>Thanks in advance for any
advice. </div><div> </div><div style="font-family: tahoma;
font-size: 10pt;">Cheers</div><div style="font-family: tahoma; font-size:
10pt;"><div style="font-family: tahoma; font-size: 10pt;">Dave</div><div>
</div><div>Oops - here are the links...<br></div><div>
http://users.uqbeach.net/shared/TestPlotting.txt</div><div
style="font-family: tahoma; font-size: 10pt;">
http://users.uqbeach.net/shared/plotRadarWithVtk.txt<br><br></div></div>
</font> <br>As a comparison, the render time is about 0.7s on my 1.8Ghz
laptop.</div></font> </body>
</HTML>