Hi Robert

Thanks for your answer!  

Ill try and refine what it is I'm doing.  When our application is running we 
want OSG to display 3 models on the screen and nothing else.  We want a user to 
be able to run any program they wish underneath it.  This means that when our 
application is on a user could run, MS word, Google Chrome, a Game or any other 
application.  Our program will always display its 3 models above everything.  
So far this works.  

We also want to have a HUD or basically a side bar that runs the height of the 
screen on the right hand side of the screen.  Maybe about 1/5 the width of the 
screen:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 # # # # #

If the above was the screen the # represent the side bar.  Just a black 
ordinary side bar.  Then it will be able to be hidden so it kind of slides away 
and then reappears again when needed (a specific key is hit, or event is 
fulfilled or whatever).  On this side bar there will be text and maybe a 
looping animation.  Not sure yet, its a place to display information.  

I figured with my approach that I would just use a quad to represent that space 
as the HUD.   When I tried to run the other examples I linked and or mentioned 
I was not able to make ANYTHING display.  If the HUD was indeed transparent, I 
was never able to figure out how to make it non transparent.  I could try again 
and play around with things but for the moment my current approach seems to 
give what I want.  I don't see why I wound't be able to append text to it 
later, but appending another animation for example might be tricky.  Im not 
sure.  My approach however feels like a weird work around to a problem that may 
otherwise be solved in a more standard and efficient manner, hence my question 
:D 

I hope this helps clarify my question  :D 

Thanks!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=60887#60887





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to