Hi Árpi,

osgUI is an independent development to osgWidget so you won't need the
osgWidget::WindowManager at all. osgUI's advantage over osgWidget is that
it can be used within 3D scene - something required for stereo applications
that require UI and support for scripting of both the creating and
behaviours of the UI.  However is quite new and not all the features have
been fully fleshed out/debugged, and the documentation lags behind as
well.

Most of the dev work I did on osgUI I used lua scripts to implement the UI
so it might be best to look at the lua scripts in OpenSceneGraph-Data/ui
directory to see examples of osgUI + lua in action.  OSG-3.4 has lua
support built into it via the lua plugin that integrates Lua 5.2 sources
directly in the plugin.

Robert.


On 29 November 2015 at 15:59, Horváth Árpád <[email protected]>
wrote:

> Hi,
>
> Where can I find some details or examples about the new (?) osgUI
> namespace? Its look like interesting for me.
> I tried this code but nothing appeared:
>
>         _wm = new osgWidget::WindowManager(...);
> ...
>         _testbox = new osgUI::ComboBox();
>         _testbox->addItem( new osgUI::Item("valami") );
>         _testbox->addItem( new osgUI::Item("semmi") );
>         _testbox->addItem( new osgUI::Item("akármi") );
>         _wm->addChild( _testbox );
>
>
> Thank you!
>
> Cheers,
> Árpi
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=65788#65788
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to