Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAuskennfuchs

Posted 15 November 2012 - 12:36 PM

Looks like your created orthogonal matrix doesn't match the size of your drawing area/rendertarget. Also your screenshot is only 795x614(with some advertisment at end)px. So your drawing area is less then 800x600, if the screenshot is not scaled. To solve it, resize the window so the clientarea matches 800x600 or use the current clientsize of the window and create rendertarget and projectionmatrix with these values. Last solution is more flexible also when you will resize your window or switch to fullscreen.

#2Auskennfuchs

Posted 15 November 2012 - 12:35 PM

Looks like your created orthogonal matrix doesn't match the size of your drawing area/rendertarget. Also your screenshot is only 795x614(with some advertisment at end)px. So your drawing area is less then 800x600, if the screenshot is not scaled. To solve it, resize the window so the clientarea matches 800x600 or use the current clientsize of the window and create rendertarget and projectionmatrix with these values. Last solution is more flexible also when you will resize your window or switch to fullscreen.

#1Auskennfuchs

Posted 15 November 2012 - 12:33 PM

Looks like your created orthogonal matrix doesn't match the size of your drawing area. Also your screenshot is only 795x614(with some advertisment at end)px. So your drawing area is less then 800x600, if the screenshot is not scaled. To solve it, resize the window so the clientarea matches 800x600 or use the current clientsize of the window and create rendertarget and projectionmatrix with these values. Last solution is more flexible also when you will resize your window or switch to fullscreen.

PARTNERS