[osg-users] How to use the osgUI

Robert Osfield robert.osfield at gmail.com
Tue Jan 21 02:55:49 PST 2020


The osgUI NodeKit was written to be used from C++ and/or Lua script.  
During development the primary focus was on making sure it was functional 
via Lua script and as part of Present3D presentations (see 
OpenSceneGraph/applicaton/present3D).

Due to the focus on Lua script usage I didn't write any C++ examples, 
instead it was all done via Lua scripts.  There a couple of Lua scripts in 
the OpenSceneGraph-Data/ui directory that illustrate it in action.  For 
example try:

     osgviewer ~/Data/OpenSceneGraph-Data/ui/TabWidget.lua.90,0,0.rot 

Note the 90,0.0.rot uses a psuedo plugin to rotate the widget that is on 
the XY plane by default to the XZ plane to fit with the OSG default viewing 
orientation (X to the east/right, Y north/forward, Z up).

The project that funded this work, after the end of the project I haven't 
had time have time to further develop.

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/aa0f73fb-fbc9-48a7-bb80-b93cac8d0da2%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200121/33d92fbb/attachment.html>


More information about the osg-users mailing list