I forgot to mention that--as you might expect--the proper functionality
of a HUD relies on the camera's orthographic projections matrix being
set correctly. All of the examples use 1280x1024, and you can use a
command like the following to get the desired result:
# OSG_WINDOW="0 0 1280 1024" ./examples/osghudbox/osghudbox
On Windows, er, um, you might need to recompile the examples w/ the
proper resolution. :)
On Fri, 2007-11-30 at 10:36 -0500, Jeremy Moles wrote:
> A few months ago I made a post describing a piece of software I was
> working on. Unfortunately, I've been very busy since then (Bioshock,
> Halo 3, Orange Box, work...) and haven't had much time to work on it.
> However, the last few weeks I've been spending a bit of my free time
> working on it again, starting from scratch, and have come to a point
> where I'm ready to at least "put it out there" and see what people
> think.
>
> Thus far osgHUD is very primitive, and doesn't support nearly the
> feature set it eventually will. The basics are there though, and the
> main point of my posting it here is to get opinions on the progression
> of the software and get some ideas/advice for what I can change.
>
> You can find the SVN 0.1.0 tag here:
>
> svn co http://osghud.googlecode.com/svn/tags/0.1.0 osgHUD
>
> ...I wouldn't recommend using trunk, as it is often broken. I only test
> and develop on Linux using GCC & ICC, but nothing about the code is
> Linux-centric. To build it, just do:
>
> # cd build
> # ccmake ..
>
> 3 small examples are provided: osghud{box, window, label}, which
> demonstrate some of the basic functionality of the current state of
> osgHUD. osghudwindow is heavily commented, and a great place to start
> checking things out.
>
> The following is a short list of what will be included in 0.2.0, which I
> will hopefully be done with over the weekend:
>
> - Table-like layouts (think HTML tables)
> - The ability to hide/show Widgets.
> - A "DecoratedWindow" subclass of osgHUD::Window, which will
> provide the standard titlebar, open/close/minimize, resize,
> etc. of a standard "window."
>
> Of course, there is MUCH more to do before osgHUD is ready for serious
> submission into OSG, but this should give people a good idea of where I
> plan on taking it in the next few days or so...
>
> Please feel free to post feedback here or send me e-mail directly. Also
> note that some of the current code is less concrete and more an
> experiment in using C++ "functionally" (i.e., std::accumulate,
> std::for_each, etc.) I can remove these instances if people find them
> distasteful.
>
> Also, there are two other projects I host on Google, osgCairo and
> osgEgypt, which some people might find interesting (and which I've
> talked about on these lists a few months back).
>
> _______________________________________________
> 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