Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 14 November 2012 - 07:25 PM
Posted 15 November 2012 - 12:33 PM
Edited by Auskennfuchs, 15 November 2012 - 12:36 PM.
Posted 15 November 2012 - 01:48 PM
The size is set to 800x600 (http://vvcap.net/db/pAb3b82qwCsulVJ53-Ca.htp)
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.
I never defined a DirectX version :S
What version of DirectX? Is it an ortographic projection? Some code? =)
Posted 16 November 2012 - 06:48 AM
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.