Hello Brajesh,

Brajesh Lal wrote:
>  Hi all,
> 
> I am new to OpenSG 
> 
> My question is
> How i can make a display panel in OpenSG for displaying some of the variables 
> used in program. Like in any computer game, we display information to the 
> user.

that depends a bit on what exactly you want to display. If you want to
show some of the statistics that OpenSG collects itself you can use the
SimpleStatisticsForeground (in
OpenSG/Source/System/Statistics/OSGSimpleStatisticsForeground.h). You
might also wrap the information you want to display as statistics
elements, though that could be considered a hack ;)
Otherwise I'm afraid you'll have to create your own foreground and draw
the information yourself, but the SimpleStatisticsForeground should give
you a good starting point.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to