[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Re: [Gltt-discuss] help with openGL (bitmap vs filled polygon
[Freetype] Re: [Gltt-discuss] help with openGL (bitmap vs filled polygons)
Thu, 20 Sep 2001 18:58:57 +0200
Gerard Lanois wrote:
> It is a two-step process.
> The first step is to take all the locations where you wish to
> draw text in your 3D world, and project those 3D points into
> 2D window space using your persepective projection. Go ahead
> and draw all your 3D items, but do not draw the text.
> The second step is to create a window-space coordinate system
> (use glOrtho) where 1 unit in space equals 1 pixel in the
> window. With this projection in effect, go ahead and draw
> your text items using the projected coordinates you obtained
> in the first step.
I "must" use perspective projection.