Search found 3 matches

by pmcmorri
Thu Aug 04, 2011 3:58 am
Forum: Support and Development
Topic: graphics.reset() not fully resetting translation?
Replies: 2
Views: 1773

Re: graphics.reset() not fully resetting translation?

Maybe I'm answering my own questions at this point but for "line" drawing modes, the coordinates would need to indicate the center of the pixel to land exactly and thus would be at 0.5,0.5 for the 0,0 pixel.

Never mind, feel free to lock this thread. :P


Patrick
by pmcmorri
Thu Aug 04, 2011 2:52 am
Forum: Support and Development
Topic: graphics.reset() not fully resetting translation?
Replies: 2
Views: 1773

Re: graphics.reset() not fully resetting translation?

Also, maybe this isn't a matrix problem but with the rectangle code. Adding the 0.5 translation makes my images and fonts look worse. :P
by pmcmorri
Thu Aug 04, 2011 2:48 am
Forum: Support and Development
Topic: graphics.reset() not fully resetting translation?
Replies: 2
Views: 1773

graphics.reset() not fully resetting translation?

I'm trying to some pixel based line art with rectangles and have been having trouble getting the lines to land exactly on pixels to avoid blurring. It appears that there is a default translation of (-0.5f, -0.5f). Resetting the graphics does not seem to set things back to the identity either. Here i...