Software Development Network Logo
  • VS Express Editions
  • Visual FoxPro
  • Smart Device
  • .NET Development
  • Windows Forms
  • SQL Server
  • Windows Vista
  • Architecture
  • Visual J#
  • Visual Studio
  • Visual C#
  • Visual Basic
  • VS Team System
  • Windows Live
  • Visual C++

Software Development Network >> Game Technologies

Game Technologies

New Question

converting mouse 2d to 3d space problem
Debugging program that won't start
Screen sized quad blend with rendered scene and shadows
Direct3D render to desktop
Beginning Managed DirectX (C#): Manager.Adapters.Default
Possible to apply shader to DX7 content?
[GDI+] ColorMatrixEffect
Sparse Matrix-vector multiplication on GPU using DirectX 9
directsound q
DX GUI library

Top Answerers

JessicaM
yudee
Aksh_bvn
Hu Xinrui
BeKoS
Pete Kane
Jish40289
chiu08820
M.Small
ved kaila
Battles, Brian
Only Title

Answer Questions

  • Hegbom Lighting and Rendering

    I am just learning DirectX in C#, I have been through many tutorials on the net, gaining a bit from each one, but I can't get the rendering quailty right. I'm sure there is just some little property setting somewhere, but I can't find it. I'm trying to render a simple teapot- right now, it looks like this: http://www.magentastudios.com/cp/teapot.jpg here is the code: http://www.magentastudios.com/cp/teapot.txt I'm using C# 2005 Ex ...Show All

  • EladioG Shader versions and efficiency on same shader code

    I was wondering about, as the title says, if there's any difference in compiling shaders using vs/ps2.0 instead of vs/ps1.1 on code that's compatible for both types. Here's an example of the vertex shader I use for setting up the post processing quad in my program: vsQuadOutput vs_QuadSetup( vsQuadInput Input ) { vsQuadOutput Output = (vsQuadOutput)0; Input.Pos.xy = sign(Input.Pos.xy); Output.Pos = float4(Input.Pos.xy, 0, 1); ...Show All

  • NDen Miller & Weller

    Now that our David has toddled off to Microsoft is there a possibility of a joint book between Miller and Weller  I certainly hope so, an awesome combination! Are you still writing your Avalon book Or would you consider another MDX DirectX one :) Sorry if I missunderstood, but did you mean that Tom Miller is not writing a book I just found this on Amazon: http://www.amazo ...Show All

  • GiPer using key events with sampleframework

    I have a question about using the arrow keys with the sampleframework I was going to create functions that when the arrow up key is pressed the camera moves forward in what ever direction the camera is facing but it seems like this code was already created in the sampleframework, so instead of re enventing the wheel was wondering if anyone has used this before or am I just looking at the code wrong question ...Show All

  • nilesh Reccomend me books please!

    Ok im looking for some books to get me started on creating games using C#, Managed DirectX and Winsock. Can anyone reccommend me books they have used that will cover what I need to know to get started on making great games Have a llok at the following forum, I have a list of books, and comments on them. These books include both of Tom Millers "Managed DirectX Kickstart, and Beginning 3d game programming" as ...Show All

  • yuval08 Tint a sprite red

    I've had good success in tinting sprites a certain color by using this code: _sprite.Draw( _texture,  new Rectangle( 0, 0, (int)_width, (int)_height ),  new Vector3( 0.0f, 0.0f, 0.0f ),  new Vector3( (int)_left, (int)_top, 0.0f ),  Color.FromArgb( 255, 255, 128, 128 ) ); // Reddish tint The problem is, black parts of the sprite don't change at all, which is really bad, because some of my sprites are silhouettes; an ...Show All

  • Carl Mercier Error in effect file

    I am using c for my directx programming. I am getting some errors in my effects file.  I know this because when I try to create effect from file I ge an error.  I do not know how to find exactly what is wrong with the effects file.  Is there a way to print out these messages or get a direct compilation message There are three ways: 1. Depending on which function you're calling, you should be able to get back a LPD3DXBUFFER ...Show All

  • John Sewell Throttling SecondaryBuffer stream reading speed in DirectSound

    I have written a DirectSound application in C# and have a Stream that can provide the PCM data (with the WaveFormat tagged onto the beginning). This allows me to use the SecondaryBuffer constructor that takes a Stream: buffer = new SecondaryBuffer waveFormatStream,bufferDescription,device);   The trouble is, even though I specify a small buffer size, this constructor ignores the size given in the bufferDescription, and use ...Show All

  • CarlIhland Most efficient way to draw a colored square (no, really!)

    Yeah I know, this sounds really lame... I've actually got textures, input, sound, physics and a bunch of other stuff working, but I have to conclude that the method I'm using to draw a starkly colored square is murderously inefficient. I can add 50 textured squares to my scene and lose maybe 40 frames per second... but adding 20 colored squares to my scene kills about 600 frames per second... from a human standpoint, this makes no sense, sinc ...Show All

  • Gary Bouchard Compile time error with DirectInput

    I'm not sure what's wrong, but I went through the DirectInput tutorials on the MS docs, I recieve this error... also, in the additional dependencies, I included d3d9.lib, dinput.lib and dinput8.lib. Compiling... winmain.cpp Linking... winmain.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard winmain.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A dinput.lib(dilib2.obj) : error LNK2001: u ...Show All

  • M Thomas Why to use DirectX?

    Why would I use DirectX What's that "something" in it, which makes it better than others I know that it's very useful and so on, but can someone tell me what is its strength. I'm thinking should I begin to practise DirectX. Thanks, Timo Thank you! Now I know enough to start. Timo   For a program like that you could go either way. It all depends on what way you would like to go. You could create the application using a 2D ti ...Show All

  • Jeremy Filburn LNK2001: Unresolve External Symbol i have been following sams teach yourself game programming

    Hi I have been following "Sams Teach Yourself Game Programming In 24 Hrs" and have hit an error on creating the GameEngine I get a LNK2001 error below is my log: --------------------Configuration: GameEngine - Win32 Debug-------------------- Begining build with project "D:\Program Files\DevStudio\MyProjects\GameEngine\GameEngine.dsp", at root. Active configuration is Win32 (x86) Application (based on Win32 (x86) Application) ...Show All

  • brainyguy9999 Apply shader in stencil shadows

    Hi, i've been trying to solve this for 5 days but i can't: the DX Sdk(June 2005) Stencil Shadow example use a shader for shadow, what for and how i can f.i. apply a texture to the shadow Everything looks fine with the Shadow Map sample in the October SDK.  I think you will find your answer there. ...Show All

  • DICKDDD MDX 2.0.0.0 Error - HRESULT: 0x8007007E

    I just installed the Managed DirectX December 2005 SDK. I then added Microsoft.DirectX as a reference to a new c# app. Added Vector3 k = new Vector3(); and then ran the application, but recieved 'The specified module could not be found. (Exception from HRESULT: 0x8007007E)' as a error. After using filemon, i noticed that the program was looking for XINPUT9_1_0.dll in about 15 different directories, but with no luck. So i simply copied that file ...Show All

  • PaulLaudeman Memory Management of unused code

    Hi. I have multiple objects controled by multiple classes. To ensure the classes are only there when i need them (i.e.they are only created when the level that they exist on is loaded so as not to clutter memory with unneeded objects) however. It just dawned on me that all these classes have associated functions (of course). So how is it possible that when the first of a perticular object created with the new operator knows to load in the compil ...Show All

93949596979899012345678910

©2008 Software Development Network

powered by phorum