[Qt-interest] QGLWidget: How to render text with shadow?

Konstantin Tokarev annulen at yandex.ru
Mon Mar 1 17:38:03 CET 2010


Hello! I'm trying to render text labels for 3D model in QGLWidget. Is there any way to add outline ("shadow") of another color?

I've tried: 1) render text of opposite color on the same place; 2) ender text of opposite color and bigger font size; 3) render several strings with small deviations in space. In 3rd case, I've got good result painting shadow "behind" label, but it comes to front if model is rotated. 

Any ideas?
-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list