directx-9
Render text into LPDIRECT3DTEXTURE9
How can one render some text on a texture and then display it? DirectX 10 Draw Text to 开发者_如何学Pythontexture[详细]
2023-03-04 03:57 分类:问答Direct3D 9 Shadow Mapping Blend Mode
I am currently trying to draw shadows over a scene in direct3d 9. I am trying to do some multi pass rendering and am having trouble understanding how to use/set the blend mode.[详细]
2023-03-02 19:52 分类:问答DirectX Texture Warping
I am writing a WIN32 DirectX 9 program in which I load a few textures (a person and a background) and display them on the screen. However, they become warped (stretched), not being a one-to-one repres[详细]
2023-03-01 18:17 分类:问答Applying textures to indexed primitives. C++ DX9
I have a basic program that draws a cube out of 48 tetrahedrons. More precisely it uses 27 vertices and an index buffer to draw these tetrahedrons. I would like to apply a texture to all of the tetrah[详细]
2023-03-01 15:39 分类:问答Capture and draw a screenshot using directX
I am trying to get DirectX (DX9) to grab a screenshot of the desktop and immediately draw it back out (in smaller dimensions) to my form.[详细]
2023-02-21 18:09 分类:问答DirectX 9 Fixed Function Textures
Using the Fixed Function rendering pipeline in DirectX 9, it\'s quite easy to set a texture and render vertices by doing the following:[详细]
2023-02-16 05:38 分类:问答3d icons on top representation with direct x 9 in c++
I\'m doing a simulator visual where I have a lot of 2D icons representing elements of the simulation and I have a 3D (.x made with Blender) icon which represents another and more important element.[详细]
2023-02-15 01:54 分类:问答Can I generate a random number inside a pixel shader?
I\'m trying to write a very simple shader that adds random sparkle to applicable objects. The way I\'d like to do this is by adding a random shade of white (R = G = B) to the pixel value within the pi[详细]
2023-02-14 04:46 分类:问答HLSL sampler inside struct possible?
I\'m using the DirectX 9 effect framework. I\'d like to create a struct which contains a sampler like so:[详细]
2023-02-12 07:44 分类:问答Cannot open include file "d3dx9.h"
Edit: Of course, immediately after working on it for an hour then posting here, I found the stupid mistake...[详细]
2023-02-09 19:03 分类:问答