I have hooked the endscene of a game, and want to draw my desktop as an overlay using a ID3DXSprite. (I don't want to run my game minimized and want to be able to look at my desktop by pressing a key)
So it works, but after a few seconds it will just stop showing up. To be precise: it works while the screen of the game is still black an...
I have a Windows Form with an image as a background; and I also have a user control which I've added to the form, and renders itself using directx. However, I want the directx UserControl (directx scene) to render partially transparent so that I can see the image background of the form.
I have the source code to the managed directx u...
I want to create a game in Delphi
Is there any good game engine for Delphi?
based on directx 10 or OpenGL?
I need it for 3D games, or only I can do that with C++?
...
I've written a simple program that visualizes some data using a 3D-mesh in the center of my view. The mesh can be rotated and zoomed. Some points on the mesh need to have a description so I would like to add signs next to those points which contains some textual information.
What is the best way to create such signs in DirectX9? Should ...
I've done 2 programs to use Shared Resources, running on SlimDX & DirectX10. One program will display the shared texture on a 3D mesh. The 2nd program will load an image as texture. So far I need to pass the shared handled everytime the texture is update from a new image.
Now, is there a way that I can initialize a fixed size shared tex...
Trying to make a tiny app which plays an audio file, and I have designed 5 vertical progressbars for monitoring the left, middle and right channels of the audio file (the middle just being an average between the left and right channels) just for a fancy look.
Can someone help me read the audio levels(decibles or whatever) of the audio fi...
Dear all,
Our Windows C++ Ogre-based game is nearing completion. Before we publicly release it, we have to solve this matter :
Ogre crashes on many test-computers if they are not updated to the latest Dx9.0c version. All these computers already had 9.0c installed, but that must have been an older OS-pre-installed sub-version, hence the...
Hi All,
So I'm writing my own custom 3D transformation pipeline in order to gain a better understanding of how it all works. I can get everything rendering to the screen properly and I'm now about to go back and look at clipping.
From my understanding, I should be clipping a vertex point if the x or y value after the perspective divid...
I'm working on a apps that's based on DirectX10 by using SlimDX. I would like to enable vsync similar to DirectX9, but the fps doesn't seems to lock to 60Hz(which happens if I'm using Direct9). I'm setting vsync by using this
SwapChain.Present(1, PresentFlags.None);
Did I do something wrong?
Btw, I'm running Win7 with ATI HD5570 vid...
I want my program to be able to launch any Windows game, and while the user is playing it, intermittently display some text or pictures in some part of the game window. The game may be in windowed or full-screen mode. From what I have been able to figure out from online resources, this could be done using a graphics library that supports...
Hi,
I'm looking for a projection matrix I can use in 3D that will give me the effect of a fisheye. I'm not looking for a pixelshader or anything like that, that will manipulate pixels - but the actual projection matrix used in projecting from 3D space onto 2D.
Thanks.
...
How do you do it? This page says you need to call PrintSetupDlg, but this code
PAGESETUPDLG printDialog;
ZeroMemory(&printDialog, sizeof(printDialog));
printDialog.lStructSize = sizeof(printDialog);
printDialog.hwndOwner = hwnd; //or = NULL
PageSetupDlg(&printDialog);
freezes the program on the call to PageSetupDlg - it becomes unre...
Hello!
I wonder what techniques xfire and/or Steam uses to overlay into games.
I'm trying to do something similar and I really would like to know what is the least intrusive way, I.e. won't alert any anti-cheat systems. I don't need any kind of information from the game (no wall-hack BS). I would basically just like to display a rectang...
Hi,
We are trying to develope a small C# application to load a DVD (VOB), display it and capture some frames.
This application is going to be comercial so I am looking for a component (DLL maybe) that we can buy and use to A. play the DVD, B. Jump to specific times in the DVD and C. Capture frames.
This is really urgent, so any help w...
I'm using Microsoft.DirectX.AudioVideoPlayback.Video class to play a video file and I would like to capture some frame to a bitmap.
The only export feature of this class is the RenderToTexture method and it accepts a Direct3D device as a parameter.
Someone know a simple way to obtain a System.Drawing.Bitmap from this method?
...
What are some good graphics programming interview questions? These could be math questions, OpenGL questions, DirectX questions, shader questions, etc.
...
Hello there,
I'm getting from our hardware device (FPGA) roughly 20 frames per second (500x500 px) and I would like to render them as fast as possible. We basically get a frame buffer every 50 msec and if my rendering is too slow - well... I'm skipping frames.
My problem is to render from a C++/CLI driver to a WPF-based application. I ...
Hi!
I was able to enable debugging info for directX variables like LPD3DXMESH etc.
Normally it just shows IUnknown and a some pointer value, but if additional debugging is enabled its possible to see more detailed info about the structure.
Problem is that I lost the project and now I can't remember how to enable this type of debuggin...
Are there any limitations with using DirectCompute on DX10.1 GPUs? I will do most of my development on a DX11 desktop, but I'd like to demo code on a DX10.1 laptop. It'll be a Macbook Pro running Win7 in Bootcamp. The GPU is an Nvidia 330M. What limitations can I expect?
Edit: I found a page about using Compute Shaders on DX10, but ...
Hey SO.
Building a little audio converter which uses Directx to decode the audio (under assumption that the end user has the decoders installed) and I want to write the loaded audio to a wave file in C:\Temp\ to send to the audio compressor because the audio compressors only support uncompressed WAV format.
I'm having a bit of trouble th...