Answer Questions
Sriram Subramanian - MSFT .XSB file format
Soundbanks reference wavebanks. From a client perspective, I'd like to go: myAudioSubsystem->CreateSound("SomeSound.xsb"); CreateSound() should be able to resolve the wavebank references in the .xsb and load them automatically. How can I dig these wave references out of the .xsb Regards. Unfortuntely, we do not currently document the soundbank format. The information you need will have to be g ...Show All
MatttG Water???
Well, I figured i could start out the new forums with a question on water. I am wondering the best place to start implementing water into my game, I understand that the look will be done with HLSL mostly but i am wondering if i should just throw down a plane and start shading it or if there is a better way to go about it. I have read multiple papers on rendering it with multiple methods in order to get the best look and performance but all the m ...Show All
vitjan Mech Commander 2 Shared Source Release Intall problem
Hey there, I'm using XP professional Korean version with sp2...I've installed XNA Builder without any problems, but when I install the Mech Commander 2 Shared Source Release, a error messege popped up like this: Error 1324. The path Microsoft MechCommander 2 Shared Source Release contains an invalid character. Then the installation finished. Could anyone be pleased to tell me what can I do for this I've download it twice, but th ...Show All
PC Webman C++ Compiler
I'm using Borland C++ 5 compiler but can't seem to get the tutorials to compile and run through there. Sofar i've installed the DirectX SDK and installed Tutorial 00. But when i go to run, it tries to compile but gives me errors. I assume you're using the free 5.5 compiler from Borland That's one old product you have (6 years old by now), it may lack some of the language features needed by the current DX SDK ...Show All
moory David Weller, can you help with a message in forum?
David, I post a recent message in the forum, and it is not more here! (Subject: MDX 2.0 Funcitons http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=172745&SiteID=1 ) Would I like to know if it was deleted because of something improper or wrong If I made something wrong, was not intentional. And sorry I’m not good to write in English. Tks for attentio ...Show All
Igor1 Texture simply duplicates the first pixel
This is a noob question, but I wasn't sure if it belonged in the beginners or graphics forums. I'm learning DirectX and trying to get textures figured out, but when I load my texture, it just duplicates the first pixel over my entire surface. To let you know in advance, I am using the most recent SDK and Visual Studio 2005 standard edition. Here is my code. "graphics" the first parameter, is the name of my Direct3d device: ...Show All
Notis Alpha blend working fine, but never writing value to color buffer
I have alpha blending working as I want it to... except for the odd error that my rendered 32 bit colors always have alpha set to zero. It looks like (from my searching) that I am the only person in the world who cares about the final alpha value. Aparently eveyone else are happy if the colored pixels blend right. I have tried all sorts of combinations and the result is always the same: alpha is zero. How do i setup the device to blend ...Show All
blsandhya 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
DaveGriffin Visual C++ express error when trying to compile DirectX9 SDK tutorial.
I get the error, "c:\program files\microsoft directx sdk (april 2006)\include\d3d9.h(40) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory" when trying to compile the DirectX9 SDK's tutorials. For some reason the compiler can't open objbase.h in the d3d9.h... Can anyone help me figure this out have you installed the platform SDK, you need this for the express p ...Show All
Jack Patrick Manipulating PCM data and recording question
Hi guys, I'm working on a project that implements LMS algorithm with direct sound. LMS basicaly creates an adaptive filter using data from a playing wav file and data comming from a mic recording. I've created a full duplex object and playing a wav file (streaming) while recording what is being played using a mic. My problem is as follows : I need to calculate an error (=original sound - norm_factor*recorded sound) the need for norm_factor ...Show All
hYp3r AudioVideoPlayback
Okay.. Is it possible to display the Artist/Music name with the class Audio of the namespace AudioVideoPlayback Actually.. I'm afraid it's not possible, coz I've seen it's properties at msdn and there isn't the Author or something similar to that on this class, while there is a Author Property on the class Video of the same namespace.. so.. how can I get these information of the mp3 file is there any meta-data on the mp3 files I can retreive ...Show All
jjrr007 Packaging a DirectX Game
Hi, I've recently started programming using DirectX and C#. I created a game and it runs fine on my development machine (.Net 1.1, DX SDK). But when I compile the game for a release, and move it onto a machine that only has the DirectX runtimes, it fails to find any of the neccessary libraries and will not start. I've tried telling to to "include resources" when it compiles, in which case it copies a bunch of .dll's to the release directo ...Show All
Marks Zhu Creating your own file formats?
I'm wondering how to create a file format, for say, meshes. I've looked around on the net but I have not found anything telling how. Anyone know of articles/tutorials The .x file should be enough in the beginning. Generally graphics formats are defined by the editor they come from and there is example code to read the big ones (maya and 3dsmax). Otherwise export as .x and then read into your program http://www.wotsit.org/search.as ...Show All
pbergamo Unable to load Microsoft.DirectX.dll in Visual Studio 2005 Pro Ed
I recently installed Visual Studio 2005 Pro Ed. For some reason I cant run my Managed DirectX applications from the new vs. It compiles successfully but whenever i reach some code (in runtime) which uses the Microsoft.DirectX.dll i get this exception: "The specified module could not be found. (Exception from HRESULT: 0x8007007E)" The funny thing is that it works fine with earlier versions of Microsoft.DirectX.dll. And the latest version (of dx) ...Show All
Peter Brouwer seting objects look at position
all my mesh objects when created are save in a position that when there loaded you see the front of them, to get these objects to move/face in the right direction I use 2 vector3 kinda how my camera is set up a lookat point(direction) and a eye point(position), when I draw them what should I use for the rotation matrix if I use my lookat vector with rotationyawpitchroll the mesh rotates when I change its lookat but the pitch is all messed up ...Show All
