Answer Questions
ATsim Enumerating Video Cards
How There is a GetAvailableTextureMem function in the IDirect3DDevice9 interface that you can use. However you're not gonna get a value like 64/128/256 (i.e. the actual memory size installed). You don't really need to know the installed amount of video memory anyway. The IDirect3D9 interface supplies functions you can use to enumerate adapters. You can use t ...Show All
CasuaLXX Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Depending on where you load the textures to, you need to release them and recreate them. Make sure that you are properly handl ...Show All
RunsWithScissors Where to go?
Hello, I'm currently going to college taking game software development. I've been programming C++ since i was 13, and pay for college by doing freelance PHP work. I've been reading "Tricks of the Windows Game Programming Guru's" by Andre LaMothe. The code is a bit outdated, but its been a good resource. Anyways i've become more the aquainted with the C++ side of things. However i've found out my school will be teach ...Show All
Achal Gupta D3DERR_OUTOFVIDEOMEMORY
I am recieving D3DERR_OUTOFVIDEOMEMORY Error, after roughly an hour during the execution of my D3D Application. Any idea what i need to look for This is the code i use to create my veretexBuffer: vertexBuffer = new VertexBuffer(typeof(CustomVertex.TransformedColoredTextured),6, d3dDev,Usage.None,CustomVertex.TransformedColoredTextured.Format,Pool.Managed); I dispose it every time the scene is drawn... Thanks... ...Show All
Pintag Change Line width in Direct3D
Is there any simple way to draw a thick line in Direct3D In OGL one can simple set linewidth by call glLineWidth(). Is there a similiar method in D3D Thanks! Just by way of reference: ID3DXLine is the class you want to look into (See D3DXCreateLine() ), the ID3DXLine::SetWidth( ) function being the one of interest to you... hth Jack Use the line class in Direct3DX - it renders the lines as quad ...Show All
ElvenWong Error reloading xna projects using batches
Hello, Following the answers given on this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327228&SiteID=1 I started using the %(Identity) and %(Filename) metadata to batch some of my tasks. Unfortunately, whenever I try reloading a project containing such medata usage, I get an error: "{0} is not a valid batching parameter." I was forced to remove these information from the project file using a text editor, and to pu ...Show All
David Hilditch 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
Vetu Direct3D render to desktop
hi all! How render 3d scene to desktop Yes, DirectDraw was removed from DX8 and all subsequent versions. It's most annoying, and that's why I had to fall back on DX7 to get stuff done. All versions of DX and the SDKs are backwards compatible, however, so you can still write stuff for DirectDraw and compile and run it on the latest versions. no, GetDesktopWindo ...Show All
Ghost Rider Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the f ...Show All
DNA123 Installing DirectX SDK
Hello.I am using Microsoft Visual Studio 2005.I downloaded the DirectX SDK from December and I have installed on my computer but I cannot build DirectX Aplication.Why I use VB. The 2nd question: "VC# is better for DirectX applications " Probably becuase you do not have your references set up correctly. And a little thing: When a write: Imports Microsoft.(I don't have Direc ...Show All
moleman Mech Commander 2 Shared Source Release Intall problem
Hey there, I'm using XP professional Korean version with sp2...I've installed XNA Builder without any problems, but when I install the Mech Commander 2 Shared Source Release, a error messege popped up like this: Error 1324. The path Microsoft MechCommander 2 Shared Source Release contains an invalid character. Then the installation finished. Could anyone be pleased to tell me what can I do for this I've download it twice, but th ...Show All
Sameer.S Mech commander 2 question
i built the MC2 project and decided to play it all the way through. i bought the game in ages past and love it, so i wanted to play it again before i dive into the source code. there seems to be an issue with the mission 17 .abl file. it crashes with an error about fadetocolor at line 755 having an integer out of range. i looked at the numbers in the mission file and they were within a normal long int range. i changed them to be within a ...Show All
Roger Best - MSFT Mesh modeling tool
Hi, I'm looking for a mesh modeling tool. I'm beginner in DX programming so I don't need a tool with thousand of functionnalities for the moment. A free or low cost modeling tool would be great ... Thanks, Steve For a really great list of resources I would have a look at www.thezbuffer.com , the zman has a really good up to date list of modelers that can be used. Just a quick not I to would look at blender for ...Show All
JohnStallo Sharp performance drop!?
So I'm developing my game on my pc, and the framerate is steady at 75 fps as I'm adding stuff to it. I take a break and play a game for awhile (on my pc), and when I get back, the fps is now 53! I've tried restarting my pc, but it's still 53! What the heck's going on I don't think it's my code, because my laptop still gets 60fps like it always did, and it has crappier hardware than my pc. Please, can someone tell me what's going ...Show All
bbrik XACT Beta?
How does one get on the XACT beta program I went to https://connect.microsoft.com/availableprograms.aspx and it is not listed there. I signed up for the DX beta program, but it apparently does not let you access the XACT beta newsgroup, which is where I would like to ask questions. I would wait a few more days, the beta newsgroups have been removed and moved to here. From the last few messages ...Show All
