Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 01 Nov 2012
Offline Last Active Aug 21 2013 10:42 PM

Posts I've Made

In Topic: Questions about OpenGL

28 July 2013 - 08:37 AM

There's an NVIDIA Nsight Eclipse edition, but as far as I can tell it's only avaiable for Mac and Linux. I don't know why they couldn't release a Windows version. It's frustrating for hobbyists on Windows who don't have the money to spend on Visual Studio.


[edit] Having a second look at the Nsight Eclipse edition I'm not sure it can be used to debug opengl applications, oh well. I just came across http://apitrace.github.io/ has anyone used this? Is it any good?

In Topic: D3D11CreateDevice returns wrong feature level

27 July 2013 - 09:16 AM

Now I get the follwing error whenever I try and ALT+ENTER.

DXGI ERROR: IDXGISwapChain::GetContainingOutput: The swapchain's adapter does not control the output on which the swapchain's window resides.

In Topic: D3D11CreateDevice returns wrong feature level

27 July 2013 - 06:59 AM

Thank you ajmiles. Fixing my code solved the problem as long as I only specify D3D_FEATURE_LEVEL_11_1 and D3D_FEATURE_LEVEL_11_0  in the feature level array. But  if I add D3D_FEATURE_LEVEL_10_1 to the array it still selects that feature level. I guess if I actually started using some Direct3D 11 only features then it would work?

In Topic: My lowly triangle will not render :(

28 January 2013 - 03:42 PM

I never did figure out what was wrong, but I rewrote the whole thing and got it working.

In Topic: How do I keep the screen from squishing and stretching?

06 November 2012 - 02:17 AM

Are you updating your projection matrix?

There's no projection transformation. This is actually just a slightly modified version of the triangle tutorial in the SDK docs. I (perhaps stupidly) thought that resizing the swap chain's buffers would cause the triangle to retain it's shape when the window is resized. I'm guessing that would require a projection transformation? If I wanted to make a 2D game for example where the sprites were rendered to a square, would I need to do a projection transformation on the square. Pardon my ignorance.