DX9 -> Dx11 Port... Nothing being drawn?

Started by
3 comments, last by REF_Cracker 11 years, 4 months ago
- I'm clearing the backbuffer to a different color every frame and that is properly flickering
- PIX shows that there is output to the viewport as you can see in the image
- None the less it appears no pixels are being written to the backbuffer

Any ideas? Thanks!

outputi.jpg

Check out my project @ www.exitearth.com

Advertisement
Wait a minute isn't there supposed to be a rectangle in PIX representing the viewport?
I guess that means I'm way off!

Check out my project @ www.exitearth.com

SOLVED:

If anyone else is having this problem ... you want to make sure you see the viewport outline in pix. The vertex values after transforms were correct in taht they should be displayed on screen. But the viewport structure itself wasn't properly setup (D3D11_VIEWPORT and RSSetViewports) it was set to 0 pixels X 0 pixels due to the fact that setting up the backbuffer is somewhat of a special case because you have to grab it from the swap chain.

Thanks.

Check out my project @ www.exitearth.com

You rock! You're quite correct there should be a box to show the viewport - good thing you noticed it was missing!
Haha! Did you have the same issue or are just saluting me for figuring it out? It may seem trivial but when you're in the middle of a port that took 3 days to compile and run without errors it's hard to zero in. Hoping this post helps someone out in the future!

Check out my project @ www.exitearth.com

This topic is closed to new replies.

Advertisement