On 2015-04-06 12:40, Allan Sandfeld Jensen wrote: > On Monday 06 April 2015, Matthew Woehlke wrote: >> On 2015-04-04 05:57, Till Oliver Knoll wrote: >>> I've never used this method myself, but from what I gather you specify >>> the text coordinates in /window/ coordinates - /not/ world (or model) >>> coordinates! >> >> That is *one option*, and not the one I use. Look again; there is an >> overload that takes *world* coordinates. This is the one I use, and I >> can assure you it works. >> >>> You get exactly the same result (probably even a better one due to better >>> anti-aliasing) by using a QPainter and "overpaint" at the same window >>> coordinates. >> >> Actually, not better; exactly the same :-). > > So why not use a QPainter? > > QPainter p(qoglwidget); > p.renderText()?
Please read what you are replying to; as has been mentioned *several* times, one of the needs is to specify the location in GL world space, not screen space. In the long run, I hope that Qt3D will bring this functionality back, only "the right way" (i.e. using a billboarded sprite rendered in GL... the texture can of course be created using QPainter). -- Matthew _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest