freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] Re: [Gltt-discuss] help with openGL (bitmap vs filled polygon


From: Gerard Lanois
Subject: [Freetype] Re: [Gltt-discuss] help with openGL (bitmap vs filled polygons)
Date: Thu, 20 Sep 2001 10:11:30 -0700 (PDT)

--- Wallace Chigona <address@hidden> wrote:
> 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.

Then you won't ever get your polygon fonts to look 
exactly the same as your bitmap fonts.

-Gerard


__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]