Answer Questions
Thomas Lee Script Engine: Building a syntax tree
Hi Im building a script engine and need some help for building a syntax tree to be able to convert the script (C style) into opcodes. My script is allready parsed into tokens, using identifiers, constants, operators, ... Any help on this Greetz Nightmare You might want to look at ANTLR . It's a parser generator tool that generates in C# (and Java and C). Also look at some of th ...Show All
LazerBeam Sprite Problem
I'm trying to do some simple 2D graphics with DirectX 9.0 (April version), so the first step is to display bitmaps. I found a tutorial that applies a texture to a rectangular triangle fan (quad), and that works perfectly. However, when I try to display a bitmap with the ID3DXSprite object, it looks a little blurry, as if the bitmap is offset from the screen coordinates by some fraction. When using the texture-quad method, apparently you must ...Show All
alli How to change one class to another or how to include derived in base
Hello guys, I've been making a 3D space game in DX9 and I've run to the following problem. I have base class TELESO for every object in the space and derive needed classes from it(asteroids, ships,etc)... Well, maybe you will find this solution bad, but ...its the only thing I could do...: I want to spread chunks from object when it is destroyed. However I cannot divide object into smaller parts ingame, though I can make them in 3D prog ...Show All
LSF Problems with DirectX 9 and Visual Studio Express
I'm trying to compile some sample code in Visual C# express with the DirectX 9 SDK. The problem is that the sample code gives me errors like the following: "The type or namespace name 'Font' does not exist in the namespace 'Microsoft.DirectX.Direct3D'" "The type or namespace name 'Mesh' does not exist in the namespace 'Microsoft.DirectX.Direct3D'" Now of course, Font and Mesh SHOULD exist in Direct3D. My ref ...Show All
scotland 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
BradB1976 Direct3D certification
As far as I know Direct3D is a technology and DirectX is it's implementation that belongs to MS. Are there any certifications for graphics on Windows... Is there a way to find a resource where I could learn from A to Z. DirectX let's say. So far I have 2 books (but one is about HLSL) and what comes with the SDK and I have a feeling I need a library. No. There are some game development schools that teach DX ...Show All
MBowen Making Background for a 3D game
Hello guys, I'm making a 3D game...well with a static CAMERA view...it would be in SPACE...and there's no movement on Z buffer, though its 3D. But I would like to ask you for some suggestions how I should implement background stuff into this. Well, presently I am doing it like: I create a mesh(QUAD) in 3ds max and implement it into game as a sprite and set its Z position so it is further than other objects. But the problem is that I ...Show All
MikeJohnson Animating a leg
hi all, I'm trying to create a simple animation of a leg. The leg would be made out of two parts and each part would be a mesh (could be just Mesh.Cylinder). I know how this should work in principle but when I have to calculate the matrices all goes wrong... Here's my idea: Given the angles of rotation for both parts rotate and position the upper part (which will maybe be someday connected to a torso) then rotate the lower part and c ...Show All
Ozzie Garzon Managed DirectX in C# Forms - differences between SDK
Hi - this is a repost since my previous html one was garbaged... anyway I've been trying to embed DirectX controls into a C# winforms application. However, there seems to be a major problem getting all the forms controls to paint... I thought it was something I was doing wrong, but then tried using the old Summer 2003 API and it all worked fine Basically, I create a UserControl that handles all my rendering code, then add that to a forms ...Show All
pdressler Welcome to the Graphics Forum!
Welcome to the Windows Game Development forums! The Windows Gaming and Graphics Technology group is delighted to offer you these forums to discuss questions related to Windows-based Game Development. While we expect the majority of questions to be DirectX-related, we welcome any game development related questions based on our currently-supported or pre-release technologies. This forum is specifically aimed at graphics programming ...Show All
dwebb DirectInput and Mouse Acceleration
I am using the Managed Direct Input library to gather mouse input for a graphical research app. However, my testing shows that the application is affected by mouse acceleration despite using the Direct Input API. My understanding was that only driver level acceleration could affect the Direct Input data, but if I test some of the samples that ship with the DirectX SDK I don't see the same problem. T ...Show All
guardian653 XFiles & Transforms
Does anyone know how are the transformations stored inside an XFile frame hierarcy, is each transform relative to it's parent, or are they in world space Thank you very much for clearing that up for me . I'm working on an OGRE mesh to X converter, and after I convert skinned meshes, my transforms blow up, so I just wanted that cleared, so I can be sure that the my bug isn't in this part of the code. Once again ...Show All
benneh Direct Music examples
Anyone know how to obtain the Direct Music samples mentioned in the Dx9 docs The docs direct you to the <sdk>/Samples/C++/DirectMusic directory which doesn't exist (for me, anyway). Thanks, ZMan. From the looks of things at msdn, it appeared they were dropping support but I couldn't find anything definitive. Thanks for the links. Thanks for the clarification... but does sustained mode mean supported or unsupported ...Show All
Mandar Y Where did event Device.DeviceResizing go in the Microsoft DirectX SDK (February 2006) (.NET 2.0)
Subject says it all! Is there a replacement for the DeviceResizing event Thanks! Wout See the beta newsgroups. http://msdn.microsoft.com/directx/beta/default.aspx ...Show All
Jarrod-Brotherton How to create a new Texture from an existent Texture?
How to create a new Texture from an existent Texture I have a bitmap file, first I created a Texture from a bitmap file by using function D3DXCreateTextureFromFile(). Now I want to create an another Texture from the existent Texture, and the new Texture's content is the existent one's bitmap but be rotated 15 degrees. For Example: the existent Textures have a horizontal line "-" on it's center , from the old Textures I can create another thre ...Show All
