Re: [PyOpenGL-Users] orthographic projection error
Brought to you by:
mcfletch
From: Greg E. <gre...@ca...> - 2006-12-13 23:59:57
|
altern wrote: > The example draws a one pixel wide box in the borders of the > window. In none of the sytems I tried so far the box was totally > visible. There is always one or two sides missing just by one pixel. What coordinates are you using to draw the box, exactly? You might need to offset them by half a pixel so that the lines go through the centres of pixels. If you're actually trying to draw a line between two pixels, different systems may round it in different ways. -- Greg |