This is pretty cool!! Would it be possible to create a video of your interactions? Just to be sure, so are you saying that when you interact with mouse, the performance is much better than when you use wiimote? If performance is bad with both devices then it could be what Berk said. If one is better than another then there is something else is going on. <div>
<br></div><div>Thanks,</div><div><br><div><br></div><div><br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 4:08 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cool stuff! The performance problem makes me think that ParaView is not using display lists. Is Immediate Mode Rendering off? (it should be). When you get to GB size data, there will have to be some LOD involved. No graphics card can render that many points at interactive rates.<br>
<br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 31, 2012 at 3:47 PM, Bueter, Travis J. (S&T-Student) <span dir="ltr"><<a href="mailto:tjbxv7@mail.mst.edu" target="_blank">tjbxv7@mail.mst.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hello,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I am trying to control renderings with a WiiMote instead of a mouse using Pat Marion’s ParaViewSocketPlugin to send commands to ParaView’s python shell (see attached .py file) and running into an issue. When
trying to manipulate 20MB of point cloud data, ParaView severely lags behind after sending commands and I was able to narrow it down to the ‘Render()’ call. My current fix has been to only call ‘Render()’ every third iteration of commands I send but this doesn’t
necessarily solve the issue as I plan on moving to GB sized data.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Does anyone have a suggestion as to what I can do to speed up rendering through the python shell, or another way of manipulating the render data from an external program?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Some extra information:</span><u></u><u></u></p>
<p style="margin-left:.75in">
<u></u><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u><span style="font-size:12.0pt">I am running ParaView 3.14.1 64bit from source on Ubuntu 12.04</span><u></u><u></u></p>
<p style="margin-left:.75in">
<u></u><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u><span style="font-size:12.0pt">Quickly rotating 15MB of point-data with the mouse peaks my CPU at about 53%. With my Wiimote application, this is just a little higher at 55% (rendering on every command).</span><u></u><u></u></p>
<p style="margin-left:.75in">
<u></u><span>3.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u><span style="font-size:12.0pt">WiiMotes poll slower than most computer mice at 100Hz. So I’m pretty sure not sending commands any faster than a mouse would.</span><u></u><u></u></p>
<p style="margin-left:.75in">
<u></u><span>4.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u><span style="font-size:12.0pt">Python commands are based on the python examples included with ParaView 3.14.1. They were designed to work as closely as possible to what C++ Trackball commands do. (This was my first time working with
python or visualization manipulation so any advice on general improvements to the commands would be greatly appreciated too!)</span><u></u><u></u></p>
<p style="margin-left:.75in">
<u></u><span>5.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u><span style="font-size:12.0pt">The Wii application works by utilizing the Nunchuk. Button combinations determine what type of manipulation (Panning, Zoom, Rotate, and Spin) and then it converts the magnitude and angle of the joystick
into x-y coordinates.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt">I have tried to include all the information that I thought would be relevant but if there is anything else that you would like to know, I’d be more than happy to provide it.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks,</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-family:"Times New Roman","serif"">Travis J. Bueter<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">----------------------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><i><span style="font-family:"Times New Roman","serif"">Missouri University of Science and Technology - Junior<b><u></u><u></u></b></span></i></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">B.S. Computer Engineering/Computer Science<u></u><u></u></span></p>
<p class="MsoNormal"><a href="mailto:tjbxv7@mail.mst.edu" target="_blank"><span style="font-family:"Times New Roman","serif";color:blue">tjbxv7@mail.mst.edu</span></a><span style="font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""><a href="tel:%28573%29-238-5843" value="+15732385843" target="_blank">(573)-238-5843</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">IT RSS<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">Treasurer – MS&T Robotics Competition Team<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman","serif"">----------------------------------------------------------------------<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br></div></div>_______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><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 <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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a> <br>
</div></div>