Answer Questions
Gaurav Nanda colorvalue in progressive mesh sample
Hi, new to DirectX in C#, not in C++. In the August 2005 DirectX sdk update, there is a sample in C# called "Progressive Mesh". When I compile this sample, I get 36 errors, all of which are type or namespace missing errors. Here's an example. 'ColorValue', which is supposed to be of the Microsoft.DirectX.Direct3D namespace simple does not appear to be there. MSDN says it's part of the namespace, auto-complete does not.&nb ...Show All
C#Thunder Debugging program that won't start
Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and t ...Show All
Cad Cam Services DxDiag shows missing files after .Net 2.0, Oct and Dec 2005 SDK.
After installing the .Net Framework 2.0 and the Oct and/or Dec 2005 SDK, the DxDiag utility shows that some files are "missing". DxDiag notes on the DirectX Files tab: " Several files (system.dll, Microsoft.DirectX.dll, Microsoft.DirectX.dll) are missing! " These files are present in the GAC and they coincide with the files from the .NET Framework 2.0 and the October and December 2005 versions of t ...Show All
DeWalt Players move faster at higher framerates
Okay, this is really bad. Clearly, a hard-coded "2" that's applied to my character's "Left" property on every frame render isn't going to cut it. Obviously, the game will run slow on crappy hardware, and there's not much I can do to prevent that. But the game shouldn't run faster on really good hardware! How can I cap the movement speed, or better yet, guarentee a certain speed within reason I can already calculate frames per second, and h ...Show All
kschenk OpenGL Rendering Context + DisplayDevice (not window) Device Context?
Is it possible to use a Device Context for a Display Adapter (not a particular window's DC) with OpenGL The primary reason I am trying to do this is that I want to render OpenGL on multiple monitors, but the monitors are not necessarily members of the Windows desktop monitor group (and thus cannot have windows on them). Here's some of my test code. Everything seems to work until I call wglMakeCurrent(). dc = CreateDC( _T(" ...Show All
mejs winnt.h errors?
I have just linked Direct X 9 to the new of Microsoft Visual Studio 2005 Beta 2. Trying to compile a program i know that works under Microsoft Visual C++ 6.0 gives me the following errors: c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64' c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error ...Show All
tdat how to define the vertical position of an object by using a pair of earphone?
I wish to write an accessible game for blind people, i got a problem, that is how to use the sound to represent object at the vertical position, how to define the vertical position of an object by using a pair of earphone Look into the 3D sound capabilities of the DirectSound API. However, I'm concerned that it'd be very difficult if not impossible to create the impression of sounds being above/below the listener when all you have are spe ...Show All
paulb-au D3DERR_OUTOFVIDEOMEMORY
I am recieving D3DERR_OUTOFVIDEOMEMORY Error, after roughly an hour during the execution of my D3D Application. Any idea what i need to look for This is the code i use to create my veretexBuffer: vertexBuffer = new VertexBuffer(typeof(CustomVertex.TransformedColoredTextured),6, d3dDev,Usage.None,CustomVertex.TransformedColoredTextured.Format,Pool.Managed); I dispose it every time the scene is drawn... Thanks... ...Show All
RyanBo anxiety -- 2 question about Sample-Framework
1:------------------------------------------------------ I think here's some problems in sdk file(october 2005). Or the sdk is right but I am wrong I am not sure... in dxmutgui.cs line 854,MessageProc() not set the isDialogMinimized.. so when click the Caption,it's not minimize.. line 1655 OnRender() Rectangle(0, -captionHeight, width, 0); the last param is 0.so the caption even dosen't show at all.. I think the programmer copied the c ...Show All
Don Lafontaine directx integration with vs2005 is missing
I have installed vs2005 on a clean system and next I installed dx9sdk 2005 october. During setup the tab with utilities could not be expanded to let me select integration with vs2005 and it did not by default install. What I am looking for is the shader debugger, which I would like to run from within the vs2005 ide through the debug/directx/start with directx debugging How do I get this integration up and running If this is the wrong "group" to ...Show All
mknoyce Unable to get SetChannelVolume to work
I am having troubles getting SetChannelVolume to work on my PC. First I prepare my sound cue and then set up the channel map like so note: pSoundTask->m_pSoundCue is a valid cue XACTCHANNELMAPENTRY ChannelMapEntries[] = { { 0, 0, 0.0f }, { 0, 1, 0.0f } }; DWORD dwNumEntries = 2; XACTCHANNELMAP ChannelMap = { (XACTCHANNEL)dwNumEntries, ChannelMapEntries }; hRVal = pSoundTask->m_pSoundCue-& ...Show All
Sachit Kachraj Help with compiler (VS2005 c++, D3D)
Well,... the first thing I'm wondering is if anyone else experienced similar problems opening sample solutions from the sample browser - versions for the Vs2005beta. I keep getting critical error that says something like "...XML failed parsing...Property sheet file 'UpgradeFromVC71.vsprops' was not found or failed to load." As the 2005.sln wouldn't load, I tried converting the Vs2003 solutions. Here I encountered the second set of problems ...Show All
CorkChop 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
SnakeLair The COM-based CORE engine (a lot of questions)
I'd like to discuss a creation of the core engine for our future projects. I chose this forum not accidentally, I hope that professionals (especially from Microsoft) will help me in my questions. First, I'll say a few words about the core engine. It provides system, input, video and audio core techniques. Also, it has a pluggable system. The main COMponent 'MWCore' (from 'MWCore.dll' server) is only the bridge which connects the parts listed ...Show All
AJMazurek Sharp performance drop!?
So I'm developing my game on my pc, and the framerate is steady at 75 fps as I'm adding stuff to it. I take a break and play a game for awhile (on my pc), and when I get back, the fps is now 53! I've tried restarting my pc, but it's still 53! What the heck's going on I don't think it's my code, because my laptop still gets 60fps like it always did, and it has crappier hardware than my pc. Please, can someone tell me what's going ...Show All
