From: <le...@fu...> - 2001-04-25 10:16:06
|
Say, does anyone know about the rules of invariance with glDrawPixels() when combined with glZoomPixels()? I have a situation where the last column of pixels don't seem to be drawn For example of the image was 100 pixels wide and the x zoom was set to 0.989. So 100 * 0.989 would be 98.9 or (int)98 How would OpenGL handle this? Would it draw the pixels on the 99th column by rounding to nearest or would it use the step rule of (int) and round down to 98? -- Sincerely, ,"-_ \|/ -Capt. Taura M. , O=__ --X-- ..__ ,_JNMNNEO=_ /|\ OMNOUMmnne. {OMMNNNEEEEOO=_ UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,.. UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._ OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'. EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " . NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ . http://furry.ao.net/~learfox/ |