[osg-users] mygui integration (for Wang Rui)
Wang Rui
wangray84 at gmail.com
Wed Nov 11 16:55:44 PST 2015
Hi Trajce,
This should be easy because MyGUI window is encapsulated in derived osg::Drawable class and displayed in a HUD camera. You may simply set the camera ortho matrix to a different value like (0.0, 0.4, 0.0, 0.4) to have OSG scene as background.
Wang Rui
------------------ Original ------------------
From: "Trajce Nikolov NICK";<trajce.nikolov.nick at gmail.com>;
Date: Wed, Nov 11, 2015 04:43 AM
To: "OpenSceneGraph Users"<osg-users at lists.openscenegraph.org>;
Subject: Re: [osg-users] mygui integration (for Wang Rui)
Hi Wang,
did you had luck to have osg scene as a background (the osg blusish background with a model)? Any hints for this?
Thanks a lot!
Nick
On Tue, Nov 10, 2015 at 7:45 AM, Trajce Nikolov NICK <trajce.nikolov.nick at gmail.com> wrote:
Thanks Wang for the fast reply ... I will ..
Cheers,
Nick
On Tue, Nov 10, 2015 at 1:55 AM, Wang Rui <wangray84 at gmail.com> wrote:
Hi Trajce,
The osgmygui example is compiled against MyGUI 3.01 and will look for resource.xml file in current working directory to locate MyGUI media files. The template of resource.xml can be found at <MyGuiRepo>/CMake/Templates, which should also be installed to <InstallPrefix>/bin automatically.
Sorry for my inactivity these days, and feel free to use and commit to the osgRecipes project. :-)
Wang Rui
------------------ Original ------------------
From: "Trajce Nikolov NICK";<trajce.nikolov.nick at gmail.com>;
Date: Tue, Nov 10, 2015 03:01 AM
To: "OpenSceneGraph Users"<osg-users at lists.openscenegraph.org>;
Subject: [osg-users] mygui integration (for Wang Rui)
Hi Wang,
I am looking at your work with mygui and I was wondering where do you host the referenced config .xml files to run the sample. Please let me know
Thanks as always !
Nick
p.s. I hope the community will not mind for posting this to the user list :-)
--
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
trajce nikolov nick
--
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151112/d54c1ffc/attachment-0003.htm>
More information about the osg-users
mailing list