Answer Questions
Keith Nishihara DirectDraw
I think yes (although I am unfamiliar with DirectDraw) if you can Add a DirectDraw Reference to the project. I was able to Add a reference to Direct 1.0 (no idea what that is) from the COM tab. Have a look at the following Link, http://www.kuhnstall.de/tutorials.html It is a basic tutorial using Direct Draw. Mykre www.ircomm.net Managed DirectX and Game Programming Resources. I would like to familiarize with an example of the prog ...Show All
Paul Middlin Fade in/out
I use Sprite to draw some texture and want the texture fade out after some time. Should I set the "device.RenderState" before drawing the texture to do fade in/out What should I do if I want the whole screen fade in/out Thank you Hi, I also want to do fade in/out, but I do not quite understand what you mean. I use Sprite to draw 2D textures and no Light is needed. I don't know how to use Li ...Show All
Vikas Taneja Unable to load Microsoft.DirectX.dll in Visual Studio 2005 Pro Ed
I recently installed Visual Studio 2005 Pro Ed. For some reason I cant run my Managed DirectX applications from the new vs. It compiles successfully but whenever i reach some code (in runtime) which uses the Microsoft.DirectX.dll i get this exception: "The specified module could not be found. (Exception from HRESULT: 0x8007007E)" The funny thing is that it works fine with earlier versions of Microsoft.DirectX.dll. And the latest version (of dx) ...Show All
Vinod Sa Using controls as a textbox in dx9?
Greetings! :) I'm programming a game in dx9 and now and then you need a textbox, listbox or some other control for userinput. If you add normal controls it does not work. So the question is: how do I use controls in directx games I cannot find any information on this subject anywhere.. I might be missing something but I don't know what, if it is the case. Nb. Also I might say that I'm programming it in .Net with C# under Windows XP Pro T ...Show All
jasperjugan DirectX managed framework: vertexBuffers, changing modes fails...
Hi all, I'm currently facing a slight problem where changing mode on my application causes an error with 'Failed Resetting the Direct3D device' message. I'm using the managed direct3D framework and it currently works fine with line and sprite rendering. After added transparent boxes to the system, I got the above error, when mode changing. This I'm assuming is down to not disposing and resetting the vertexBuffer correctly. After reading ...Show All
Srikanth Anumalla Possible to make an online RPG with DirectPlay?
I've been working on an MMORPG (Massively Multiplayer Online Role Playing Game) for awhile. I'm getting up to where I have to wonder, "Now what do I do to make it an online game " Is it possible to use DirectPlay for the networking.. Thanks in advance. Have a look at the source code for Game Coding Complete for some help. http://www.mcshaffry.com/GameCode/ The book's a very good read as well. Not s ...Show All
Pochero Where did device in direct3D go?
I'm trying to do some of the real simple DirectX tutorials and when I try to enter the line: Private Dev As Microsoft.DirectX.Direct3d.Device = Nothing or it's equivalent for the C# version I get the error that Device is undefined. I am using the April 2006 DirectX SDK. I have added Microsoft.DirectX and Microsoft.DirectX.Direct3D references to the projects. For the VB version I use: Imports Microsoft.DirectX Imports Microsoft.DirectX.D ...Show All
citrusguy 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'm pretty sure DrawSubset doesn't change any state - there would be a lot of bad side effects if it did. Looks like you mi ...Show All
GregSQL rendering meshes
hi! i've made a mesh picture_1: http://toomaniac.com/kopi/blender/object_mode _solid .gif even on actually flat faces there are a lot of triangles i.e. many different faces picture_2: http://toomaniac.com/kopi/blender/edit_mode.gif when i view the mesh in the meshview - that one that comes with the sdk - it looks like that picture_3: http://toomaniac.com/kopi/blender/directx.gif and when i load the mesh to my device it looks ...Show All
Ming Ding vc++ 2005 express want to build dxsdk sample usp10.h missing
Hi, its me another time So I installed vc++ 2005 express and did set up the include/lib file directories for the sdk and tried to build a sample of the newest dxsdk (december 2005). But now I get the message Compiling... dxstdafx.cpp c:\programmieren\dxsamples\configsystem\common\dxutgui.h(12) : fatal error C1083: Cannot open include file: 'usp10.h': No such file or directory Build log was saved at "file://c:\programmi ...Show All
BurkeOn.NET DX10 - No fixed function
What does "no fixed function pipeline" in directX 10 mean for developers What do I need to change to go from fixed pipeline to programmable pipeline Why is this better for the API Thx Ry The benefits of a programmable pipeline over a fixed-function pipeline are quite lengthy, certainly beyond the scope of these forums. I recommend checking newsgroups or other graphics sites like GameDev.net for more information. For those ...Show All
Apall Problem in debugging MC2Dbg.exe
While debuging the MC2Dbg.exe there exist the following error please tell me where should i keep this dll to remove the error STOP : Could not find 'mc2res.dll' Address : 0x006374D8 Location : MC2DBG! (+0x2364D8) Thanks in advance Meenal This is done by right clicking on the project and going to properties. Look under the "Debugging" tree item and you'll see a "Working Directory" parameter. You may also wan ...Show All
Michal Szalai Screen sized quad blend with rendered scene and shadows
http://i17.photobucket.com/albums/b95/julesthe/scene1.jpg the url brings you to an image that shows the current problem I am facing. I render a screen sized quad (background image) and then set some device blending operations before rendering my scene objects. as you can see, where the shadow is cast, the blending behaves as I would expect, making this area show through but it is slightly darker then the background. My problem is that I c ...Show All
dbeattie A small problem with project files SDK and C# Express 2005
Hi! Opening a project sample for .Net Framework 2.0, the common folder appear empty, And error list show this warning: The file 'Common\AssemblyInfo.cs' could not be added to the project. Cannot add a link to the file D:\Projetos\DirectX\Managed\BasicHLSL_2005\Common\AssemblyInfo.cs. This file is within the project directory tree. I open csproj file with notepad and delete link tags.   ...Show All
tsensenbach Model Help
Hi. I've created a model, and an Animated model (same object) and I have successfully improted it to my cpp file. It's now rendered in a 3d-space and looks like an astroid. But I want to be able to change the size of it (using directX) how is this done Also: how do I use my animated model when I control the object (etc: walking animation while moving forward) thx in advance CruS wrote: But I want to be able to change the siz ...Show All
