Jump to content

  • Log In with Google      Sign In   
  • Create Account


OCN.FiX

Member Since 14 Sep 2011
Offline Last Active Mar 31 2012 03:43 PM
-----

Posts I've Made

In Topic: Tracing a ray to a certain X value

28 March 2012 - 10:58 PM

Bump...

In Topic: Tracing a ray to a certain X value

26 March 2012 - 08:52 PM

Bump

In Topic: Tracing a ray to a certain X value

22 March 2012 - 05:13 PM

Bump...

In Topic: Tracing a ray to a certain X value

11 March 2012 - 08:48 PM

I never call CreateWindow(). The windows are managed by the Managed C++ code that handles the forms (one of the reasons all the rendering code is in an unmanaged DLL). I just take the window sizes given (and the hWnd of each window). Would that affect it?

You should still make sure the client size (i.e. excluding titlebar and borders) is equal to your backbuffer, otherwise you will get some ugly downsampling and messed up picking as Evil Steve noted. I'm not sure what you would use in C++ but it should be something like "yourwindow.ClientSize = (800, 600)" in pseudocode.


When the 'window' is resized, the managed C++ code puts the new size (excluding bars) into the directx code to resize window.. I think it always has the correct window size.

In Topic: Tracing a ray to a certain X value

11 March 2012 - 01:12 PM

Bump again

PARTNERS