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.
On Fri, Aug 31, 2012 at 3:47 PM, Bueter, Travis J. (S&T-Student) < tjb...@mail.mst.edu> wrote: > Hello,**** > > **** > > 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.**** > > **** > > 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?**** > > **** > > Some extra information:**** > > **1. **I am running ParaView 3.14.1 64bit from source on Ubuntu > 12.04**** > > **2. **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).**** > > **3. **WiiMotes poll slower than most computer mice at 100Hz. So > I’m pretty sure not sending commands any faster than a mouse would.**** > > **4. **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!)**** > > **5. **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.**** > > **** > > 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.**** > > **** > > Thanks,**** > > ** ** > > *Travis J. Bueter* > > ----------------------------------------------------------------------**** > > *Missouri University of Science and Technology - Junior* > > B.S. Computer Engineering/Computer Science**** > > tjb...@mail.mst.edu**** > > (573)-238-5843**** > > ** ** > > IT RSS**** > > Treasurer – MS&T Robotics Competition Team**** > > ----------------------------------------------------------------------**** > > ** ** > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > >
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview