Answer Questions
VeePee 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
Eric Feunteun Multiple windows by one device
Hi! I'm looking for some easy way to render into multiple widows by only one device. I'm using managed directX in C#, there's an overload of the Present method that takes a control and claims that it will draw onto the control, but I can't make it work. It does not fail, but neither does it draw anything. Could you please tell me what I'm doing wrong, or maybe weather there's some easier way to do that Thanks Libor ...Show All
Dracoman How to specify multiple tex coords using D3DVERTEXELEMENT9
Hi, I'm trying to map a D3DVERTEXELEMENT9 structure to my vertex shader. The shader input struct is: float3 pos : POSITION; float4 texcoord : TEXCOORD0; float4 detRow1 : TEXCOORD1; float4 detRow2 : TEXCOORD2; float4 detRow3 : TEXCOORD3; float4 detRow4 : TEXCOORD4; what I'm trying to do is something like this: D3DVERTEXELEMENT9 vertex[7] = { { 0, 0, D3DDECLTYPE_FLOAT3, 0, D3DDECLUSAGE_POSITION, 0 }, { ...Show All
Dewayne Hornsby what is faster? managed/unmanaged
I'm a student and just started wih DircetX. And I just wonder, what is better to start with. MY friends says , that managed DircetX is much slowler, but unmanaged is harder to use... I can use C++,c# or VB, so what is better to programming games Thanks for answares, then I will start with managed DX. I'd have to support David and Ralf's replies. Choose the language you are bes ...Show All
cycledesign The never ending pain that is my 2D tile texture problem.
I want to make a nice 2D tile game - I can plot 2D tiles fine as 3D textured quads, pixel perfect. But when I move the camera by translating the view matrix - the pixel on the border of the tiles sometimes dissapears and sometimes it thickens to two pixels worth. This is the original plot. Then when I move the camera down a bit, the last line of pixels on the textures is gone :( Here's the very concise source illustrating the problem (C# Vs ...Show All
badmofo can't enable direct3d acceleration
I need help,i have a problem when i try to play unreal tournament 2004 a warning appears and says that i need to enable my direct3d acceleration but when i go to enable it ,it says unavailable and can't enable it ,why is that and how can i fix my problem These forums are for *developer* questions relating to the DirectX/XNA API's - not game playing/tech-support questions. Closed You've not given enough details for anyone ...Show All
lamy Is DirectX good enough for creating modeling tools?
this may seem a silly question. yet all the modeling tools i see on the commercial market and free tools use opengl. is this choice due to opengl having the ability to be used on no windows OS or is directx not upto the task well i wasn't aware of 3dsmax having a choice. :) i was curious because i wondered about creating my own tools and would prefer to stick with directx. yet was a bit worried by the choice f ...Show All
smathieu Adding textures to CDXUTDialog
Hi. I'm trying to create an ingame GUI with the CDXUTDialog. There is a possibility to add custom textures to buttons, checkboxes, etc. If I add an texture, it isn't aligned correctly. Does anybody know how to add a texture that it looks correct Cheers, Daniel Thank you! Your post was very helpful! So did you manage to set the texture of the CDXUTButton. I ...Show All
Daftdog DirectX Extensions for Alias Maya 7
When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 I've done the same but i get a host of errors specifically related to the .x format in maya. ARe you seeing any of these errors or is it pretty much error free Pleeeese someone mail me the exporter! I tried to build it on my own but it failed.. God I spent one week on that exporter. Email: ...Show All
Titi des bois HLSL: how to use *.Fx of FX Composer in DX ?
I use FX Composer to get a *.FX file But now I want to use it in DX I try to load it with the BasicHLSL example but it crash... It doesn't work in EffectEdit, even when I add a Mesh to it It doesn't do an error, but it doesn't apply the material How do people at MS use those tools What is the best sample in the SDK to use to make the *.FX file of FX composer to work Any idea what I have to change in the file to make it work ...Show All
BryanF DirectX Tutorials?? Where!?
I was wondering where I could find some DirectX Tutorials.. For DirectInput, DirectPlay, Direct3d, and pretty much anythign about DirectX! Myabe there could be a sticky with tutorial links on it So most begginers coudl get a starting hand at a few things, instead of having to ask lots of basic questions one after the another, like me! :) So, if anyone could at least show me some links for it Personally I need for VB.NET, but other links are also ...Show All
Cool Zen Where is d3dim.lib, d3drm.lib, dsound3d.lib?
My questions: 1) My book ("Tricks of the Windows Game Programming Gurus ed1" ) teaches DirectX 8.1 SDK. Is it fine to have that SDK on for ease-of-understanding w/ the book, or use the updated DirectX 9.0c SDK 2) Relating to DirectX 8.1 SDK, the book says I need the following library files: ddraw.lib dsound.lib dinput.lib dsetup.lib dplayx.lib Now, the next three are nowhere to be found in the library folder: d3dim.lib d3drm.lib ds ...Show All
Kiran Babu i need help! pls I want to begin to write games
I need documents to learn to use directx in c++ or vb, to not knoweverything about directx, thanks for its attention and hope can help me, and sorry for mi english Sure. There's no arguement in what interface you use. I'm more interested in game programming being taught correctly though, often residing in books that teach it in a progressive order from the bottom up. I haven't seen anything great using Managed DirectX to teach it, though, ...Show All
R.Working Floating Point arithmetic difference between VB and C#
I am in a bit of state at the moment, I am really surprised at what I have found, please see the two code samples below. The first is Visual Basic and yields a result of: 100040624.0 the second C# and yields a result of: 100040629.0, which is correct. This error is causing my Line Circle intersection function to fail!! Oh my God have just spent the last two years writing my app in VB and now have to convert to C#. Dim a, b, c ...Show All
Gilles BECAVIN Fix Found Windows XP Pro, DirectX 9c install completed ! I cant Install Directx 9.0c December 2005 dsound.inf problem
When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error : "An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem." I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error and when I go to DXError.log and DirectX.log see this Problem with dsound.inf : -------------------- [01/05/06 01 ...Show All
