Answer Questions
Kerad Books on DirectX
I am getting into learning about game development. Well more of programming in the directx API for starters. I was wondering if getting into the .Net part is better or should one stick with the C++ and unmanaged directx programming. The other question is, to look into WGF2.0 or start with current gen directx. Any books that I should/must have for learning about directx. And does that cover the upcoming Dirextx10/WGF2 Thanks ...Show All
netjay Sound
Hello Everyone, I have a problem I want to make a program on VB.net and I want A sound ( any sound ) I want a buttion and I want sound to play when I push that buttion Ok I have the Answer See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=132288&SiteID=1 for example ...Show All
SteveWitz 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
whitesqwal85 DirectDraw: Turning off deprecated documentation comments?
Hi, I'm trying to learn DirectDraw before I sail off into the 3d realm (yeah, like the old days). I'm reading from Tom's book, and another book that goes very in-depth with it. Is there a way to turn off the deprecation notices on the documentation comments I'm getting tired of seeing "deprecated" every time when I'm trying to learn, heh. Is there an option to turn off Btw, I don't plan to make any projects with it; it's soley for ...Show All
Zonram Device Lost Problem
I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when yo ...Show All
cb-cb MDX2 and Action Mapping?
Can anyone direct me to documentation on using Action Mapping via MDX in the latest release of the DX9 SDK (Feb) Searching has proved mostly fruitless and DX8 samples of AM (using DIACTION, etc) are useless as it appears the entire structure has changed. I've looked through the SDK docs but they are simply a shell outline and only list classes and their members - there is little to nothing in the way of description and zero examples. Also, a ...Show All
Filip Langerock Torque Game Engine
After some carefull thought, I have decided to develop a game using C++ with an existing open source engine. Torque ( http://www.garagegames.com/products/1 ) was one reccomended option, and I was just wondering what everyone else thinks about it. Is it DirectX or what Ah, so the Torque Shader Engine is also a game engine Much like TGE, but better, one might say :) T ...Show All
shubho A question of desgin
This question isn't directly related to DirectX, but it's still strongly tied into the whole idea of game programming, so I'm hoping someone here can give me some direction. Up until now, developing my game logic hasn't been too hard. I have a World object, which contains Platform objects, Item objects, and one Hero object. With an object oriented design, this is insanely easy to implement, because all the basic attributes and drawing logic c ...Show All
private nathan as string!!! Typewriter style Text on Desktop
Hi, I’m new to MDX. I am looking to displaying “typewriter” style text on the desktop – you know the kind that is done on “xbox war games” etc accompanied w/ the “typewriter sound” Can someone point me to a way to doing this via MDX or any pointers will be greatly appreciated. thanks in advance ...Show All
Andrey T. Direct3D Screenshot?
Does anyone know what Direct3D functions I should look at if I wish to be able to take a screenshot of the desktop. I don't really care to get the contents of my application but rather the entire desktop as it is presented to the user. I think the real question is how to get a handle to the surface that vista is drawing to. D3D itself won't have a function for that since its something that was created by vista ...Show All
Morgan Cheng 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
Hannes Eder 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
SaloS MDX DirectInput
Hello, I've downloaded and installed C# Express 2005 and the Feb '06 DirectX SDK. I create a new project, add a reference to DirectX 2.0.0.0 but everytime I try to create a DirectInput keyboard it fails on the Aquire call. I've used the same code that everyone seems to recommend: keyb = new Microsoft.DirectX.DirectInput.Device(SystemGuid.Keyboard); keyb.SetCooperativeLevel(this, CooperativeLe ...Show All
Brian Fitzgerald Dramatic memory leak in DrawText
I've been banging my head against the wall for the last few days trying to track down the source of a rather big memory leak in my Direct3D-application. Turns out the culprit seems to be the DrawText function. Let me explain exactly what happens: I'm using a variable width truetype font (Times New Roman) created through D3DXCreateFont. I'm using this in various parts of my application, but the part where the problems are easiest to notice is ...Show All
jrryfn Texture flickers when Rendering on primitives
I'm currently writing an dx-mesh-editor to create my own meshes, I use Visual Basic 6 with DX8.1 even if it's a little older and I have DX9.0c installed too. All fine so far. I'm using the D3DVERTEX-Type - drawn directly into world space (X,Y,Z) , also Normals and Textur-coordinates(tU+tV). My Cursor is a simple XMesh with some material but no Texture. So I have to call device.setTexture 0, Nothing before I ...Show All
