Answer Questions
Kent Boogaart Degraded performance when debugging MDX1.1 applications in VS2005 compared to VS2003
Hello, I've noticed that when I'm debugging MDX1.1 applications in VS2005, they achieve a significantly lower framerate than when debugging them in VS2003. The performance decrease differs per application and seems to be somehow linked to the use of HLSL effects, as applications that use the Fixed Function Pipeline do not suffer this decrease. This morning I witnessed an extreme case of this problem with a little game that renders mul ...Show All
RunsWithScissors 4 Beginners!
Hi, well i read post and post but all of them assumes than we know how to use directx, so I wondering about: Where can i found info, tutorials, about how to get started... In C/C++, or C# oriented to those how never in their lives have contact with DirectX before and their skill in programming are Intermediate... thx PS. Simple kind, because i found one, but in the begining it said.... Create a new project... ok, but in VS.NET 2005 C++ are a ...Show All
MiFra Disable FSAA for some primitives each frame? (disable it temporarily)
If I set my device to use 4x FSAA for example, can I temporarily disable it when rendering primitves or somehow make primitives that isn't affected by the FSAA I have a graphical user interface that render text and quads with point filtering, that way making it "pixel perfect". Much like blitting a sprite but I'm using triangles instead. However this method breaks miserably when I add antialiasing, since the pixel precision is lost and ...Show All
Slowie Implementing firing and particle system
Hello guys, I'm making a 3D game using DX 9. It should be a 3D space shooting game. I would like to ask how I should implement firing. 1) as other objects in GameEngine;s sprite vector => shall I keep some objects hidden = so I don't have to create new when firing, just to make them active and place them in the proper position. 2)"machine-gun" firing implement as particle system But then I will have to make other collisi ...Show All
Ken6558 Is there any way to access the mixed audio data by DirectSound?
I want to get and save the mixed result by DirectSound. Is there any available method to do this I guess, the way maybe access the primary buffer, but how to do in detail By the way, I've read almost all pages of DirectSound Document, and haven't found any method to do this. Is there any master can teach me... Thanks! There is no way to get the final mix back from DirectSound. ...Show All
Avanti Ketkar Sprite.Draw2D and Alphablending?
I'm trying to do alphablended sprites (not color keyed sprites), but it doesn't seems to works. I tried to load .dds with alpha channel and .bmp (32bpp, last channel should be obviously alpha, but i don't know if TextureLoader.FromFile() understand the last channel as an alpha channel). I've put the device's renderstate at alphablendingenable = true (don't have any PS GFX card). But it doesn't seems to work. Am I missing something Maybe should I ...Show All
Patrick C a simple line
New to directx, I don't need any textures or anything, but i need to make a simple wireframe model. And would like to know if there is an easy way to draw a 3d line just using 2 points as input(hopefully, as this is what im used to) We need more details than this... DirectX 8 or 9 - which SDK version Language - C/C++/C#/VB.Net There is an ID3DXLine class that will handle 2D lines if you want that... alter ...Show All
Wes123g OSD Please Help
Hy guys! First of all: My English is bad. I want to write an OSD that overlapps everything i mean really everything. I want it for helpful use in Games so it have to overlap an active DirectX9 Application everything is there Keyboard shortcuts works but i realy don't know how to overlapp an Fullscreen Running Game... so please help me thx You can find a cool overlay sample using DirectDraw here. http://nexe.gamedev.net/directKnow ...Show All
huyanan Targeting older machines
Hi there. I guess part of this is more of an opinion question. I want to target older machines that may not have up-to-date graphics cards. Right now I am using a game engine that gives the developer the option of using DX8, DX9, or its own software driver. To compile the engine, I naturally need the DirectX SDK. Problem being that the latest realeases don't have DX8 support. So the question becomes: Is DX9 a 'safe' way to go f ...Show All
BYU MSDN Webcast GameEngine compile help
I was running through the MSDN webcasts on game developement in Visual C# .NET. (see http://www.microsoft.com/events/series/msdnvideodev.mspx ) I discovered after the 4th lesson (Introduction to Sprites and Animations) the provided source code ( see http://www.digipen.edu/images/6/64/Webcast-4.zip ) wouldn't compile and would complain that public StarTrooper() (in StarTrooperGame.cs) threw an exception. As far as i coudl determine it had somethi ...Show All
acemtp Rotate an object using a vertex shader
Is it possible to rotate an object using vertex shader code. I know you can position and scale it but cant work out how to rotate it. Thanks Bilbob I must confess that I am not a RenderMonkey expert. But if you want to move your object in the preview window around with the mouse you should use ViewProjection or WorldViewProjection as semantic. Thanks Ralf. I have got it to rotate wh ...Show All
Tim Noonan Mesh.FromFile method MeshFlags parameter
I've searched the internet (including MSDN) looking for reasonable descriptions and information on the MeshFlags enumeration; more specifically as it applies to the Mesh.FromFile method. It appears that most samples I see use the MeshFlags.SystemMemory flag when loading mesh's from a file. Can someone describe the different types of MeshFlags (for example, when would I want to use a MeshFlags.Managed type and the differences between SystemMe ...Show All
shipra Pandey DirectX Tutorial fur Compact Framework 2.0 (C#)
Hi, ich bin auf der suche nach einer kleinen Einfuhrung bzw. einem Beispiel fur die DirectX Mobile Programmierung auf dem Pocket-PC. Hauptsachlich interessiert mich dabei 2D. Wer kann mir da weiterhelfen Haha, that's cool! My cell phone is still running windows mobile 2003, don't support dx The DirectX have not been ported to .net cf. in .net cf, you can consider the GDI+ to perform 2D graph ...Show All
David Chesnut MSFT Why does my window go blank after a resize?
Just as a quick test too see if I understood how directX initialization works attempted to creat a new DX window using windows forms from scratch. But I have a problem... Can anyone explain to me why the triangles rendered in the following code disappear permanently when ever i resize the window I have comparable code that doesn't disappear when I resize but after hours of comparing I just can't see why one code works and this one doesn't. ...Show All
Legionaire Device Lost Problem
I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when yo ...Show All
