Wow, cool dude. Do you have a git repo that I could pull your changes
from? If I can get access to that then I can get a better idea on how this
error message your getting.
Performance. Is this the debug or release build you are running?
Regardless, your slowdown is likely because of the "WARNING: ..." spew that
may be happening each frame. You will probably get better performance if
you redirect your console output to a file, or minimize your console window.
Yes, I did use the GUI in a 6-sided cave at ISU. Check out
20UIRectangle.cpp<https://github.com/djkabala/OpenSGToolbox/blob/master/Examples/Tutorial/UserInterface/20UIRectangle.cpp>.
This example shows how to add a UIRectangle node to the scene graph.
OpenSGToolbox <https://github.com/djkabala/OpenSGToolbox> /
Source<https://github.com/djkabala/OpenSGToolbox/tree/master/Source>/
Contrib<https://github.com/djkabala/OpenSGToolbox/tree/master/Source/Contrib>/
UserInterface<https://github.com/djkabala/OpenSGToolbox/tree/master/Source/Contrib/UserInterface>/
src<https://github.com/djkabala/OpenSGToolbox/tree/master/Source/Contrib/UserInterface/src>/
*UIDrawingSurface* /
OSGUIDrawingSurface.h<https://github.com/djkabala/OpenSGToolbox/blob/master/Source/Contrib/UserInterface/src/UIDrawingSurface/OSGUIDrawingSurface.h>is
the base class that handles passing mouse and keyboard events to a set
of windows.
*OpenSGToolbox <https://github.com/djkabala/OpenSGToolbox> /
Source<https://github.com/djkabala/OpenSGToolbox/tree/master/Source>/
Contrib<https://github.com/djkabala/OpenSGToolbox/tree/master/Source/Contrib>/
UserInterface<https://github.com/djkabala/OpenSGToolbox/tree/master/Source/Contrib/UserInterface>/
src<https://github.com/djkabala/OpenSGToolbox/tree/master/Source/Contrib/UserInterface/src>/
UIDrawingSurface / OSGUIDrawingSurfaceMouseTransformFunctor.h *is the base
class for transforming viewport coordinates to the UIDrawingSurface.
I'll have to think about how we can change things to use your event loop.
On Mon, Mar 11, 2013 at 8:05 AM, Alexander Lang <[email protected]>wrote:
> Hello,
> it took some time but i managed to modify the current OpenSG codebase to
> make the GUI component of the OpenSGToolbox project work:
> https://dl.dropbox.com/u/25964527/opensgtoolboxgui.jpg.
> However, i get the output: "WARNING:
> FieldContainerFactory::unregisterContainer: id '0' not found in container
> store!". Any idea concerning this message? Also the performance is not
> great (see FRAPS frame counter at the top left).
> Nevertheless, i am impressed by the functionality. It would be a shame to
> let this project die. Implementing an OpenSG backend for the Qt GUI seems
> out of the question to me, that would take months of work.
>
> The project seems to focus on desktop input devices, i.e. mouse and
> keyboard. Did you use the GUI at any time with other input devices, like a
> tracked wand/flystick etc.? Also i don't quite like the windows to have
> their own loop, i'd rather keep my Qt event loop. I have to think about
> it.
>
> Kind regards,
> Alex
>
> > No, currently it is not possible to do this. OpenSGToolbox must be
> > compiled with the https://github.com/djkabala/OpenSGDevMaster_Toolbox
> > branch
> > of OpenSG. This is because I needed to make fundamental changes to the
> > base FieldContainer class and modify fcd2code to generate additional
> code.
> > These changes are for adding some reflexive definitions for functions in
> > field containers, this is important for the architecture of the
> > UserInterface and Lua libraries in OpenSGToolbox. There has been some
> > resistance to merging in those changes to the OpenSG master branch, and I
> > don't see this changing with Gerrit as the only regular contributor to
> > OpenSG. So, with a heavy heart my suggestion is that it would probably
> be
> > easier for you to integrate QT with OpenSG. There is example code for
> > OpenSceneGraph that does this here:
> > https://github.com/openscenegraph/osg/tree/master/include/osgQt and
> > https://github.com/openscenegraph/osg/tree/master/src/osgQt
> >
> >
> > On Tue, Feb 26, 2013 at 1:05 PM, Alexander Lang
> > <[email protected]>wrote:
> >
> >> Hello,
> >> is there a way to build the OpenSGToolbox project by David Kabala
> >> (https://github.com/djkabala/OpenSGToolbox) with the current OpenSG 2
> >> master branch? I am only interested in the GUI part of the project. I
> >> managed to create a VS 2010 Solution by pointing the
> >> OSG_EXTRA_EXTERNAL_MODULES cmake variable to the CMakeModuleInclude.txt
> >> provided by the project, but i get numerous compile errors. Thanks!
> >>
> >> Regards,
> >> Alex
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Everyone hates slow websites. So do we.
> >> Make your web apps faster with AppDynamics
> >> Download AppDynamics Lite for free today:
> >> http://p.sf.net/sfu/appdyn_d2d_feb
> >> _______________________________________________
> >> Opensg-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/opensg-users
> >>
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> >
> http://p.sf.net/sfu/appdyn_d2d_feb_______________________________________________
> > Opensg-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> >
>
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users