Hi Carsten,

sorry for the late reply. I am currently running the latest git-version of 
opensg 2.0, and I can't find the SimpleTextForeground in the source tree.

Cheers,
Keyan

On 1 Aug 2012, at 17:01, Carsten Neumann wrote:

>       Hello Keyan,
> 
> apologies for the delay, project deadlines demanded attention...
> 
> On 07/25/2012 11:06 AM, Keyan wrote:
>> I use QT and OpenSG 2.0. I would like to use renderText of QT or something 
>> similar, if it is provided by OpenSG. Unfortunately, renderText does not 
>> display anything, and googling didn't come up with a simple method to 
>> display text in OpenSG, other that the statistics and performance monitors.
> 
> hmm, I haven't looked at what Qt's renderText does, but perhaps it's 
> drawing into the wrong buffer (i.e. the buffer swap happens before it 
> draws to the back buffer) or the buffer is cleared after renderText?
> 
>> So my question is: what is the best way to display 2D Text such that I can 
>> use it, what is best described as head-up-display or on-screen-display.
> 
> There is SimpleTextForeground (in Source/System/Window/Foreground) that 
> renders lines of text. If you need a more sophisticated HUD (e.g. one 
> that also has graphical elements) I'd suggest creating your own 
> foreground for it - borrowing text rendering code from SimpleTextForeground.
> 
>       Cheers,
>               Carsten
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to