Jump to content

  • Log In with Google      Sign In   
  • Create Account

GM5

Member Since 21 Nov 2007
Offline Last Active Private

Topics I've Started

which side of my shooter

12 January 2013 - 03:05 AM

Hi, Thank you for taking the time to read my post. If I have position vectorA and position vectorB and would like to know which side of position vectorA position vectorB is. In this case I would like to know if vectorB is on the left or right so I can orient my shooter to shoot left or right. How should it be done given that I have the two vectors, is it okay to check the x components of the vectors, is that acceptable in the industry or would you use the dot product somehow and if so what would be the efficient math that you would use?

DirectX, Desktop Capture

11 October 2009 - 01:12 AM

Thank you for taking the time to read my post, I'm looking for a way to capture the desktop when my DX10 application loads up so that I can use it in my intro. Thanks again Regards JonRambo

DX10,Vista, Screen Capture, Full Screen. How to?

02 October 2009 - 07:05 AM

Thank you for taking the time to read my post. I have created and intro scene using the DirectX 10 SDK, MSVSC++ Professional Student and some content. I've used a screenshot of my desktop as a backbuffer if you will. So if you imagine the desktop fades out at startup as my intro. I've been using a screenshot taken with the printscreen key and pasted into paintbush. So now I would like to use a live capture of the desktop upon startup. Well, tough I bet. Any ideas? I will go to fullscreen and use the captured desktop image to accomplish my scene, however it would actually be better if I could render ontop of the desktop and abuse the alpha channel. This is ofcoarse going to be possible but I imagine the alerantive might be easier. So apon application startup I would like to store the current desktop into a surface or texture, it matters not. I noticed that there is a Window style which does just that, in order to accomplish some optimisations, though I don't believe I get access to that image. Again thank you for taking the time to read my post. Regards JonRambo, Dip PC Eng., Comp. Games Soft. Eng. 3rd year.

PARTNERS