Answer Questions
caiman Can't build/run managed samples on x64
Hi all, I just downlaoded and installed the Dec 2005 bits. I can build and run the managed C# samples just fine on my 32-bit machine, but no luck with my x64 machine. When I build the default SimpleAnimation sample, it buildes fine, but gives me this error when I run: System.BadImageFormatException was unhandled Message=" is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)" Source="mscorlib" Sta ...Show All
Giddyup_rr Starting Game Development
I Have a Very Very Deadly Game StoryLine But i am extremely new to the programming. I have no idea about programming . I will be very gratefull if any body tell me how to begin, which language to learn and everything else. I have a great imagination and story writing power and my very sure my game will rock the world if could turn my imagination into a game. I wouldn't want to discourage any ...Show All
Scott Currie [MDX] Rotating and Translating multiple textures in a Sprite
Is there any good way to rotate and translate multiple partial textures using a Sprite object The Draw() method with rotations does not seem to work correctly. Thanks, John Take a peek at how it's done with the "Simple 2D" sample in the DirectX SDK. ...Show All
cowanm Strange Problem In Resizing Managed Direct3D Window
Hello, I had a strange problem, I had created a Windows Forms project in Visual Studio 2005. I render to this window using Managed Direct3D. I typically used 3 managed vertex buffers for rendering. When I try to resize the rendering window, The resizing operation was too fast and catching up my mouse pointer inspite of it's speed, This is good. But this happens only in Debug or in Release mode while Visual Studio is open!!. If I closed the ...Show All
DWhobrey Lighting large meshes
[Ignore the fact that I work at MSFT and my sig says "VS Platform Team". I'm posting this as a user, not an expert ] I'm using the December SDK and writing a C# application that uses Managed Direct3d. In one view I have a mesh, some ambient light and a directional light. I'm not using specular lighting (RenderState.SpecularEnable = false) and I'm using Gouraud shading (RenderState.ShadeMode = ShadeMode.Gouraud) If I rende ...Show All
Jigar acharya 1D and NPOT texture
Can anyone tell me how to use 1D texture and NPOT texture Is the Texture object always create POT texture or it can be used to create any size texture Thanks! mabeghin wrote: Be aware that creating a texture with height 1 can completely crash the nVidia drivers depending on the card and on the drivers version. Don't do it in a commercial application. I found this problem and it took me time to find that ...Show All
mannequin011 Can't Run Any Programs On Others Machine
What I am running: DirectX 9.0c & C# I am trying to run the compiled version of ( http://www.c-unit.com/tutorials/mdirectx/ t=38 ) this tutor on another machine. These tutorials only work in October Version of DirectX I believe. What I downloaded: ---Microsoft .NET Framework Version 1.1 Redistributable Package http://www.microsoft.com/downloads/details.aspx FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en --- ...Show All
Digo21 Namespaces Microsoft.DirectX not found
I've installed the DirectX 9.0 SDK and the runtime and can run the sample executables, but when I try to run the code in the edit or debug mode (using vb.net ver.2003) it can't find Microsoft.DirectX and Microsoft.DirectX.DirectInput namespaces. I verified it as having 9.0c using dxdiags.exe. It does find DirectX 7 & 8 type libraries in the COM references section... I expect to find the missing namespaces in the .NET reference sections ...Show All
Overload mdx 2.0 animation
mdx 2.0 feb 2006 i copied the code from SimpleAnimation into my engine, and made the few adjustments to the name of variables/properties etc caz going from mdx 1.x to 2.0 and then i try to load tiny.x from the sdk, but it get the error: Unhandled Exception: Error in the application. -2147467259 (E_FAIL) at Microsoft.DirectX.Direct3D.Mesh.LoadHierarchy(Device device, String filena me, MeshFlags flags, AllocateHierarchy hierarchy, LoadUserData us ...Show All
TravisGaffney Can you evaluate my message loop? For DirectX PROJECT
MSG msg; while ( TRUE ) { if ( PeekMessage( &msg, NULL, 0, 0, PM_REMOVE ) ) { if ( msg.message == WM_QUIT ) { break ; } TranslateMessage( &msg ); DispatchMessage( &msg ); } } That looks fine. That's what I use when I code in c++. ...Show All
The Kalihi House Can I do this In VB
Can I do this, or rather accomplish the same result in basic Vector3* myVector3 = (Vector3*)&someMatrix.M31; float x = myVector3->X; if so, how Thanks! I noticed that you put: Dim y as single = Atan2(myVector3.X, myVector3.Y) Shouldn't this be Dim y as single = Atan2(myVector3.X, myVector3.Z) y is = to camera yaw angle Yes, sorry I just copied your code wrong. i'm sorry, here is al ...Show All
solidtransient Problem rotating a triangle
I am using the Direct X 9.0 Framework and following one of the tutorials in the Direct X help. However, the tutorial in question is supposed to rotate a triangle. When I run the example, this works great. When I try to implement this with the framework, the triangle just sits there staring at me and not turning in circles. Here is most of the code, but with much of the framework that I have not touched cut out. Please point out my stupid mistake ...Show All
Binairy XBox - Managed Code
I’m just wondering if anyone knows if Xbox 360 supports any type of managed code (mc++, c#). We're about to develop an engine and we can’t find any information about this. We wanted to use c# for the scripting of the game so if anyone knows it would really help out. Thanks. For those who find this thread through search http://www.microsoft.com/xna/ and search more on 'XNA framework'. .Net and MDX coming to the ...Show All
Skwerl Problem installing dxsdk(april 06)
Hi, Ive got a problem installing the directx sdk (april 06). I go through setup untill right at the end when it says Starting Services. Then it comes up with an error message saying Error 1290.Service DirectX Debug Service (DXDebug) failed to start. Verify that you have sufficient privleges to start system services. Any suggestions Here's another big problem with the April 06 SDK installer. My install seem ...Show All
Adam Baruh .x Model and duplicated vertices issue
I can see that in a .x template template VertexDuplicationIndices { <b8d65549-d7c9-4995-89cf-53a9a8b031e3> DWORD nIndices; DWORD nOriginalVertices; array DWORD indices[nIndices]; } There is a duplication of vertices. I believe this was done during the export when faces sharing a vertex duplicates that vertex. Am I right to say that My main problem is how can I get pointers or references back to the origina ...Show All
