Answer Questions
Mohamed Raafat D3DXSaveSurfaceToFile PNG format broken in Apr 06 SDK?
I've been using D3DXSaveSurfaceToFile for screenies for a while. Saving to .PNG format produces only solid white images since we've updated to Apr 06 SDK. Full debug output (including compiling with D3D_DEBUG_INFO) gives no errors. Anyone else hear of any problems with this specific format Hi, Can you repro this issue using texconv For instance, say you have texture in a bmp file: imagefile.bmp. ...Show All
Mike Best Error in installing Pre-things...
Hello guys! After done some programming and felt myself as I COULD jump into another little subject without leaving Programming totally alone I came here to test the XNA Build... I had to install many things firstly... It didn't detact my two versions of Visual Studio Express C#/C++. This is the one that is given me errors: Microsoft Visual Studio 2005 Premier Partner Edition Installer As its installing... And I cannot see anyth ...Show All
Oliver66 capture audio
Hi! REALLY sorry to post this here but didnt know where else! is there a way to capture audio from the sound card I am trying to use directX but the sample I have seen is hard to understand unfortuantly :( How do I capture audio either using DirectX or some other method I want to capture it to a normal wav file Thanks! :-) yeh I found a way and modified it highly. pretty much followed the example of the directx sound capture an ...Show All
Syeda Rizvi Disabling and Enabling USB joystick
Hi, I will be using VB6/VB.net to write a shell for an old flight simulator game (Red Baron 3D). That shell, among other things, will launch the game when the user has selected various options. I also want the shell to solve one of the problems that RB3D has when running under XP. Under XP, the game thinks there is a conflict between the sound card and the joystick. The game software figures that it is better to fly without sou ...Show All
Bo Cordell directx as math library
Was wondering if anyone knows of any problems with using the directx library as a math library since there seems to be a lack of a complete math library included in visual studio c#. This is for an engineering app so precision is needed. D3DX is a very good maths library for graphics-related maths. Although, I'm pretty sure it uses single-precision floating point numbers. If you want double-precision you're ou ...Show All
Sniffy Getting Started Is Hard
[rant] Ok I know I want to learn DirectX and be able to write my own DirectX wrapper in a high level, like Plotting a point would be as simple as calling: ClassName2d.PlotPoint(var,var,var); Then use that to write a 3d game engine including physics, sound, input, networking, graphics etc. Then use the engines to start making games. Now I know that this will take a ton of time to be able to do this, especially for one programmer. Even if my g ...Show All
chinmaykshah multiple object with different colors
i'm drawing 3 object, they are created from the same class so they are identical. i try to alter the color, so they have 3 different colors. the result is that the color of the first object is used for the other object aswell. this is some of the render function myGraph[ 0 ].GraphBorderColor = Color.Red; myGraph[ 1 ].GraphBorderColor = Color.Green; myGraph[ 2 ].GraphBorderColor = Color.Gray; for ( int i= 0 ;i< 3 ;i++) ...Show All
pvitt65 DxDiag and DirectShow error, please help
as i figure out there is no "real" reliable source of information (or at least not very trustworthy) out there. i came here to seek a solution. when i was trying to run DxDiag, it popped an error message up telling me that there was a problem accesing DirectShow, the cause of that might be previous improper use of the DxDiag. and it asked me if i want to skip loading DirectShow. i have no idea what caused this prob ...Show All
domlito MDX (Dec 2005) Working with D3DX
I just upgraded to the latest and greatest DX SDK, mainly because I really wanted be able to use the Direct3D.Font.MeasureString method (although I'm a bit confused as to the parameters it takes, but I should probably ask that question in another thread). Anyway, I added a reference to the Microsoft.DirectX assembly labelled with the version 2.0.0.0 and runtime 2.0.50727. Now I can't seem to find where the TextureLoader class has gone to. It ...Show All
bsextonatl How to make MENU in 3D game
Hey guys, I made a 2D game and the menu was like a one bitmap(with drawed texts- NEW GAME, EXIT..) and I was checking where user clicked...and appropriate was then called. Now I am trying to make a 3D space shooting game(in C++ with DirectX 9) and wondering how to make a menu... a) make like a 3D scene with some objects - new game and so on...and checking for PICKING - b) or draw a bitmap on the QUAD and render the quad or ...Show All
mridula.k Thread safety and graphics device
I am experiencing errors in the form of a locked application when I have a device (with two backbuffers) in one thread which i use for rendering while another thread attempts to lock and read the other backbuffer. I get no error. The application just freezes on the call to getBackBuffer. I attempt to lock buffer 1 while rendering into buffer 0. How is the graphics device working in relation to threads Can you work on a buffer while renderi ...Show All
OnTest zfail caps
anyone got some information/tutorial on how to do capping for the zfail shadow volume technique http://www.ati.com/developer/sdk/RadeonSDK/Html/Samples/Direct3D/RadeonShadowShader.html There's a detailed article at http://www.gamedev.net/columns/hardcore/shadowvolume/ which also discusses capping. Hopefully this is enough. ...Show All
AWAL MC2 GameOS?
Hi, On a cursory look, it seems that the "GameOS" lib contains a good deal of core logic, including some rendering logic. Is it possible to get more source in this lib (still excepting the network code, of course). I originally wanted to update the renderer to utilize shaders via DX9, but the initial browse makes me think this isn't doable. Thanks, Brian I'm currently porting the relevant parts (not ...Show All
ManjuVijay DirectDraw Deprecation
Hi everyone; newbie here both to the forums, DirectX, and (to a lesser degree) game development in general. I'm wanting to get into game development as a hobby, maybe a couple of small shareware games for the heck of it. Nothing spectacular, just have a couple of ideas in mind that I'm wanting to do. I understand that DirectDraw is now deprecated, but my main concern is whether that just means that development on it is stopped ...Show All
Corin Where did device in direct3D go?
I'm trying to do some of the real simple DirectX tutorials and when I try to enter the line: Private Dev As Microsoft.DirectX.Direct3d.Device = Nothing or it's equivalent for the C# version I get the error that Device is undefined. I am using the April 2006 DirectX SDK. I have added Microsoft.DirectX and Microsoft.DirectX.Direct3D references to the projects. For the VB version I use: Imports Microsoft.DirectX Imports Microsoft.DirectX.D ...Show All
