Re: [osg-users] OSG and wxWidgets?

2018-12-28 Thread michael kapelko
Hi.
Try Qt instead, there's osgQt project: https://github.com/openscenegraph/osgQt

On Fri, 28 Dec 2018 at 04:15, A Z  wrote:
>
> -How is it recommended I tie together OSG and wxWidgets?
>
> Is there an example of how I tie the node tree to start displaying
> its contents to, say, wxPanel?  ?Will that wxPanel continue
> to receive keyboard and mouse events to the OSG subsystem?
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OSG and wxWidgets?

2018-12-27 Thread A Z
-How is it recommended I tie together OSG and wxWidgets?

Is there an example of how I tie the node tree to start displaying
its contents to, say, wxPanel?  ?Will that wxPanel continue
to receive keyboard and mouse events to the OSG subsystem?
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osg and wxwidgets resizing

2008-07-09 Thread James Dickson
I am on Windows, I will try at some point to see if I get the same behaviour
on Linux.

2008/7/9 Ulrich Hertlein [EMAIL PROTECTED]:

 Hi,

 James Dickson wrote:

 I have been trying out osg with wxwidgets, specifically playing with the
 osgViewerWX sample, and was wondering if it is possible
 to somehow maintain rendering whilst the wxFrame is resized. At the moment
 when the wxFrame is made bigger the rendering area
 is not redrawn until the next idle event, meaning it looks like the app
 has failed in someway (obviously it hasn't) until it is updated.


 Are you on Windows?  I found that the behaviour of wx is rather different
 on different platforms.  E.g. Linux does redraw while resizing and also
 while a menu is open, MacOS X does not.

 Does anyone have experience running wxWidgets with OpenGL draw in a
 separate thread?

 /ulrich
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
James Dickson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osg and wxwidgets resizing

2008-07-08 Thread James Dickson
 Hi,

I have been trying out osg with wxwidgets, specifically playing with the
osgViewerWX sample, and was wondering if it is possible
to somehow maintain rendering whilst the wxFrame is resized. At the moment
when the wxFrame is made bigger the rendering area
is not redrawn until the next idle event, meaning it looks like the app has
failed in someway (obviously it hasn't) until it is updated.

Would it be inefficient to render every resize event? Or maybe snapshot the
front buffer to create a image that is just resized (as
if the user is resizing they aren't interacting with the rendering window,
if so how?)?

Thank you for any help\comments, appologies if my terminology is wrong, I'm
a bit new to all this :-)

-- 
James Dickson



-- 
James Dickson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osg and wxwidgets resizing

2008-07-08 Thread Ulrich Hertlein

Hi,

James Dickson wrote:
I have been trying out osg with wxwidgets, specifically playing with the 
osgViewerWX sample, and was wondering if it is possible
to somehow maintain rendering whilst the wxFrame is resized. At the 
moment when the wxFrame is made bigger the rendering area
is not redrawn until the next idle event, meaning it looks like the app 
has failed in someway (obviously it hasn't) until it is updated.


Are you on Windows?  I found that the behaviour of wx is rather different on 
different platforms.  E.g. Linux does redraw while resizing and also while a 
menu is open, MacOS X does not.


Does anyone have experience running wxWidgets with OpenGL draw in a separate 
thread?

/ulrich
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osg and wxwidgets resizing

2008-07-05 Thread James Dickson
Hi,

I have been trying out osg with wxwidgets, specifically playing with the
osgViewerWX sample, and was wondering if it is possible
to somehow maintain rendering whilst the wxFrame is resized. At the moment
when the wxFrame is made bigger the rendering area
is not redrawn until the next idle event, meaning it looks like the app has
failed in someway (obviously it hasn't) until it is updated.

Would it be inefficient to render every resize event? Or maybe snapshot the
front buffer to create a image that is just resized (as
if the user is resizing they aren't interacting with the rendering window,
if so how?)?

Thank you for any help\comments, appologies if my terminology is wrong, I'm
a bit new to all this :-)

-- 
James Dickson
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org