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";<[email protected]>;
Date: Wed, Nov 11, 2015 04:43 AM
To: "OpenSceneGraph Users"<[email protected]>;
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
<[email protected]> wrote:
Thanks Wang for the fast reply ... I will ..
Cheers,
Nick
On Tue, Nov 10, 2015 at 1:55 AM, Wang Rui <[email protected]> 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";<[email protected]>;
Date: Tue, Nov 10, 2015 03:01 AM
To: "OpenSceneGraph Users"<[email protected]>;
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
trajce nikolov nick
--
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org