wxvtk-users Mailing List for wxVTKRenderWindowInteractor (Page 3)
Brought to you by:
malat
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(7) |
Feb
|
Mar
(2) |
Apr
(12) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(13) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(6) |
Jul
(3) |
Aug
(11) |
Sep
|
Oct
(10) |
Nov
(2) |
Dec
(1) |
2007 |
Jan
(16) |
Feb
(9) |
Mar
(13) |
Apr
|
May
(7) |
Jun
(8) |
Jul
|
Aug
(14) |
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2008 |
Jan
(20) |
Feb
(1) |
Mar
|
Apr
(20) |
May
(5) |
Jun
(11) |
Jul
|
Aug
(52) |
Sep
(2) |
Oct
(35) |
Nov
(7) |
Dec
(14) |
2009 |
Jan
(4) |
Feb
(5) |
Mar
(9) |
Apr
(19) |
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(5) |
Dec
|
2010 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
(13) |
2012 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
From: Komukadze <kom...@wp...> - 2009-06-08 10:25:13
|
Mathieu Malaterre pisze: > On Thu, Jun 4, 2009 at 11:57 AM, Komukadze<kom...@wp...> wrote: > >> Hi, >> >> after building all necessary libs I'm getting following error message >> while trying to rotate the scene with mouse. >> >> ERROR: In .\vtkInteractorStyle.cxx, line 392 >> vtkInteractorStyleJoystickCamera (0367B798): Timer start failed >> >> Have you ever encounter such a problem? >> >> My setup: >> >> Visual Studio C++ 2009 express edition >> >> wxWidgets 2.8.10 >> >> CMake 2.6.4 >> >> VTK 5.4.0 >> >> wxVTK 1.3 >> > > Anyone on that issue ? Switching to another interactor should solve the issue. > >From the top of my head this was fixed in the CVS HEAD version of > wxVTK, wasn't it ? > > 2cts > CVS HEAD version works like a charm, thank you very much -- KK |
From: Mathieu M. <mat...@gm...> - 2009-06-05 14:37:00
|
On Thu, Jun 4, 2009 at 11:57 AM, Komukadze<kom...@wp...> wrote: > Hi, > > after building all necessary libs I'm getting following error message > while trying to rotate the scene with mouse. > > ERROR: In .\vtkInteractorStyle.cxx, line 392 > vtkInteractorStyleJoystickCamera (0367B798): Timer start failed > > Have you ever encounter such a problem? > > My setup: > > Visual Studio C++ 2009 express edition > > wxWidgets 2.8.10 > > CMake 2.6.4 > > VTK 5.4.0 > > wxVTK 1.3 Anyone on that issue ? Switching to another interactor should solve the issue. >From the top of my head this was fixed in the CVS HEAD version of wxVTK, wasn't it ? 2cts -- Mathieu |
From: Komukadze <kom...@wp...> - 2009-06-04 09:57:16
|
Hi, after building all necessary libs I'm getting following error message while trying to rotate the scene with mouse. ERROR: In .\vtkInteractorStyle.cxx, line 392 vtkInteractorStyleJoystickCamera (0367B798): Timer start failed Have you ever encounter such a problem? My setup: Visual Studio C++ 2009 express edition wxWidgets 2.8.10 CMake 2.6.4 VTK 5.4.0 wxVTK 1.3 -- KK |
From: ABE H. <ha...@gm...> - 2009-04-30 04:43:58
|
Hi all, With Windows XP Sp2, Express 2009, wxWidgets 2.8.8, VTK-5.4 and wxVTK-1.3, the same problem is occured. This could be a common problem around wxVTK and my code. Something should be missing. Any suggestion/idea would be appreciated. Best, On 2009/04/29, at 19:51, ABE Hiroshi wrote: > Thank you Kerry, > > I will put my code into Windows and see what happens. > > Of course I would appreciate any suggestions from authorities of > wxVTK. > > Best, > > On 2009/04/28, at 22:26, Kerry Loux wrote: > >> Ahh, so you have hidden renderwindows that are created hidden and >> have never been visible? This is different from my application - >> I never have a renderwindow that is created hidden. It does sound >> like you might be on to something thinking that this is the cause >> of the problem, although I can't see any obvious calls that are >> made (in my code) just because a window becomes visible. Maybe >> it's burried in the wx or VTK code? Offscreen rendering with VTK >> has been done, but I've never tried it myself and some quick >> googling suggests that it's not very straight-forward (and may no- >> longer be supported?). >> >> Sorry I can't be of more help. >> >> -Kerry > [snip] > > ABE Hiroshi > from Tokorozawa, JAPAN > ABE Hiroshi from Tokorozawa, JAPAN |
From: ABE H. <ha...@gm...> - 2009-04-30 00:06:52
|
Robbie, I can get the renderwindow what is expected in each page if it is before rendering hidden. It might be a good idea to check if there is a call of 'vtkRenderWindow::Render()' or 'something like Modified()' in your method to update the view/data of each page. Best, On 2009/04/30, at 0:50, Robbie Jaeger wrote: > Hello, > > If you switch tabs in the notebook, can you see the different > models? I'm using a wxNotebook to do what you describe but I > cannot get the wxVTK renderwindows to show on the layers underneath > the last page. > > I'm also on wxMac 2.8.9, wxVTK CVS, Carbon, OS X 10.5.6. > > Robbie > > On Wed, Apr 29, 2009 at 3:51 AM, ABE Hiroshi <ha...@gm...> wrote: > Thank you Kerry, > > I will put my code into Windows and see what happens. > > Of course I would appreciate any suggestions from authorities of > wxVTK. > > Best, > > On 2009/04/28, at 22:26, Kerry Loux wrote: > > > Ahh, so you have hidden renderwindows that are created hidden and > > have never been visible? This is different from my application - I > > never have a renderwindow that is created hidden. It does sound > > like you might be on to something thinking that this is the cause > > of the problem, although I can't see any obvious calls that are > > made (in my code) just because a window becomes visible. Maybe > > it's burried in the wx or VTK code? Offscreen rendering with VTK > > has been done, but I've never tried it myself and some quick > > googling suggests that it's not very straight-forward (and may no- > > longer be supported?). > > > > Sorry I can't be of more help. > > > > -Kerry > [snip] > > ABE Hiroshi > from Tokorozawa, JAPAN > > > ---------------------------------------------------------------------- > -------- > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code > vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > ABE Hiroshi from Tokorozawa, JAPAN |
From: Mathieu M. <mat...@gm...> - 2009-04-29 19:54:37
|
If this can help there is a wxVTKNotebook.cxx in wxVTK/Sample HTH On Wed, Apr 29, 2009 at 6:31 PM, Kerry Loux <lo...@gm...> wrote: > Hello Robbie, > > If you send a minimal example that exhibits the problems your seeing, I'd be > happy to take a look. > > -Kerry > > On Wed, Apr 29, 2009 at 11:50 AM, Robbie Jaeger <rj...@gm...> wrote: >> >> Hello, >> >> If you switch tabs in the notebook, can you see the different models? I'm >> using a wxNotebook to do what you describe but I cannot get the wxVTK >> renderwindows to show on the layers underneath the last page. >> >> I'm also on wxMac 2.8.9, wxVTK CVS, Carbon, OS X 10.5.6. >> >> Robbie >> >> On Wed, Apr 29, 2009 at 3:51 AM, ABE Hiroshi <ha...@gm...> wrote: >>> >>> Thank you Kerry, >>> >>> I will put my code into Windows and see what happens. >>> >>> Of course I would appreciate any suggestions from authorities of wxVTK. >>> >>> Best, >>> >>> On 2009/04/28, at 22:26, Kerry Loux wrote: >>> >>> > Ahh, so you have hidden renderwindows that are created hidden and >>> > have never been visible? This is different from my application - I >>> > never have a renderwindow that is created hidden. It does sound >>> > like you might be on to something thinking that this is the cause >>> > of the problem, although I can't see any obvious calls that are >>> > made (in my code) just because a window becomes visible. Maybe >>> > it's burried in the wx or VTK code? Offscreen rendering with VTK >>> > has been done, but I've never tried it myself and some quick >>> > googling suggests that it's not very straight-forward (and may no- >>> > longer be supported?). >>> > >>> > Sorry I can't be of more help. >>> > >>> > -Kerry >>> [snip] >>> >>> ABE Hiroshi >>> from Tokorozawa, JAPAN >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Register Now & Save for Velocity, the Web Performance & Operations >>> Conference from O'Reilly Media. Velocity features a full day of >>> expert-led, hands-on workshops and two days of sessions from industry >>> leaders in dedicated Performance & Operations tracks. Use code vel09scf >>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >>> _______________________________________________ >>> Wxvtk-users mailing list >>> Wxv...@li... >>> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> >> >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Wxvtk-users mailing list >> Wxv...@li... >> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > -- Mathieu |
From: Kerry L. <lo...@gm...> - 2009-04-29 16:32:10
|
Hello Robbie, If you send a minimal example that exhibits the problems your seeing, I'd be happy to take a look. -Kerry On Wed, Apr 29, 2009 at 11:50 AM, Robbie Jaeger <rj...@gm...> wrote: > Hello, > > If you switch tabs in the notebook, can you see the different models? I'm > using a wxNotebook to do what you describe but I cannot get the wxVTK > renderwindows to show on the layers underneath the last page. > > I'm also on wxMac 2.8.9, wxVTK CVS, Carbon, OS X 10.5.6. > > Robbie > > > On Wed, Apr 29, 2009 at 3:51 AM, ABE Hiroshi <ha...@gm...> wrote: > >> Thank you Kerry, >> >> I will put my code into Windows and see what happens. >> >> Of course I would appreciate any suggestions from authorities of wxVTK. >> >> Best, >> >> On 2009/04/28, at 22:26, Kerry Loux wrote: >> >> > Ahh, so you have hidden renderwindows that are created hidden and >> > have never been visible? This is different from my application - I >> > never have a renderwindow that is created hidden. It does sound >> > like you might be on to something thinking that this is the cause >> > of the problem, although I can't see any obvious calls that are >> > made (in my code) just because a window becomes visible. Maybe >> > it's burried in the wx or VTK code? Offscreen rendering with VTK >> > has been done, but I've never tried it myself and some quick >> > googling suggests that it's not very straight-forward (and may no- >> > longer be supported?). >> > >> > Sorry I can't be of more help. >> > >> > -Kerry >> [snip] >> >> ABE Hiroshi >> from Tokorozawa, JAPAN >> >> >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Wxvtk-users mailing list >> Wxv...@li... >> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> > > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > |
From: Robbie J. <rj...@gm...> - 2009-04-29 15:51:38
|
Hello, If you switch tabs in the notebook, can you see the different models? I'm using a wxNotebook to do what you describe but I cannot get the wxVTK renderwindows to show on the layers underneath the last page. I'm also on wxMac 2.8.9, wxVTK CVS, Carbon, OS X 10.5.6. Robbie On Wed, Apr 29, 2009 at 3:51 AM, ABE Hiroshi <ha...@gm...> wrote: > Thank you Kerry, > > I will put my code into Windows and see what happens. > > Of course I would appreciate any suggestions from authorities of wxVTK. > > Best, > > On 2009/04/28, at 22:26, Kerry Loux wrote: > > > Ahh, so you have hidden renderwindows that are created hidden and > > have never been visible? This is different from my application - I > > never have a renderwindow that is created hidden. It does sound > > like you might be on to something thinking that this is the cause > > of the problem, although I can't see any obvious calls that are > > made (in my code) just because a window becomes visible. Maybe > > it's burried in the wx or VTK code? Offscreen rendering with VTK > > has been done, but I've never tried it myself and some quick > > googling suggests that it's not very straight-forward (and may no- > > longer be supported?). > > > > Sorry I can't be of more help. > > > > -Kerry > [snip] > > ABE Hiroshi > from Tokorozawa, JAPAN > > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > |
From: ABE H. <ha...@gm...> - 2009-04-29 10:51:58
|
Thank you Kerry, I will put my code into Windows and see what happens. Of course I would appreciate any suggestions from authorities of wxVTK. Best, On 2009/04/28, at 22:26, Kerry Loux wrote: > Ahh, so you have hidden renderwindows that are created hidden and > have never been visible? This is different from my application - I > never have a renderwindow that is created hidden. It does sound > like you might be on to something thinking that this is the cause > of the problem, although I can't see any obvious calls that are > made (in my code) just because a window becomes visible. Maybe > it's burried in the wx or VTK code? Offscreen rendering with VTK > has been done, but I've never tried it myself and some quick > googling suggests that it's not very straight-forward (and may no- > longer be supported?). > > Sorry I can't be of more help. > > -Kerry [snip] ABE Hiroshi from Tokorozawa, JAPAN |
From: Kerry L. <lo...@gm...> - 2009-04-28 13:26:37
|
Ahh, so you have hidden renderwindows that are created hidden and have never been visible? This is different from my application - I never have a renderwindow that is created hidden. It does sound like you might be on to something thinking that this is the cause of the problem, although I can't see any obvious calls that are made (in my code) just because a window becomes visible. Maybe it's burried in the wx or VTK code? Offscreen rendering with VTK has been done, but I've never tried it myself and some quick googling suggests that it's not very straight-forward (and may no-longer be supported?). Sorry I can't be of more help. -Kerry On Mon, Apr 27, 2009 at 6:21 PM, ABE Hiroshi <ha...@gm...> wrote: > Hi, Kerry and Mathieu and all, thank you for your comments. > > Regarding Mathieu's commented on the port, my VTK port is MacOSX > Carbon. Because I thought I should use the same carbon version with > my port of wxWidgets/VTK. > > Had I better to use Cocoa versiion? > > On 2009/04/28, at 1:22, Kerry Loux wrote: > > page. I'm running WinXP, so perhaps it is a platform-dependant > > issue? I'm not updating my images at anything close to "real- > > time," so perhaps this has something to do with it, too. Can you > > supress the call to render the hidden pages until they are no > > longer hidden? > > > > My application is planed to 'record' the 3D view images while the > simulation time marches so the hidden windows also must be updated. > So I cannot stop rendering the hidden pages. If there is an Off- > Screen mode, I would like to use it. > > As I mentioned in my previous mail, once I make the all pages visible > before rendering, the problem is never occurred. So I think some > necessary methods might be missed to fit the VTK view to the page's > wxPanel or so, which is automatically invoked when visible. I am > trying to debug and catch an event to pop up the 'bare' window but > very difficult for me so far. > > I hope I could inform you my situation properly. > > Regards, > > ABE Hiroshi > from Tokorozawa, JAPAN > > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > |
From: ABE H. <ha...@gm...> - 2009-04-27 22:21:35
|
Hi, Kerry and Mathieu and all, thank you for your comments. Regarding Mathieu's commented on the port, my VTK port is MacOSX Carbon. Because I thought I should use the same carbon version with my port of wxWidgets/VTK. Had I better to use Cocoa versiion? On 2009/04/28, at 1:22, Kerry Loux wrote: > page. I'm running WinXP, so perhaps it is a platform-dependant > issue? I'm not updating my images at anything close to "real- > time," so perhaps this has something to do with it, too. Can you > supress the call to render the hidden pages until they are no > longer hidden? > My application is planed to 'record' the 3D view images while the simulation time marches so the hidden windows also must be updated. So I cannot stop rendering the hidden pages. If there is an Off- Screen mode, I would like to use it. As I mentioned in my previous mail, once I make the all pages visible before rendering, the problem is never occurred. So I think some necessary methods might be missed to fit the VTK view to the page's wxPanel or so, which is automatically invoked when visible. I am trying to debug and catch an event to pop up the 'bare' window but very difficult for me so far. I hope I could inform you my situation properly. Regards, ABE Hiroshi from Tokorozawa, JAPAN |
From: Mathieu M. <mat...@gm...> - 2009-04-27 16:25:22
|
Hi ABE, I think Kerry is making a good point here. Please specify which wxWidgets port you are using (Cocoa or Carbon). Thanks, On Mon, Apr 27, 2009 at 6:22 PM, Kerry Loux <lo...@gm...> wrote: > Hello ABE, > > I'm not sure I understand your problem completely, but I thought I'd comment > since I'm using wxVTK in what sounds like a similar application. I use a > wxAuiNotebook with a wxVTKRenderWindowInteractor on each page, displaying > different information. I have no issues whatsoever with updating the hidden > pages and the appearance of the top page. I'm running WinXP, so perhaps it > is a platform-dependant issue? I'm not updating my images at anything close > to "real-time," so perhaps this has something to do with it, too. Can you > supress the call to render the hidden pages until they are no longer hidden? > > -Kerry > > On Sun, Apr 26, 2009 at 4:14 AM, ABE Hiroshi <ha...@gm...> wrote: >> >> Hi, >> I have been working with wxGLCanvas and recently have been tried wxVTK. >> The wrapper is quite nice and really appreciated. >> >> I am planning of my program to have multiple wxVTK 3D pages with >> wxNotebook/wxauiNotebook. >> My program is so-called real-time visualization program so the 3D >> views are redrawn with time marching. >> There is no problem with one page with time marching. But if you >> have two pages, you got a 'bare' window in front of the program's >> main window when the hidden 3D view window is redrawn. I mean 'bare' >> is that the window has no frame. >> A strange thing is that the problem is not occurred once you see the >> hidden page by clicking the wx(aui)Notebook's tab. >> >> FYI, glCanvas version of the program is working without any problem >> so far. >> >> Any suggestions are really appreciated. >> Thank you in advance. >> >> My env. is >> >> MacOS X 10.4.11 (PowerMac MDD 867) >> VTK-5.4 >> wxWidgets-2.8.9 >> wxVTK (CVS latest as of now) >> >> ABE Hiroshi >> from Tokorozawa, JAPAN >> >> >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensign option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Wxvtk-users mailing list >> Wxv...@li... >> https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > > -- Mathieu |
From: Kerry L. <lo...@gm...> - 2009-04-27 16:22:26
|
Hello ABE, I'm not sure I understand your problem completely, but I thought I'd comment since I'm using wxVTK in what sounds like a similar application. I use a wxAuiNotebook with a wxVTKRenderWindowInteractor on each page, displaying different information. I have no issues whatsoever with updating the hidden pages and the appearance of the top page. I'm running WinXP, so perhaps it is a platform-dependant issue? I'm not updating my images at anything close to "real-time," so perhaps this has something to do with it, too. Can you supress the call to render the hidden pages until they are no longer hidden? -Kerry On Sun, Apr 26, 2009 at 4:14 AM, ABE Hiroshi <ha...@gm...> wrote: > Hi, > I have been working with wxGLCanvas and recently have been tried wxVTK. > The wrapper is quite nice and really appreciated. > > I am planning of my program to have multiple wxVTK 3D pages with > wxNotebook/wxauiNotebook. > My program is so-called real-time visualization program so the 3D > views are redrawn with time marching. > There is no problem with one page with time marching. But if you > have two pages, you got a 'bare' window in front of the program's > main window when the hidden 3D view window is redrawn. I mean 'bare' > is that the window has no frame. > A strange thing is that the problem is not occurred once you see the > hidden page by clicking the wx(aui)Notebook's tab. > > FYI, glCanvas version of the program is working without any problem > so far. > > Any suggestions are really appreciated. > Thank you in advance. > > My env. is > > MacOS X 10.4.11 (PowerMac MDD 867) > VTK-5.4 > wxWidgets-2.8.9 > wxVTK (CVS latest as of now) > > ABE Hiroshi > from Tokorozawa, JAPAN > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Wxvtk-users mailing list > Wxv...@li... > https://lists.sourceforge.net/lists/listinfo/wxvtk-users > |
From: ABE H. <ha...@gm...> - 2009-04-26 08:14:54
|
Hi, I have been working with wxGLCanvas and recently have been tried wxVTK. The wrapper is quite nice and really appreciated. I am planning of my program to have multiple wxVTK 3D pages with wxNotebook/wxauiNotebook. My program is so-called real-time visualization program so the 3D views are redrawn with time marching. There is no problem with one page with time marching. But if you have two pages, you got a 'bare' window in front of the program's main window when the hidden 3D view window is redrawn. I mean 'bare' is that the window has no frame. A strange thing is that the problem is not occurred once you see the hidden page by clicking the wx(aui)Notebook's tab. FYI, glCanvas version of the program is working without any problem so far. Any suggestions are really appreciated. Thank you in advance. My env. is MacOS X 10.4.11 (PowerMac MDD 867) VTK-5.4 wxWidgets-2.8.9 wxVTK (CVS latest as of now) ABE Hiroshi from Tokorozawa, JAPAN |
From: Joshua P. <jos...@gm...> - 2009-04-22 19:07:32
|
I updated to the latest wxVTK via CVS, which includes the wxvtk_attributes array in wxGLCanvas's constructor. If I call wxGLCanvas::SwapBuffers() after the line in wxVTKRenderWindowInteractor::OnPaint() which calls Render(), my screen starts out as black, which I believe is the undrawn buffer. So I think wxGLCanvas is being correctly initialized, but that the buffer swapping isn't working correctly inside Render(). I'm not sure, this is my best guess at the moment. Anyway, this still isn't working for me. I'm using NVIDIA's glx and get the following version info from glxinfo: server glx vendor string: NVIDIA Corporation server glx version string: 1.4 On Thu, Feb 26, 2009 at 10:10 AM, Pierre Fillard <pie...@gm...> wrote: > Not that I know. I ran into this bug a few months ago by testing softwares > on recent nvidia graphic cards, where I experienced lots of flickering. It > turns out that by explicitly setting double buffering to On solved the > problem. As I am not an openGL expert, I was pretty OK with this workaround. > > There are some discussions about this issue that you may find useful: > > http://www.nabble.com/OpenGL,-wxWidgets-and-Ubuntu-7.10-td16047290.html > > The trick of activating the double buffering works well on any system I > tried (windows, linux - various distributions - and macosx). Sorry for not > reporting it to the list but things went a bit crazy around here these days > (and months). > > Hope this helps, > Pierre. > > > On Thu, Feb 26, 2009 at 2:05 PM, Mathieu Malaterre > <mat...@gm...> wrote: >> >> Is it something that was reported before (possibly the bug tracker) >> that I forgot to merge ? >> >> thx >> >> On Wed, Feb 18, 2009 at 8:28 PM, Pierre FILLARD >> <Pie...@so...> wrote: >> > I had a similar issue that I solved by changing the default constructor >> > of >> > the class wxVTKRenderWindowInteractor to: >> > wxGLCanvas((wxWindow*)(NULL), wxID_ANY, wxDefaultPosition, >> > wxDefaultSize, 0, >> > wxT("glcanvas"), attributes) >> > where attributes is defined as: >> > int attributes[5] = { >> > WX_GL_DOUBLEBUFFER, >> > WX_GL_RGBA, >> > WX_GL_DEPTH_SIZE, >> > 16, >> > 0 >> > }; >> > which enables double buffering for wxGLCanvas. >> > My two cents. >> > Pierre. >> > On Feb 18, 2009, at 7:08 PM, Joshua Pedrick wrote: >> > >> > I've successfully compiled wxVTK and have integrated it into my >> > application. The trouble I am having is that if I use wxGLCanvas as >> > the sub-class I can't get double buffering to work. If I use wxWindow >> > double buffering works, but the window only refreshes in response to >> > VTK events and not wx events. Any hints? >> > >> > >> > ------------------------------------------------------------------------------ >> > Open Source Business Conference (OSBC), March 24-25, 2009, San >> > Francisco, CA >> > -OSBC tackles the biggest issue in open source: Open Sourcing the >> > Enterprise >> > -Strategies to boost innovation and cut costs with open source >> > participation >> > -Receive a $600 discount off the registration fee with the source code: >> > SFAD >> > http://p.sf.net/sfu/XcvMzF8H >> > _______________________________________________ >> > Wxvtk-users mailing list >> > Wxv...@li... >> > https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Open Source Business Conference (OSBC), March 24-25, 2009, San >> > Francisco, CA >> > -OSBC tackles the biggest issue in open source: Open Sourcing the >> > Enterprise >> > -Strategies to boost innovation and cut costs with open source >> > participation >> > -Receive a $600 discount off the registration fee with the source code: >> > SFAD >> > http://p.sf.net/sfu/XcvMzF8H >> > _______________________________________________ >> > Wxvtk-users mailing list >> > Wxv...@li... >> > https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> > >> > >> >> >> >> -- >> Mathieu > > -- -- יהושע |
From: Robbie J. <rj...@gm...> - 2009-04-22 03:50:30
|
A follow up with my build system: OS: Mac OS X 10.5.6 wxWidgets: 2.8.8 wxVTK: 1.49 (CVS checkout, also tried 1.41) VTK: 5.3 On Tue, Apr 21, 2009 at 8:29 PM, Robbie Jaeger <rj...@gm...> wrote: > Hi, > > I have a program that has the structure of wxFrame -> wxGridSizer -> > wxPanel -> wxGridSizer -> wxNotebook -> wxPanel as pages in the notebook (I > hope that makes sense). Each of the wxPanels has a > wxVTKRenderWindowInteractor that I want to draw VTK files to. When I have > more than one page open in the notebook, I can open and display a file from > VTK, but only for the last page in the notebook. If I change pages, the > wxVTKRenderWindowInteractor remains visible and the other > wxVTKRenderWindowInteractor on the other pages remain behind the last one. > Has anyone on here run into this? I'm assuming there is some command that > I'm failing to invoke, but I cannot seem to find it. Any help would be > greatly appreciated. > > Thanks, > Robbie > |
From: Robbie J. <rj...@gm...> - 2009-04-22 03:29:17
|
Hi, I have a program that has the structure of wxFrame -> wxGridSizer -> wxPanel -> wxGridSizer -> wxNotebook -> wxPanel as pages in the notebook (I hope that makes sense). Each of the wxPanels has a wxVTKRenderWindowInteractor that I want to draw VTK files to. When I have more than one page open in the notebook, I can open and display a file from VTK, but only for the last page in the notebook. If I change pages, the wxVTKRenderWindowInteractor remains visible and the other wxVTKRenderWindowInteractor on the other pages remain behind the last one. Has anyone on here run into this? I'm assuming there is some command that I'm failing to invoke, but I cannot seem to find it. Any help would be greatly appreciated. Thanks, Robbie |
From: Mathieu M. <mat...@gm...> - 2009-04-15 07:53:51
|
On Wed, Apr 15, 2009 at 1:50 AM, Bangyou Zheng <zhe...@gm...> wrote: > Sorry for the duplicate message. > This problem has solved by updating VTK to cvs version. Cool ! -- Mathieu |
From: Bangyou Z. <zhe...@gm...> - 2009-04-14 23:50:51
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Sorry for the duplicate message.<br> This problem has solved by updating VTK to cvs version.<br> <br> Mathieu Malaterre wrote: <blockquote cite="mid:bf0...@ma..." type="cite"> <pre wrap="">[you do not need to duplicate email, you will not get duplicate answer] 2009/4/14 Bangyou Zheng <a class="moz-txt-link-rfc2396E" href="mailto:zhe...@gm..."><zhe...@gm...></a>: </pre> <blockquote type="cite"> <pre wrap="">I have the similar problem about memory leak described by Premraj, Senthil Kumar. The URL is : <a class="moz-txt-link-freetext" href="http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users">http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users</a> 1) Problem description: I need to redraw the vtkRenderer when users click the someplace of window. Firstly, the all props were deleted: m_Renderer->RemoveAllViewProps(); Then, these codes were used to redraw the vtkRenderer vtkPoints * pts = vtkPoints::New(); vtkUnstructuredGrid * aTriangleGrid = vtkUnstructuredGrid::New(); vtkDataSetMapper * aTriangleMapper = vtkDataSetMapper::New(); vtkActor * Actor = vtkActor::New(); // some codes to create the Props m_Renderer->AddViewProp( Actor ); pts->Delete(); aTriangleGrid->Delete(); aTriangleMapper->Delete(); Actor->Delete(); Finally, The memory usage was growing with redrawing the vtkRenderer 2) My environment Windows XP SP2 mingw32-gcc-3.4.5 wxWidgets 2.8.9 linked as dll VTK 5.0 linked as dll wxVTKRenderWindowInteractor cvs version (up to now) I know this problem can be avoided by using linker's /delayload flag of MFC, but how to fix this problem for mingw? Thanks a lot! </pre> </blockquote> <pre wrap=""><!----> I would think setting some renderer instance to NULL might help. (->SetRenderer(NULL)). HTH </pre> </blockquote> <br> </body> </html> |
From: Mathieu M. <mat...@gm...> - 2009-04-14 12:32:54
|
[you do not need to duplicate email, you will not get duplicate answer] 2009/4/14 Bangyou Zheng <zhe...@gm...>: > I have the similar problem about memory leak described by Premraj, Senthil > Kumar. The URL is : > > http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users > > 1) Problem description: > I need to redraw the vtkRenderer when users click the someplace of window. > Firstly, the all props were deleted: > m_Renderer->RemoveAllViewProps(); > > Then, these codes were used to redraw the vtkRenderer > > vtkPoints * pts = vtkPoints::New(); > vtkUnstructuredGrid * aTriangleGrid = vtkUnstructuredGrid::New(); > vtkDataSetMapper * aTriangleMapper = vtkDataSetMapper::New(); > vtkActor * Actor = vtkActor::New(); > > // some codes to create the Props > > m_Renderer->AddViewProp( Actor ); > > pts->Delete(); > aTriangleGrid->Delete(); > aTriangleMapper->Delete(); > Actor->Delete(); > > Finally, The memory usage was growing with redrawing the vtkRenderer > > 2) My environment > Windows XP SP2 > mingw32-gcc-3.4.5 > wxWidgets 2.8.9 linked as dll > VTK 5.0 linked as dll > wxVTKRenderWindowInteractor cvs version (up to now) > > > I know this problem can be avoided by using linker's /delayload flag of MFC, > but how to fix this problem for mingw? > > Thanks a lot! I would think setting some renderer instance to NULL might help. (->SetRenderer(NULL)). HTH -- Mathieu |
From: Bangyou Z. <zhe...@gm...> - 2009-04-14 09:12:20
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=GB2312"> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">I have the similar problem about memory leak described by Premraj, Senthil Kumar. The URL is :<br> <br> <a class="moz-txt-link-freetext" href="http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users">http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users</a><br> <br> 1) Problem description:<br> I need to redraw the vtkRenderer when users click the someplace of window. Firstly, the all props were deleted:<br> m_Renderer->RemoveAllViewProps();<br> <br> Then, these codes were used to redraw the vtkRenderer<br> <br> vtkPoints * pts = vtkPoints::New();<br> vtkUnstructuredGrid * aTriangleGrid = vtkUnstructuredGrid::New();<br> vtkDataSetMapper * aTriangleMapper = vtkDataSetMapper::New();<br> vtkActor * Actor = vtkActor::New();<br> <br> // some codes to create the Props<br> <br> m_Renderer->AddViewProp( Actor );<br> <br> pts->Delete();<br> aTriangleGrid->Delete();<br> aTriangleMapper->Delete();<br> Actor->Delete();<br> <br> Finally, The memory usage was growing with redrawing the vtkRenderer<br> <br> 2) My environment<br> Windows XP SP2<br> mingw32-gcc-3.4.5<br> wxWidgets 2.8.9 linked as dll<br> VTK 5.0 linked as dll<br> wxVTKRenderWindowInteractor cvs version (up to now)<br> <br> <br> I know this problem can be avoided by using linker's /delayload flag of MFC, but how to fix this problem for mingw?<br> <br> Thanks a lot!<br> <br> <br> <br> <br> </font> </body> </html> |
From: Bangyou Z. <zhe...@gm...> - 2009-04-13 14:07:54
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=GB2312"> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">I have the similar problem about memory leak described by Premraj, Senthil Kumar. The URL is :<br> <br> <a class="moz-txt-link-freetext" href="http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users">http://sourceforge.net/mailarchive/forum.php?thread_name=CE95C4CC27808146AB22964FE8C94D66016D91462CAB%40IOWAEVS05.iowa.uiowa.edu&forum_name=wxvtk-users</a><br> <br> </font> <p><font face="Arial"><b>1) Problem description:</b></font></p> <font face="Arial">I need to redraw the vtkRenderer when users click the someplace of window. Firstly, the all props were deleted:<b><br> m_Renderer->RemoveAllViewProps();</b><br> <br> Then, these codes were used to redraw the vtkRenderer<br> <br> <b>vtkPoints * pts = vtkPoints::New();<br> vtkUnstructuredGrid * aTriangleGrid = vtkUnstructuredGrid::New();<br> vtkDataSetMapper * aTriangleMapper = vtkDataSetMapper::New();<br> vtkActor * Actor = vtkActor::New();</b><br> <br> // some codes to create the Props<br> <br> <b>m_Renderer->AddViewProp( Actor );<br> <br> pts->Delete();<br> aTriangleGrid->Delete();<br> aTriangleMapper->Delete();<br> Actor->Delete();</b><br> <br> Finally, The memory usage was growing with redrawing the vtkRenderer <br> <br> </font> <p><b><font face="Arial">2) My environment</font></b></p> <font face="Arial">Windows XP SP2</font><br> <font face="Arial">mingw32-gcc-3.4.5<br> </font><font face="Arial">wxWidgets 2.8.9 linked as dll<br> VTK 5.0 linked as dll<br> wxVTKRenderWindowInteractor cvs version (up to now)<br> <br> <br> I know this problem can be avoided by using linker's /delayload flag of MFC, but how to fix this problem for mingw? <br> <br> Thanks a lot!<br> <br> <br> <br> <br> </font> </body> </html> |
From: Mathieu M. <mat...@gm...> - 2009-03-05 16:02:18
|
On Thu, Mar 5, 2009 at 4:59 PM, Sander Niemeijer <nie...@st...> wrote: > > On 5 mrt 2009, at 16:35, Pierre Fillard wrote: > >>> I would suggest making the definition of wxvtk_attributes static. >>> This will prevent the symbol becoming exported. >> >> Sure. I'll change it to static. > > Thanks. > >>> Also, you have removed the wxCHECK_VERSION(2, 8, 0). Are you sure >>> that your invocation of the wxGLCanvas constructor will also work >>> with versions of wxWidgets before 2.8? >> >> I guess so. Previous versions of wx allowed to call the wxGLCanvas >> constructor with zero argument (all were defaulted to some values in >> the header) which was changed in recent versions. The current >> constructor seems to be "backward compatible", but I may be wrong. >> Problem is that I have to call the constructor with all its >> arguments to pass it the openGL attribute list, which is the only >> possibility to pass it. Otherwise I can do my openGL trick only for >> wx>2.8 and leave constructor unchanged for older versions (but the >> flickering problem may persist). > > I just checked with the wxWidgets docs and it seems that the > constructor invocation should indeed be compatible back to at least 2.4. I think I was the one adding it because at some point backward compatibility was broken: http://groups.google.com/group/comp.soft-sys.wxwindows/browse_thread/thread/dfc1b064ac30f4f5 I guess this has been fixed since. Thanks guys ! -- Mathieu |
From: Sander N. <nie...@st...> - 2009-03-05 15:59:19
|
On 5 mrt 2009, at 16:35, Pierre Fillard wrote: >> I would suggest making the definition of wxvtk_attributes static. >> This will prevent the symbol becoming exported. > > Sure. I'll change it to static. Thanks. >> Also, you have removed the wxCHECK_VERSION(2, 8, 0). Are you sure >> that your invocation of the wxGLCanvas constructor will also work >> with versions of wxWidgets before 2.8? > > I guess so. Previous versions of wx allowed to call the wxGLCanvas > constructor with zero argument (all were defaulted to some values in > the header) which was changed in recent versions. The current > constructor seems to be "backward compatible", but I may be wrong. > Problem is that I have to call the constructor with all its > arguments to pass it the openGL attribute list, which is the only > possibility to pass it. Otherwise I can do my openGL trick only for > wx>2.8 and leave constructor unchanged for older versions (but the > flickering problem may persist). I just checked with the wxWidgets docs and it seems that the constructor invocation should indeed be compatible back to at least 2.4. Best regards, Sander |
From: Pierre F. <pie...@gm...> - 2009-03-05 15:35:19
|
On Thu, Mar 5, 2009 at 4:24 PM, Sander Niemeijer <nie...@st...>wrote: > Hi Pierre, > > I have two comments: > > I would suggest making the definition of wxvtk_attributes static. This will > prevent the symbol becoming exported. Sure. I'll change it to static. > > > Also, you have removed the wxCHECK_VERSION(2, 8, 0). Are you sure that your > invocation of the wxGLCanvas constructor will also work with versions of > wxWidgets before 2.8? I guess so. Previous versions of wx allowed to call the wxGLCanvas constructor with zero argument (all were defaulted to some values in the header) which was changed in recent versions. The current constructor seems to be "backward compatible", but I may be wrong. Problem is that I have to call the constructor with all its arguments to pass it the openGL attribute list, which is the only possibility to pass it. Otherwise I can do my openGL trick only for wx>2.8 and leave constructor unchanged for older versions (but the flickering problem may persist). Best, Piere. > > > Best regards, > Sander > > > On 5 mrt 2009, at 15:58, Pierre Fillard wrote: > > Message: "Added a wxGLCanvas attribute list to the >> wxVTKRenderWindowInteractor constructor to force OpenGL double buffering to >> be ON by default. >> This trick solves some flickering issues on some graphic hardwares, the >> other will (or should) behave normally." >> >> Checking in src/wxVTKRenderWindowInteractor.cxx; >> /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v <-- >> wxVTKRenderWindowInteractor.cxx >> new revision: 1.48; previous revision: 1.47 >> done >> >> >> Index: src/wxVTKRenderWindowInteractor.cxx >> =================================================================== >> RCS file: /cvsroot/wxvtk/wxVTK/src/wxVTKRenderWindowInteractor.cxx,v >> retrieving revision 1.47 >> diff -u -r1.47 wxVTKRenderWindowInteractor.cxx >> --- src/wxVTKRenderWindowInteractor.cxx 3 Mar 2009 16:20:42 -0000 >> 1.47 >> +++ src/wxVTKRenderWindowInteractor.cxx 5 Mar 2009 14:51:34 -0000 >> @@ -137,13 +137,19 @@ >> vtkCxxRevisionMacro(wxVTKRenderWindowInteractor, "$Revision: 1.47 $") >> vtkInstantiatorNewMacro(wxVTKRenderWindowInteractor) >> >> >> -//--------------------------------------------------------------------------- >> #if defined(__WXGTK__) && defined(USE_WXGLCANVAS) >> -#if (wxCHECK_VERSION(2, 8, 0)) >> -wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor() : >> wxGLCanvas(0, -1, wxDefaultPosition), vtkRenderWindowInteractor() >> -#else >> -wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor() : >> wxGLCanvas(), vtkRenderWindowInteractor() >> +int wxvtk_attributes[]={ >> + WX_GL_DOUBLEBUFFER, >> + WX_GL_RGBA, >> + WX_GL_DEPTH_SIZE, >> + 16, >> + 0 >> +}; >> #endif >> + >> >> +//--------------------------------------------------------------------------- >> +#if defined(__WXGTK__) && defined(USE_WXGLCANVAS) >> +wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor() : >> wxGLCanvas(0, -1, wxDefaultPosition, wxDefaultSize, 0, >> wxT("wxVTKRenderWindowInteractor"), wxvtk_attributes), >> vtkRenderWindowInteractor() >> #else >> wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor() : wxWindow(), >> vtkRenderWindowInteractor() >> #endif //__WXGTK__ >> @@ -170,7 +176,7 @@ >> long style, >> const wxString >> &name) >> #if defined(__WXGTK__) && defined(USE_WXGLCANVAS) >> - : wxGLCanvas(parent, id, pos, size, style, name), >> vtkRenderWindowInteractor() >> + : wxGLCanvas(parent, id, pos, size, style, name, wxvtk_attributes), >> vtkRenderWindowInteractor() >> #else >> : wxWindow(parent, id, pos, size, style, name), >> vtkRenderWindowInteractor() >> #endif //__WXGTK__ >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> >> http://p.sf.net/sfu/XcvMzF8H_______________________________________________ >> Wxvtk-users mailing list >> Wxv...@li... >> https://lists.sourceforge.net/lists/listinfo/wxvtk-users >> > > |