Answer Questions
Mike Glaser Lost Device? What Scenario?
Hi I Have a problem with a simple D3D application. The program runs in windowed mode. 1) When I minimize/iconize the window it hangs (not crashes) in the taskbar and I cannot restore it again unless I forcibly close the window, as if it were running an infinite loop. Even the Debugger cannot report anything what's wrong. I can only close it with the debugger. 2) While resizing the window quickly and after sometime I get the error messag ...Show All
Freddy Figueroa .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
ACSM99 Font effects?
Is there any way to do simple text effects other than color / style with D3D Font class Something like a glow effect or drop shadow, obviously simpler than how photoshop would do it, but that basic idea. Not with the font class directly. You will have to render them yourself. For drop shadows render a black version of the text behind and slightly offset from the normal text For glows render a slightly bi ...Show All
Karim Normals
Ok another noob question. I am programming a Cad system and at the moment just playing around with how I am going to do the zooming. I am not using lighting at the moment but I want to get things right now, to future proof by app. So I am worried about messing up my normals for the lighting. From what I have read the world matrix will definitely do this, so I was wondering if I use the projection matrix (I am using Matrix.OrthoRH) to ...Show All
simonl1980 loading mesh like mesh viewer
is there a way and if so how can one load mesh files like the mesh viewer loads them, I took just for kicks the tiger sample and loaded a mesh that a friend made and it dident load right, rotates right off the screen, I dont really understand VC++ much to find my way through the mesh viwer code I am using C#, and help would be great. thanks I will take a deeper look into the fx file in a bit, I guess what I bel ...Show All
Ri Ri Early Out
Hi. I tried at the "regular" DirectX forums but since there was no answers or even faint ideas I am gonna post my question here. I have a fairly simple shader which loops over a numer of calculations. With ps_3_0 can we exit an loop and the fragment program early on if a certain condition is obtained for( ... ){ if( b > constant ) return Output; } } return Output; I have succesfully t ...Show All
jslabrie noob heP
hi... i whant to start game development, were do i start... i dont whant to start makein AOE III but just some thing that gets me on the right track, and that i can see progression http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=77083&SiteID=1 Dang, Andy beat me to it. I think he's trying to steal my job N00bs are more than welcome here. Remember, EVERY single graphics "expert" was a n00b at one po ...Show All
massmax Problem installed DirectX 8 SDK
I have Windows XP and I can't istall DirectX 8 SDK on it. It installs really quickly and it says it's installed under the Programs list but there's nothing there. I heard Windows XP has problems with DirectX 8 SDK, but I don't know how to fix them. I found a site on google on the topic, but the link was old. This sounds similar to a problem we had with integration in Visual Studio 7.0 and 7.1. Are you su ...Show All
VBCoder13 Adding Traditional windows style controls to DirectX Apps
I'm writing a simple app and I want to have a window with a directX display. I want to design a standard simple user interface with a traditional menu bar and dialog boxes and status bar etc, but when i try to use the Form designer it doesn't work. All the tutorials I see online deal with making a really cool GUI with special effects (geared towards games no doubt) but I just want a traditional ("File, Edit, Tools, Help) menustrip ...Show All
Bellam_Chandru Mesh.FromStream method of C#
I have a VertexBuffer object that I "manually" load with vertices. I then attempt to create a Mesh object by calling the Mesh.FromStream method. The first parameter of Mesh.FromStream takes a stream and I attempted to get the stream from the VertexBuffer object by calling VertexBuffer.Lock. I need a Mesh because I want to make use of the Intersect method. Has anyone ever attempted create a Mesh object from a "raw" VertexBu ...Show All
Magwich Matrices
I've been puzzling over the matrix theory stuff and I think I understand matrices pretty well now. Here are some of the comments I wrote down as I understood them. I know, its easy if you know it, but I'm happy because I feel like I made a breakthrough. The matrix is merely something you pass the device to tell it what to do with all subsequent vertices sent to it. You send it any vertex data to the device and it goes thr ...Show All
mdg17 How do you apply a .fx effect to a mesh?
How do you apply a .fx effect to a mesh I've looked for sample code but the only thing I could find was the SDK documentation, but that thing applies it to custom vertexes... Seems everytime I try something new in directx, it never works the first time ^^;;; You could just do it like you would with custom vertex formats. Internally DrawSubset just calls DrawIndexedPrimitives() anyway. You would then have somet ...Show All
SSRS DirectX Error
I am making a game called Battle Tank and I referenced a DirectX reference just as the tutorial said but I'm getting an error saying: 1 Error, The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' Here's my code to the game: using System; using ...Show All
Olas Transparent textures again
Hi, I'm bringing the transparent issue once again to this forum, mainly because after of doing a lot of google searches, forum searches, etc, I still can't get transparency to work. I've created a png file that has transparency. I know it is correct, because I've opened it with the D3d texture viewer, and I can see the alpha channel. I've created a simple object and assigned the texture to it in 3ds max. I've loaded the object but the transpare ...Show All
azaragoza Basic Help!
Before going any futher with developing games and such.. Which SDK file do I have to download to start please link me up =) I'll go for the DirectX C++ I know nothing about DirectX, but I have good knowlage in C++. Thx The latest DirectX SDK can always be found at http://msdn.com/directx/sdk You probably need to do an extensive search on DirectX 9/C++ tutorial but I don't want to take a lot of time doing it--can be hard for me to f ...Show All
