Answer Questions
Surender Reddy LoaderLock was detected
Hi, I have installed DirectX 9 SDK (October 2005) and Visual Studio 2005 RC1. When I try using directx classes for capture audio, I have a problem. The code i have wrote is: Dim d As DirectSound.Device Dim ds As DirectSound.CaptureDevicesCollection ds = New CaptureDevicesCollection For Each d In ds Me .ListBox1.Items.Add(d.ToString) Next When I run the application I get ...Show All
ctadlock NullReferenceException
I keep getting NullReferenceException when I create a spirte. It only happens when I close the application, but strangely not the first time I run the application, only after that. I must not be disposing of the texture properly. Can anyone help Here is some of my code: private void OnDeviceLost(object sender, EventArgs e) { & ...Show All
h hagar How to get multi devices through directinput, Thank you!!
As the titile If I have two joysticks or two keyboards in the computer How to get the press event of the two devices... Thank you!! Take a look at the joystick sample from the SDK. In the “InitDirectInput” function it calls “EnumDevices” with the callback function “EnumJoysticksCallback”. This Function is called one time for each joystick in your system as long as you return “DIENUM_CONTINUE”. I ...Show All
Carol Beth DXViewer texture problem?
I use 3dmax 6.0 and I converted 3ds file to .x file with panda exporter but When I open the .x file in DXViewer I cannot see the textures.I see the objects but black.there is no texture.Can you help me You can Open your *.x file in Notepad (simply temporarily change the extension to *.txt and double click on the file) At the end of the x file you should find a Material Section and a TextureName Variable, take note of all the texture ...Show All
Jeremy Holmes Question on ID3DXEffect::SetArrayRange
Hi, I'm currently adding shader instancing to our engine. After I changed the single world matrix in the effect file to a matrix array, I noticed a heavy performance drop. The fps went down by almost 30%. After some investigation I found that the fps changes with the size of the matrix array, so the effect framework seems to always copy all elements of the array, not only those that were actually set. I then wanted to optimize this using the ID3 ...Show All
Kris_b Direct Play Voice Session
Hi All. Can any one tell how many number of players can be added in direct play voice session Riaz, Unfortunately I don’t know the answer to your question. What I do know is that Microsoft has declared DirectPlay to be deprecated technology and strongly recommends AGAINST using it. This is due to discovered security holes, as well as the fact that the more robust Winsock 2 API now allows you to do everything you would want t ...Show All
JoshTheAspirant DirectX 9.0c Installation
When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error : "An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem." I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error and when I go to DXError.log and DirectX.log see this Problem with dsound.inf : -------------------- [01/05/06 01 ...Show All
Ezero Broken Link to MechCommander 2 Shared Source Release
Microsoft XNA Build March 2006 Community Technology Preview featured at http://www.microsoft.com/downloads/details.aspx FamilyID=868fe562-5ded-4bb1-8648-708d3481bda3&DisplayLang=en has a link to the MechCommander 2 Shared Source Release download. The link is http://www.microsoft.com/downloads/info.aspx na=40&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=868fe562-5ded-4bb1-8648-708d3481bda3&u=http%3a%2f%2fgo.microso ...Show All
DirectXer Cloth simulation through physics
Hi, Are there any SDKs that enables animation of cloth like dresses, skirts, hair etc Or any samples on how to implement it (I know it's not an easy task). Thanks! David has given you some more advice than it actually seemed. There is 2 approaches to getting physics running. 1. Implement all the math yourself and create your own physics engine. This is definitely alot of work and you might find yourse ...Show All
Abahay Control camera exposure with DirectX
greeting all. Is it possible to use DirectX to control the exposure and other settings of a camera I have a webcam, can the software that comes with it to control the camera, however the camera doesn't provide SDK to do so. I wonder if it is possible to use DirectX in my program to control the camera exposure. Thanks for your comments and suggestions. I dont think so :( DirectX SDK is made for rendering graphics to your scre ...Show All
Jordy3077 MC2 Editor
I can not see the MC2 Editor being part of the XNA project. When I build/rebuild MC2 the editor files are not updated. What do I do wrong or How can I make changes and updates to the MC2 editor Great; this works. Here is the next problem I am facing. I can position units on the map and save it. As soon as I double click on the unit (mech) to change team or skill level or unit color the syst ...Show All
AngelosP MC2 Editor
I can not see the MC2 Editor being part of the XNA project. When I build/rebuild MC2 the editor files are not updated. What do I do wrong or How can I make changes and updates to the MC2 editor Correct, the editor project is not part of the XNA build projects because Visual C++ Express cannot build them as they require MFC. If you have Visual Studio Standard or Professional you can build the proje ...Show All
svarma Basic shader questions used with Managed DirectX
I'm for the moment learning the shaders, but keep on "blocking" on one ot two thing that I don't understand. My first question : I'm rewritting my Managed DirectX code with shader basicaly to render a mesh without any other thing that just render it. I still have in my C# this type of code : ... myDevice.SetTexture(0, myTexture); Render calls ... In the shader (where it seems that I don't have to pass the texture), I have under th ...Show All
Mayur Bhavsar 2d GUI questions
Hey all, Big post here, I'm in the process of creating a 2d gui in managed directx with c#, and I've run into some serious performance issues after a rather minimal interface with a few high res textures. Along the way I've wondered if I'm doing things right. I've also been really curious as to how a program like Picasa2 can do all of its rendering at lightning speeds, with pretty much zero load time no matter how big the images get, while it's ...Show All
abarone Force Feedback not working with Feb2006 SDK
Hi there, I just went out and bought a new Logitech "Rumblepad2" gamepad. I've installed the most recent drivers for it, and the Feb2006 DirectX SDK. In the control panel -> Game Controllers I can get it to rumble without a problem, so it does work. In there its possible to test at least 10 different rumble effects. I'm developing in VS2005/WinXP Pro. When I tried the MSDN example of force feedback (located here: http://msdn.microso ...Show All
