directx-9
(DirectX9) sRGB conversion after blending
I recently came across this blog post Yet another post about gamma correction which taught me the availability of the D3DPMISCCAPS_POSTBLENDSRGBCONVERT capability flag.[详细]
2023-03-16 03:54 分类:问答D3D9 Hook - Overlay with Direct3D9
OK, so I\'m trying to do some overlay for some extra buttons on a Direct X game. I found a c++ sample that overlays quite nicely here: http://www.gamedev.net/topic/359794-c-开发者_运维知识库direct3d-[详细]
2023-03-16 01:22 分类:问答Write BITMAPINFOHEADER image data to IDirect3DTexture9
I\'m writing a DX9 renderer and currently working on the ability to play AVI movie files. I\'ve been able to retrieve any specified frame using AVIStreamGetFrame(), which returns a packed DIB, and fro[详细]
2023-03-14 15:21 分类:问答Using DirectX 9; Sprite Anti-Aliasing Halo
So I am coding in DirectX 9 and whenever I place a sprite inside of a 2D world. There is a white colored \"halo\" that appears around the sprite image p. I am using PNGs and the background behind the[详细]
2023-03-13 12:45 分类:问答Move DirectX window from one monitor to another in extended mode
I have a simple directX-9 test app that I want to move from one monitor to another in extended mode. The window and the device are created on the primary monitor and scene is drawn correctly but when[详细]
2023-03-13 06:04 分类:问答How to send D3D Device by giving reference ( DirectX/C++ Prgoramming )
H1. I\'m trying to depart my codes into different .cpp and .h files to make them find, see and understand easier. Here is what I\'m trying to do now: I got a Meshes.cpp wich is my main .cpp source fil[详细]
2023-03-12 22:16 分类:问答directory path error, am I doing it wrong [closed]
It's difficult to tell what is being asked here. This questio开发者_如何学编程n is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current for[详细]
2023-03-12 13:51 分类:问答Loading meshes from .obj (or any other) File into DirectX9/C++ project
Currently I have a 3D Cube that I drew by writing coordinates, that can rotate and move on a black screen.[详细]
2023-03-10 10:22 分类:问答Rendering wireframe no-colour cube with D3DVERTEXELEMENT9 structure
I\'m pretty new to this structure and the book I\'m learning it from is absurdly unintuitive to me. I triple checked the code but I can\'t figure out why I can\'t get an image to pop up. The backgroun[详细]
2023-03-08 17:12 分类:问答how to add pcf to shadow maps
I found this link which explains a little about pcf shadow mapping. I looked through the code sample provided and I cannot work out what the offset array is. I\'m assuming it is an array of float2 and[详细]
2023-03-04 04:36 分类:问答