Jump to content
  • Advertisement
Sign in to follow this  
rolmops

Blur effect on primitives

This topic is 3128 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have just begun to learn DirectX 9 but i have one strange problem. I'm writting 2D GUI and I'm using D3DXMatrixOrthoOffCenterLH function. But when i resize my window, primitives goes blurred. Look at the screen: before resize window (640x480, quad 300x300): http://img17.imageshack.us/img17/3995/82108813.jpg after: http://img705.imageshack.us/img705/3149/51572795.jpg I'm using DrawPrimitiveUP(D3DPT_TRIANGLEFAN) and D3DPT_LINESTRIP functions. There is any chance to fix it cuz I need straight lines not blurred? :/

Share this post


Link to post
Share on other sites
Advertisement
Are you resizing the backbuffer to match the resized window's client area? If you don't do this, your backbuffer will be stretched.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!