Answer Questions
gd2q 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 I just dumped the tex coords before rendering the mesh with the undistorted texture and than before rendering the distorted v ...Show All
pg2000 Sharing Vertex Buffer between meshes
Is it possible to store multiple meshes (Microsoft.DirectX.Direct3D.Mesh) in one vertex buffer to avoid vertex buffer switching Or is it the best not to use the D3DX mesh object at all Switching vertex buffers is really not very expensive. Even if it were, if that's your biggest performance worry, you are in a very good place indeed - there are usually a lot more important things to optimise befor ...Show All
uzalish Are there any MDX examples of frustrum and occlusion culling about?
well by examples i'm realy looking for something that uses frustrum followed by occlusion culling in c#. as i'm trying to find out how i would take the result of frustrum then feed it into occlusion culling. inorder to get the final render. i'm also very new to c# and MDX. Sure there are, here is one from MDXInfo.com. http://www.mdxinfo.com/resources/resources.OcclusionQuery/OcclusionQuery.zip and here's ...Show All
Laurence Melloul - MSFT Cabinet File Not trusted
I tried to download DirectX onto XP using Civilization IV and it says that a cabinet file cannot be trusted does anoyone know how to fix this I also tried goin to download.com and downloading it before I installed the game and it gives me the same error. I found a thread that said to right click a cabinet file and go to properties and find the option to trust the file but I see no such option.. Can anyone help! This forum is f ...Show All
Tomas Floyd DirectX 8 SDK Library link problem
I have a problem similar to that shown on the Raxvan thread and reply from Ursus Zeta , I have loaded DirectX 8 SDK from a disk included in the book 'The Zen of Direct3D Game programming' (must update to Ver 9 soon) I have linked the library files dxguid.lib, d3d8.lib, d3dx8.lib & xinmm.lib to a Visual Studio6 C++ win32 project but cannot get the project to compile because the last three library files will not OPEN (I think they have be ...Show All
Charoite Realy simple tutorial.
Hello I'm looking for a tutorial that shows the most simple DX-program ever, just how to create a simple plane/box/polygon. I've looked everywhere but all i can find is "create your own battletank game", "your own flightsimulator" etc etc. I'm using J# but there is almost no tutorials for that so i have to use C#-tutorials and convert them but that takes alot of time, specialy if the tutorials has mixed in some piece of flightsimulator code in i ...Show All
jPolizzi DrawSprite speed up
we have our great set of Gui controls based on CustomUI smaple from DX SDK but one update: we can load our texture for some controls: Panels can have own Textures. all CustomUI sample + framework from DirectSDK use Sprite.Draw method , but I was thinking what if use vertextbuffer + texture object to draw our images/controls, will we get gain on this or no, does Sprite.Draw method - faster. ALso, what are benefits here if we'l ...Show All
madog5353 DirectX Bug
Hey! In all samples I install using DirectX 9.0 as API, may it be from DirectX SDK or NVidia SDK, the following bug is present: The ui controls, such as drop down box, slider bars, check boxes etc all appears normal at first. But whenever I try to interact with them they disapear for good never to come back. The samples are still running as they should. My machine is uses a dual core amd athlon x64 cpu, it has about 2 gigs of ram, nvidia GeForce ...Show All
Paul1975 ID3DXFont (DX 9.0c) square problems
ok, this is a really annoying problem whenever i try to print text to the screen using the ID3DXFont::DrawText function, only squares appear the thing is, i am using Arial font, so i don't think it can be that the computer doesn't know the font sometimes however, a letter will appear somewhere in the line of text, but always in the wrong spot it is always the last letter of the line though i really really need some help here ev ...Show All
nehajampala Help with compiler (VS2005 c++, D3D)
Well,... the first thing I'm wondering is if anyone else experienced similar problems opening sample solutions from the sample browser - versions for the Vs2005beta. I keep getting critical error that says something like "...XML failed parsing...Property sheet file 'UpgradeFromVC71.vsprops' was not found or failed to load." As the 2005.sln wouldn't load, I tried converting the Vs2003 solutions. Here I encountered the second set of problems ...Show All
itprochris Debugging program that won't start
Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and t ...Show All
DaveRivera Convert Samples from Directx 9.0 to Samples for Directx 9.0c
Hello everybody! I want to make a 3d engine out of the samples of dx9.0c but there is a small problem. In Directx 9.0 SDK there are some samples which i want to have in Directx 9.0c.Is there a way to take these samples of dx 9.0 in dx 9.0c samples or is there anywhere a site where i can find other samples for Directx 9.0c,for example bumpmapping ,glas effects,particle effects or water things These would are some of the samples i need for d ...Show All
Atrias issues installing DXSDK_Dec2005.EXE
Hi, I downloaded the SDK (december 2005) and I cannot install it. A window comes up saying: "Extracting file failed. It is most likely caused by low memory (low disk space for swapping file) or corrupted Cabinet file." Well, my machine has 2Gb of ram and my swap is the same size so I think the file is corrupted. Can anyone send me a link to a zip file that has the SDK extracted or a link to an EXE that has been tested to work I have d ...Show All
Igor Grozman Problem with lights
I've created a model with 3ds max 5 and I've exported to .x fileformat. I used Manged DirectX to load the file and render it, but all the materials are rendered in white color. Here is the C# code I use to load the meses, the method I use to load is called LoadMesh and the one which renders them is called DrawObject. Can somebody help me thanks: /* Author: Eduardo Fonseca B. * Create on: 23.October 2005 * <comments> ...Show All
Torg0 PIX profiler crashes with multi-thread app
Hi, I've been trying to use PIX to profile an app which uses multiple threads to spread the load of creating large, dynamically-produced polygons. It simply crashes the application as soon as one of the 'worker' threads starts doing anything. Is there a way of making PIX work with a multi-threaded app Thanks, Jim Keir Will do, thanks. Jim jimkeir wrote: Hi, I've ...Show All
