Jump to content

  • Log In with Google      Sign In   
  • Create Account


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


Old topic!
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.

  • You cannot reply to this topic
4 replies to this topic

#1 REF_Cracker   Members   -  Reputation: 410

Like
1Likes
Like

Posted 13 December 2012 - 07:30 PM

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

Posted Image

Edited by REF_Cracker, 13 December 2012 - 07:31 PM.

Check out my project @ www.exitearth.com


Sponsor:

#2 REF_Cracker   Members   -  Reputation: 410

Like
1Likes
Like

Posted 13 December 2012 - 08:43 PM

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


#3 REF_Cracker   Members   -  Reputation: 410

Like
4Likes
Like

Posted 13 December 2012 - 10:34 PM

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


#4 Steve_Segreto   Crossbones+   -  Reputation: 1467

Like
0Likes
Like

Posted 13 December 2012 - 10:45 PM

You rock! You're quite correct there should be a box to show the viewport - good thing you noticed it was missing!

#5 REF_Cracker   Members   -  Reputation: 410

Like
1Likes
Like

Posted 14 December 2012 - 03:06 PM

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





Old topic!
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.



PARTNERS