Re: [wxVTK] Timer start failed
Brought to you by:
malat
From: Mathieu M. <mat...@gm...> - 2008-06-02 19:18:06
|
Ruopeng, By turning rendering mode on, I mean that you would usually run your vtk test like this: ctest -R MyTest -V But instead try this: ctest -R MyTest -V -N copy the command line and execute. Usually something like that: ./bin/RenderingCxxTest MyTest -I The windows will stay open for you to play with. I think the bug crept in around VTK 5. If you are lucky, then maybe it's not in VTK 5.0. You'll have to try ayway I only have a vague notion when it appeared. HTH -Mathieu On Mon, Jun 2, 2008 at 9:09 PM, Ruopeng Wang <rp...@nm...> wrote: > Hi Mathieu, > > Thank you so much for your quick reply. I don't know how to turn on the > interactor mode for those tests. However, in "RenderingCxxTest", there is an > option for TestInteractorTimers, it seems to be working for me... anyway, I > don't mind using vtk5.0 for now. Just want to clarify, by vtk5.0 do you mean > vtk5.0.x? Or only vtk5.0.0? > > Thank you, > > Ruopeng > > Mathieu Malaterre wrote: >> >> Hi RP, >> >> This is not an issue with wxVTK but with VTK > 5.0. They broke the >> internal API for the timer, and no one took the time to fix it. If you >> are familiar with VTK, simply run ANY of the test that take '-I' to >> run in interactor more and you'll see that even from pure tcl the >> timer is failing (whatever that mean). >> Please make some noise on the vtk-dev list, as I have already >> mentionned that a couple of tme, but no one seems to care :( >> >> Thanks >> -Mathieu >> >> On Mon, Jun 2, 2008 at 8:23 PM, Ruopeng Wang <rp...@nm...> >> wrote: >> >>> >>> Hi all, >>> >>> I wonder if anyone has experienced this issue with wxGTK-2.8.7. When I >>> run the sample, I got lots of: >>> >>> ERROR: In >>> >>> /usr/pubsw/packages/vtk/5.1.0-CVS-stable/src/VTK/Rendering/vtkInteractorStyle.cxx, >>> line 392 >>> vtkInteractorStyleJoystickCamera (0xc093db8): Timer start failed >>> >>> The interactor of course doesn't work properly. At first it is not a big >>> issue to me, because I usually use trackball style instead of the >>> default Joystick style in my vtk code. Then here comes the big issue, >>> because the timer failed to start, vtkLODActor doesn't work anymore, >>> since it requires timer to manage the active level of detail. Did anyone >>> have this issue and/or figure out a workaround? >>> >>> BTW, I just tried with the latest wxVTK 1.3 code, same problem. >>> >>> Thank you! >>> >>> RP >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Wxvtk-users mailing list >>> Wxv...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >>> >>> >> >> >> >> > > -- Mathieu |