Answer Questions
FDSD Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the f ...Show All
AKFox MDX Matrix.RotateX not doing what I expected...
I wrote this code: Matrix Test = Matrix.Identity; Test.RotateX( ( float )Math.PI/2.0f ); Test.RotateY( ( float )Math.PI/2.0f ); expecting it to rotate 90 degrees in X and then in Y. But the second rotate call (RotateY), simply replaces the matrix with a Y rotation. I expected it to post-catenate the Y rotation and createa compound rotation. Is this the intended use of RotateX etc. The help says that Matrix.RotateX "Rot ...Show All
jonnybravo Direct3D render to desktop
hi all! How render 3d scene to desktop Yes, DirectDraw was removed from DX8 and all subsequent versions. It's most annoying, and that's why I had to fall back on DX7 to get stuff done. All versions of DX and the SDKs are backwards compatible, however, so you can still write stuff for DirectDraw and compile and run it on the latest versions. fictionforever wrote ...Show All
Luiz Borges D3DXLoadMeshHierarchyFromX issues
I'm working on a project with skinned meshes and as part of that I use the function D3DXLoadMeshHierarchyFromX. Where I work there are 2 computers. They both exactly the same hardware, they run on the same os (winXP) and use the same directx version (april 2006). Ok, so on one computer this runs all fine, and as it loads the skinned mesh it has a memory jump of about 20-30MB, but it quickly goes back down again. The other computer jumps by ...Show All
Landscape08 How I can start game developing in C# (2D games)?
Hi every one!! How I can start 2D game developing in C# Where I can find Online Books about game developing in C# There are not many online books that you will find, but you are able to purchase several ebooks on Game programming from www.apress.com , from memory SAMS has some ebooks as well that you can purchase. As for other online resources you might want to have a look at www.thezbuffer.com , on this site there are lot ...Show All
groberts1980 Game Networking...
I've just been reading "C# Network Programming" by Richard Blum in order to get up to speed with networking (non-http, most of my C# experience is in ASP.NET). Now, he shows many examples of how to network in the book, and I've learnt some great things, but after reading Tom Miller's book, it's left me wondering how much is going on in the background of .NET and which approach is better for an MMO style game. In Richard's book he shows fi ...Show All
annemarie Realistic Movement using Rotation & Translation Matrices
I have been learning DirectX in C# using .NET 2.0 and have had some difficulty working out how to model realistic movement in all directions and rotations, by this I mean the kind of movement a ship in space would have. Maths is not my strongest subject and I am relatively new to C# and DirectX so there may be better ways of doing this (if so I would appreciate any comments to that effect). With that in mind this comment is written by a begi ...Show All
Phil Coveney Threading issues
Background... I'm using Borland Delphi 9, with Clootie's DirectX wrappers. I'm working within a VCL component, which has worked fine in a single thread. Just think of it as c++ directx9 with MFC. Here's the problem: I'm creating dynamic textures in a background thread to use in rendering, but every so often, I get a 'Driver Internal Error' which translates into an out of memory error. Now, in Delphi, yo ...Show All
Dinesh Kulkarni Integrating Joystick w/ DirectX9.0 and VB.net
I had successfully integrated a joystick using VB6 and DirectX8.0 ( ) a few years ago. I wanted to do the same thing with newer technology... I recently purchased VB.NETand a joystick thinking that the taks would be a cut and paste of old code with some minor modifications. I found that I can't download DirectX 8.0, and now I must accept 9.0. It seems as if every thing is skewed towards C# & C++ now regarding joysticks... M ...Show All
tolsen64 Direct 3D
How to use particles in Direct X Manager They seemed to have removed the PointSprites sample from the June SDK. I remember it was in both the managed & unmanaged sides prior to that. I'm not sure why the decision to remove samples while not replacing them with something similar. Jack Hoxley wrote: I'll see if I can find the link in the DX docs for you Well, that was... fun... I can't ...Show All
Istvan Majercsik Having a cpu usage issue...
My app is direct3d9 using a small oop framework i made. When the application is running (windowed) my computer has ~15% cpu usage. When i focus another window on top of that one or i minimize the window, cpu usage goes all the way up to 100%... very annoying i really dont know wat the prob is. I think it has smthing to do with the main loop: while (msg.message!=WM_QUIT) { if (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) { Translat ...Show All
Mike Krings MechCommander 2 Fix Guide
For anyone who is interested in the MechCommander 2 stuff I just wanted to let you know I've posted a guide with all the bugs we've found in our Shared Source Release and how to fix them. You can find the guide at: http://blogs.msdn.com/mklucher/articles/629796.aspx If you have any comments please let me know! GameOS: Sound Resource.cpp, SoundResource::ReadACM(). Just pure luck if this has worked. Please meditate upon the dif ...Show All
KillJones IndexBuffer leaking Memory
If I create an IndexBuffer like 1) the memory consumption increases dramatically after some device reset's caused by window resizing. Even if the indexbuffer is not recreated after the reset this strange thing happens. If I create the indexbuffer the second way, everything works fine. Even if I put 1) in the CreateDevice function of one of the D3D SDK examples the error arises. Thanks for hints or suggestions about what's going wrong. ...Show All
Prasadi de Silva MSFT CreateInMemoryWaveBank returns -1966669817
With the release of the April SDK, our team decided to use XACT instead of DA, but we're getting a strange return code from CreateInMemoryWaveBank: -1966669817. I've never seen this HRESULT code, not can I find what it means. The debug output reports: Error: Invalid wavebank signature in header Error: Invalid wavebank header (0x00000000) which I assumed meant there was something wrong with the data files we were loading. But we also ran the app ...Show All
Shailaja Installing DirectX SDK
Hello.I am using Microsoft Visual Studio 2005.I downloaded the DirectX SDK from December and I have installed on my computer but I cannot build DirectX Aplication.Why I use VB. The 2nd question: "VC# is better for DirectX applications " I try to use some samples but I receive a lot of errors like: Error 1 The type 'Microsoft.DirectX.Direct3D.Mesh' exists in both 'd:\WINDOWS\assembly\ ...Show All
