Answer Questions
win84 Fullscreen Managed DirectX
Hi everyone, I'm having a problem with fullscreen mode in my managed directX application. I was wondering if someone could help me... When my application is in fullscreen mode, I see artificats and other visual glitches such as pieces of the taskbar at the bottom of the screen. And although the screen is blue, I can still interact with the taskbar. (ie. I click the lower left hand corner and another glitch shows the start menu open momenta ...Show All
erossetto Loading a *&#@ing texture... (C#)
I don't get it. I'm trying to make a texture from a file. The book I have says to use TextureLoader, but that doesn't exist anymore. I read that you can make textures using [code]Texture texture = new Texture(stuff here);[/code] But there's nine different ways to fill the constructor, and half of them I can't even get to compile. I'm so lost. *cries* I see now, thanks. I'm no ...Show All
bobmpls 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
Peter Gummer Mesh Intersect Confusion
EDIT: Let me make my question simpler: How do I shoot a ray (using the Intersect function) from one mesh to another mesh Original Post: I recently found out that the Mesh.Intersect function requires you to transform the ray by the inverse of the Mesh's matrix. I can kinda understand how this works with picking, but, I am trying to shoot a ray from one mesh to another with an arbitrary direction. Now I'm dealing with TWO matrice ...Show All
AjayG DirectX Application deployment
Hi There, I am working on a Direct3D application with C# 2005 Beta. It runs fine within and outside the 2005 IDE on my computer, but It won't run on somebody else's comp. (I can deploy non-directX applications though) The other person has the same version of DirectX (9.0c), and the .Net framework (2.0 Beta) as I do. On the other computer, the program crashes right away and it says " myProg has encountered an error and needs t ...Show All
Richard Petheram Octrees question
Hi, I've done some reading before posting this, so I think that the answer to my questions is not already in the forums. I've also searched the internet and read some articles about octrees. Bu I still have some doubts regarding this matter. What happens if a object is too big, and is inside 2 or more octree leafs Should the object be divided in 2 If not wouldn't the object be drawn twice Or this should never happen If the object will ...Show All
Vladox How to Mirror/Reflect/Flip a texture vertially?
Hi, I've previously developed a small .Net 1.1 application that converts from TGA and DDS files to the native texture files of a game (Dawn of War). The problem is that not everyone wants to then get additional plugins (or can't get plugins) to read the DDS files or convert them to TGAs for editing. Instead, I'm trying to use the DirectX SDK to convert between TGA and DDS (DXT1) without the need for an additional app. The general conversi ...Show All
Brian Kramer Rendering anti-aliased smooth text
Hello, I searched for a way to render an anti-aliased smooth ( and with a ClearType) text, But I didn't find . I want also to add a shadow to the font Thanks, Mustafa ELBanna It's been a while since I've tried it, but off the top of my head it's the D3DXCreateFont( ) params that you want to be looking at. It's not clear in the documentation, but I'm pretty sure the OutputPrecis ...Show All
Mathieu Descorbeth DirectPlay Voice Error
I have a problem with DirectPlay Voice. I can use microphone I have windows xp home + sp2. In windows xp pro i havenn't this problem. I have a messege from windows "Error instalation program DirecPlay Voice. Code Error 0x80004005." Antonio Yonekura wrote: I do not be able to talk with may mycrophone. Plaese, send me a solution. This forum is for DEVELOPERS using DirectPlay not people playing games that use Di ...Show All
Leonid B Game physics and scripting
Hi, I allmost finished the graphics, sound and input of my game engine project. In few weeks i gone start physics and scripting, but there aint much information on this in the sdk. Only the config system has some kinda physics. Anyone know some good places for starting physics (allready got Novodex and tomahawk sdk's, but where's the fun if u don't make your own) or is it possible for microsoft to add some more information and samples about thes ...Show All
lawyer june sample issues
it seems that when I run some of the samples a few of the device checks fail, and the program wants to switch over to a software device, if I remove this line of code if (caps.PixelShaderVersion < new Version(1,1)) return false ; the sample runs but all the meshes have lost there textures, how can I fix this now I havent checked the other samples but it seems where it is calling f ...Show All
zetto Engine Architecture
Hello everyone, I am new to these forums here. I am wondering if anyone has any good resources (links, etc..) for designing a 3d engine. I do not need links on how to create one (writing the code), but i am trying to explore some different engine architecture's as i am getting ready to create my own personal engine to be used in a product of mine. To help with answering my question it would help to know my experiance / background. ...Show All
Miguelusque Mouse input
why am i getting theses numbers from my mouse http://img393.imageshack.us/img393/4944/untitled5tb.jpg please help thanks private ACEIDev ACEMouse; public int ACEMouseX=0; public int ACEMouseY = 0; public int ACEMouseZ = 0; public ACEMou(Control ff) { ACEMouse = new ACEIDev(SystemGuid.Mouse); ACEMouse.Properties.AxisModeAbsolute = true ; ACEMouse.SetCooperativeLevel(ff, CooperativeLevelFlags.Foreground | ...Show All
megatiko This chap says
In a thread on this forum there is an interesting discussion that I'm wondering what your opionions are concerning it. (I hope this is the right forum for this..) Chap A Graphics API's completely extract the graphics cards so the programmer doesn't have to worry about dealing with each type of card a user might have. There is no reason he should ever have to or even want to deal directly with the graphics card. He ...Show All
rossmac Dramatic memory leak in DrawText
I've been banging my head against the wall for the last few days trying to track down the source of a rather big memory leak in my Direct3D-application. Turns out the culprit seems to be the DrawText function. Let me explain exactly what happens: I'm using a variable width truetype font (Times New Roman) created through D3DXCreateFont. I'm using this in various parts of my application, but the part where the problems are easiest to notice is ...Show All
