Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 15 Apr 2012
Offline Last Active Mar 16 2014 01:05 PM

Topics I've Started

DirectDraw convertion to DirectX 11

17 February 2014 - 06:08 AM

I would like to revive DirectX application that originally used DirectDraw7 and transfer it to DirectX 11. I have never worked before with DirectDraw.


Does anyone know any resources that would allow me to convert it as close as possible to DirectDraw, still using full power of DirectX 11?

DirectX and extended screan

30 May 2012 - 08:58 AM

I have created the application that shows on the screen flat simple terrain 100 * 100. It works and camera flies around on the laptop.
However, when I connect my laptop to the external monitor, it doesn't show anything.

Does anyone experianced this kind of strange behaviour?

Create Vertices within the HLSL shader

12 May 2012 - 11:27 PM


I have the question regarding HLSL. When I create new model I have to give all vertices to the HLSL. The question is if it is possible to create all vertices within the shader itself. Here small example of what I am asking about. I'd like to send for instant the coordinates of the centre of the square and half diagonal length. And program I will create in shader will calculate all 6 coordinate by itself and "in the loop somehow" will execute it. In this case, my CPU won't work on this, but GPU itself.

Is it possible to do something like this?

Screen is not cleaned properly

01 May 2012 - 04:45 AM

I have created small egine that put the results of the RawInput on the screen. I am using my own font texture. While I am not moving the mouse it is OK, the text moves and screen is cleaned. When I am starting to move it, see the attached video files from here

DirectInput in C++ and SharpDX

17 April 2012 - 07:54 AM

I am learning DirectX from this site http://www.rastertek.com/ and also SharpDX. I decided to do is simulteneously. It means, every tutorial I develop using SharpDX. Until tutorial 13 I have succeded to implement the code similatr to the original. However, I am stuck with DirectInput, related to the mouse. Below I attached the original tutorial written in C++ and my implementation of it.
In original when I move the mouse it shows me right coordinates of the window. In mine only relative or absolute. The issue is I don't understand why it works there and in mine.