directx

Getting started with Windows Developement w/ 3D Graphics?

I am looking for book titles or other resources for showing me how to get started and become advanced at windows based software with 3d graphics. ...

Directsound with streaming buffer - Lock does not wrap! Using ported DirectX headers for Delphi

Right-o, I'm working on implementing DirectSound in our Delphi voip app (the app allows for radios to be used by multiple users over a network connection) Data comes in via UDP broadcasts. As it is now, we go down on a raw data level and do the audio mixing from multiple sources ourselves and have a centralized component that is used to ...

Is it possible to update a DirectX SDK install?

Is it possible to update a current install of the DirectX SDK, or is the only way to use the latest SDK to install the latest SDK in a new directory and delete the old one? Specifically, if I have DirectX (March 2009), and the latest version is DirectX (August 2009), what choices do I have for getting the updated SDK without leaving the...

How to send keypresses to a DirectX application?

I need to write a program in any programming language (preferably Delphi 7 / Delphi 10 / C#) that emulates pressing 1 every 10 seconds to a given process in Windows XP or Windows 7. Sending Windows messages, which worked for all the other applications I have tried, didn't work for this particular one and I am suspecting it is because it ...

Releasing a vertex/index buffer causes warning

When releasing (Release()) a vertex buffer (ID3D10Buffer / D3D10_BIND_VERTEX_BUFFER) which has been used for rendering in the previous frame I get a warning that the buffer is bound: D3D10: INFO: ID3D10Device::IASetVertexBuffers: A currently bound VertexBuffer is being deleted; so naturally, will no longer be bound. [ STATE_SETTING INFO...

Tools/Resources to Convert DirectX Code to OpenGL

Are there any tools and/or documentation providing a mapping from DirectX to OpenGL? If you had to do a conversion, how would you approach it and what would you use? I know that ATI Technologies provides HLSL2GLSL, but my understanding is that this is just for shader languages and not a full coverage of the APIs. ...

Is there an API or 3rd party solution for charts for DirectX?

Is there an API or 3rd party solution for charts (graphs & charts) for DirectX? I'd like to create some charts in DirectX but I figure it's been done already, and probably for sale. Anyone familiar with this? ...

How to convert a shape from Directx to gdi+ using c#

i draw the circle in c# using directx.i like to draw the circle with same dimensions in c# using GDI.It means i like to convert that circle from directx to GDI. Is any body help for me.plz provide the answer for me.how can i do it.Is any algorithm available for that........ And also i give the input for center of the circle is (x,y)in th...

Directsound - Problems with playback of streaming buffer filled with data from network! Using ported DirectX headers for Delphi

Back again with yet another DirectSound question, this one regarding the ways DirectSound Buffers can be used: I have packets coming in over the network at approximately 30ms intervals containing audio data that is decoded into raw wav data by other parts of the application. When the Indata event is triggered by these other pieces of c...

DirectX AudioVideoPlayback error

Hi all, I am using the DirectX AudioVideoPlayback dll. However I get the following error when trying to initialise the Audio object System.Runtime.InteropServices.SEHException Message: External component has thrown an exception. Source: Microsoft.DirectX.AudioVideoPlayback StackTrace: at CreateWindowExW(UInt32 , UInt16* , UInt16* , UI...

How to render 3d scene over webcam frame in DirectX?

I'm capturing webcam using AForge so I've every frame as a bitmap. I would like to render some scene over it. Currently I am rendering DirectX (SlimDX) scene over C# Panel control. Is there a possibility to put bitmap to ZBuffer or maybe some other way to achieve it? ...

DirectShow - how to debug pin connect failures

I'm using an IGraphBuilder to render a video capture device to the screen. The process involves adding the capture filter to the graph, then adding a VideoMixingRenderer to the graph (which uses a custom allocator) and finally calling graph.Render() to use Intelligent Connect to wire up the pins. Under some circumstances this works wel...

Slow C++ DirectX 2D Game

Hi, I'm new to C++ and DirectX, I come from XNA. I have developed a game like Fly The Copter. What i've done is created a class named Wall. While the game is running I draw all the walls. In XNA I stored the walls in a ArrayList and in C++ I've used vector. In XNA the game just runs fast and in C++ really slow. Here's the C++ code: void...

Collisions in a real world application.

Here's my problem. I'm creating a game and I'm wondering about how to do the collisions. I have several case to analyze and to find the best solution for. I'll say it beforehand, I'm not using any third party physics library, but I'm gonna do it in house. (as this is an educational project, I don't have schedules and I want to learn) ...

Should I use DirectInput or Windows message loop?

I'm working on a C++ DirectX 2D game and I need keyboard and mouse input. Wikipedia says: Microsoft recommends that new applications make use of the Windows message loop for keyboard and mouse input instead of DirectInput So how should I use it? I have a GameScreen class whice take care of the drawing and the updating(game logic), ...

K-Dop collision between different K and Volumes

And now after some work, I finally understand how the KDop bounding volume are created and how the collisions are intersected and I maked a working implementation of them. Now the problem is another. :D How can I intersect (it has to be possible, or it would not make any sense) 2 K-Dop of different K values? (obviously we know beforehan...

Drawing Collision on Screen

And here we are for another question. After the previous one, i finally completed the kDop system and everything related. (Hierarchycal tree of kDop, etc..) Everything works fine. Now i want to draw on screen the collision for debug purpose and to see the result of the work. (To see if the hierarchical choice i've done in a particular...

Using DirectX in VB.NET to draw to a Panel

What do you have to do to get DirectX to draw to a Panel control correctly? I have a program that draws to the Form, but when you change the device to a Panel, the grey background of the panel is drawn over the lines. I set the Panel background to transparent. This allows the lines to display, but it flickers when the Panel is resized...

Installing DirectX with application MSI - VS2008

The application supports Windows XP, Vista, and Windows 7 but need DirectX libraries in order to work properly. I have the DirectX 9.0C Redistributable package and want to include it in my MSI installer created with a Visual Studio 2008 setup project. Two pronged question: How do I include the DirectX 9.0C package wiht my MSI? Will the ...

which tools to use for designing cooliris type applications?

Hi.. I want to utilise the 3dwall feature of cooliris, the physics effects of the icons in bumtop to design an application for making the image viewing more intuitive and interactive. I dont want to use flash as it would slow down the speed for interaction on desktop. PLease could someone tell me about choice of 1.) physics engine - ph...