Sign in to follow this  
Followers 0
REF_Cracker

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

4 posts in this topic

- 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!

[img]http://imageshack.us/a/img90/3302/outputi.jpg[/img] Edited by REF_Cracker
1

Share this post


Link to post
Share on other sites
Wait a minute isn't there supposed to be a rectangle in PIX representing the viewport?
I guess that means I'm way off!
1

Share this post


Link to post
Share on other sites
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.
4

Share this post


Link to post
Share on other sites
You rock! You're quite correct there should be a box to show the viewport - good thing you noticed it was missing!
0

Share this post


Link to post
Share on other sites
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!
1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0