foreground text primitive

Hello all,

is there a way to draw a text primitive always in the foreground in a 3d View ?

Thanxs

Michael Gandyra's picture

It is possible to construct a transparent 2D Overlay Window. We did it with good results. I have not the code here, but you can start with the 2D samples. As I remember you can set the attribute of the GL window to transparent and look what happens if you place it over a window with an existing 3D View. Then you are able to use the 2D drawing primitives (i.e. Text).

We did it, working under IRIX. But it should work for Windows too.

Regards, Michael

--------------------------------------------------

University of Kaiserslautern

Research Group for Computer Application in Engineering Design

--------------------------------------------------