directx
How to organize a game engine
I\'m working on a small game engine and I\'ve encountered a problem. So far, I have a window class that is a wrapper for a Win32 window. I also have a Window Manager class (it\'s a singleton class)[详细]
2023-03-25 12:21 分类:问答3D and 2D display in DirectX
I want to render some sprites over my 3D scene, but when I enable D3D sprites, my 3D scene dissapears and i can see only those sprites.[详细]
2023-03-25 10:19 分类:问答D3D9 Render to Texture with Multisampling
I want to render to a texture using multisampling, then render that to the back b开发者_如何转开发uffer using a textured quad (passing it through a pixel shader.) Everything works fine without multisa[详细]
2023-03-25 09:49 分类:问答PIX Call that Previously Succeeded Failed During Playback error on IASetVertexBuffers()
I\'m trying to debug the shaders in a SlimDX DirectX11 game I\'ve been coding for a while. The code runs fine and executes without a hitch (albeit seemingly ignoring my textures) and when I run an exp[详细]
2023-03-24 20:10 分类:问答Multiple Render Targets not saving data
I\'m using SlimDX, targeting DirectX 11 with shader model 4. I have a pixel shader \"preProc\" which processes my vertices and saves three textures of data. One for per-pixel normals, one for per-pixe[详细]
2023-03-24 18:38 分类:问答.net DirectX Flip or Mirror a IGraphBuilder (webcam)
Been going round in circles, new to directx and using directshow in c#I need to flip and mirror a webcam stream, could anyone provide pointers on how to do this from a graphBuilder.[详细]
2023-03-24 07:20 分类:问答using setvertexdeclaration with fixed-function pipeline in directx 9
I am trying to use my own vertex structure, upload the vertices into a vertex buffer (indices into index buffer, without FVF code), set up the vertex declaration and stream source and use, and draw th[详细]
2023-03-24 03:09 分类:问答First tackling Shaders. Having initial confusion with a DirectX Tutorial
I\'m following a DirectX Tutorial with very little knowledge of C++ on Visual C++ 2010. I know enough to follow/understand everything up to this far, but now I\'m trying to include a HLSL shader. I ha[详细]
2023-03-22 04:17 分类:问答Is there any way to hook whole drawing functions for a process under windows?
I want to capture everything what a window displays. On the other hand, it will be very nice if that window doesn\'t actually display nothing on the screen. How? The process will call drawing function[详细]
2023-03-22 02:15 分类:问答DirectX AudioVideoPlayback and selecting a device and/or panning
Currently using VS2010, DirectX 9, Winforms, .Net 3.5, VB. I\'m creating an application that will play MP3 files through the left and right channels of a sound card. It will also need to play another[详细]
2023-03-21 22:28 分类:问答