Re: [PyOpenGL-Users] glRasterPos2f...
Brought to you by:
mcfletch
From: Jack J. <Jac...@or...> - 2002-10-23 21:56:53
|
On woensdag, oktober 23, 2002, at 03:20 , gabor wrote: > hi, > > > i tried to write some text out... > > so i used glRasterPos2f to set the position... > > but glRasterPos2f doesn't seem to work in window-space..., > i mean glRasterPos2f(0,0) is not the top-left ( or bottom-left) > corner... > > is there a way to get a pixel-correct positioning of text? I think I would do pushmatrix() and then a gluOrtho2D(). Make sure you push the right matrix, though. And knowing gl there's probably a gazillion other options that work:-) -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |