<div>Hi Trajce,</div><div><div><br></div><div>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.</div><div><br></div><div>Wang Rui</div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Trajce Nikolov NICK";<trajce.nikolov.nick@gmail.com>;</div><div><b>Date: </b> Wed, Nov 11, 2015 04:43 AM</div><div><b>To: </b> "OpenSceneGraph Users"<osg-users@lists.openscenegraph.org>; <wbr></div><div></div><div><b>Subject: </b> Re: [osg-users] mygui integration (for Wang Rui)</div></div><div><br></div><div dir="ltr">Hi Wang,<div><br></div><div>did you had luck to have osg scene as a background (the osg blusish background with a model)? Any hints for this?</div><div><br></div><div>Thanks a lot!</div><div><br></div><div>Nick</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 7:45 AM, Trajce Nikolov NICK <span dir="ltr"><<a href="mailto:trajce.nikolov.nick@gmail.com" target="_blank">trajce.nikolov.nick@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Wang for the fast reply ... I will .. <div><br></div><div>Cheers,</div><div>Nick</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 10, 2015 at 1:55 AM, Wang Rui <span dir="ltr"><<a href="mailto:wangray84@gmail.com" target="_blank">wangray84@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>Hi Trajce,</div><div><br></div><div><div>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.</div><div><br></div><div>Sorry for my inactivity these days, and feel free to use and commit to the osgRecipes project. :-)</div><div><br></div><div>Wang Rui</div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ Original ------------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>From: </b> "Trajce Nikolov NICK";<<a href="mailto:trajce.nikolov.nick@gmail.com" target="_blank">trajce.nikolov.nick@gmail.com</a>>;</div><div><b>Date: </b> Tue, Nov 10, 2015 03:01 AM</div><div><b>To: </b> "OpenSceneGraph Users"<<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a>>; </div><div></div><div><b>Subject: </b> [osg-users] mygui integration (for Wang Rui)</div></div><div><div><div><br></div><div dir="ltr">Hi Wang,<div><br></div><div>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</div><div><br></div><div>Thanks as always !</div><div><br></div><div>Nick</div><div><br></div><div>p.s. I hope the community will not mind for posting this to the user list :-)<br clear="all"><div><br></div>-- <br><div>trajce nikolov nick<br></div>
</div></div></div></div></div><br></div></div>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>trajce nikolov nick<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">trajce nikolov nick<br></div>
</div></div>