Software Development Network Logo
  • Smart Device
  • Windows Live
  • VS Team System
  • VS Express Editions
  • Visual C++
  • Game Technologies
  • .NET Development
  • Visual FoxPro
  • Windows Vista
  • Microsoft ISV
  • Visual J#
  • Visual C#
  • Visual Studio
  • Windows Forms
  • Visual Basic

Software Development Network >> Game Technologies

Game Technologies

New Question

weird sprite positioning behaviour
How do I display Frames Per Second?
Collision Response Flaws
This chap says
Octrees question
DirectX/MFC with VC6
Namespaces Microsoft.DirectX not found
Does the most recent DirectX SDK download work with CLR 1.1???
Using Hardware with DirectX
2d in directx

Top Answerers

Karthik G Kashyap
mjorg
j_e_f_f
SteveNash72
Linto Poulose E
jcjj
nLella
denverd
Mattias1
Sarwanan
PC Killer on the Loose
Only Title

Answer Questions

  • analog Tv Mouse / Keyboard Events when using SimpleFramwork on a windows form

    Hi, Has anyone managed to get the latest version of the Sample Framework (Feb 2006 and Dec 2005) to work with full mouse and keyboard events. (I have added my code at the bottom of this post) I have been trying now for 2 weeks with no luck. I can see the mouse messages on the form and by adding hooks to the mouse on InitialiseGraphics() I can also capture the mouse message in the directx application but I am not sure how I can pass this on ...Show All

  • Jason Meketa 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

  • Inbar Gazit - MSFT May seem like a silly question... (DirectX logo)

    What are the terms for using the DirectX logo in a game Been looking all over without finding an answer. In my case I'd like to display it as an icon while performing initialization and during configuration. I would recommend asking them directly - directx@microsoft.com ; better to know for sure than risk getting into any trouble over it. Admittedly it was a few years ago, but I asked if I could use the logos ...Show All

  • rashed problems in manipulating a Transformation Matrix

    Hello everybody I'm new to C# and managed DirectX, and have a question. I have this model class: http://rafb.net/paste/results/5FCWXC53.html  (if the link gets broken, let me know) that should handle a mesh: transform it, place textures on it and more. Meanwhile, it doesn't do what I expected; say I try to give an object fixed rotation (using Rotation = new Vector3 (some vector) ), it will place it in the currect an ...Show All

  • Forch need help with code from a book

    Hi guys I have the Beginning 3D Game Programming book by Tom Miller In chapter 4 page 62, he says to put code in the OnCreateDevice method in listing 4.2 adding this code causes the program to crash, with the error being Failed to create Direct3D device public void OnCreateDevice(object sender, DeviceEventArgs e) { SurfaceDescription desc = e.BackBufferDescription; ExtendedMaterial[] mtrls; levelMesh = Mesh.FromFi ...Show All

  • Daraius DirectInput keyboard keys get stuck

    I've been using the following two methods to collect and poll keyboard:         public void ProcessInput() // called on each frame render         {             Key[] temp = _device.GetPressedKeys(); // _device is DirectInput.Device             Key[] keys = new K ...Show All

  • Jan Lonsetteig Picking Problem

    To solve the problem that I exposed in the other threat, I'm making changes to the Directx 9.0 's pick example. I've Tried this to move the position of the mesh: D3DXMATRIX matTranslation; D3DXMatrixTranslation( &matTranslation, 0.0f, 1.0f, 0.0f ); m_pd3dDevice->SetTransform( D3DTS_WORLD, &matTranslation ); m_pObject->Render( m_pd3dDevice ); The problem is that when I call the pick function, it doesn't consider the n ...Show All

  • Dude987 Getting Direct3D 10 Samples (April SDK) running

    Hi! I'm using the Vista Beta 2 and I'm trying to run the Direct3D 10 samples in the April SDK. Unfortunately they all don't work on my computer. They should work in a Direct3D 10 software emulation mode, right Do I have to change any (DX) settings Or do I need extra software Thanks Nico I think microsoft allready has some prototype graphic cards to render DX10 on :) ...Show All

  • Ameya Limaye MSFT Can functions return more than one object?

    I'm trying to put my mesh functionality like loading .x files, etc. in a seperate class, but I run into a problem when I need to return a mesh object and its materials from my function. Although, in regards to what Pieter said in my last thread, there might be a better way to handle this stuff... TWo ways to do this. 1. Return a struct that contains more than one item 2. Pass in items by reference, ( & in C++, ref in VB/ ...Show All

  • moonwalkercs D3DXFERR_PARSEERROR

    Something must have changed inside D3DXLoadMeshFromX() between DX8 and DX9. I have a whole bunch of models that now throw this error when I attempt to load them. Is this intended behaviour and if so, what changed Thanks. It looks like there's something wrong with the mesh you're loading, or maybe you are relying on a more lax set of parsing rules. We did make the parser stricter in some respect. If you want, ...Show All

  • Deadly Trev Using Sprite to draw 2D graphics

    Hi all, I use Sprite class to draw Bitmaps on the screen. In the sprite class, I only know how to do some simple effects on the texture, such as setting the transparency. The problem is that I want those textures to be affected by Lighting. E.g. If the color in the texture is blue, the outcome result is Green. Also I want to do other effects like a spot light on the texture. I have read a book (C++) and seems that I have to use ...Show All

  • exoloner How do you play MP3's in DirectSound?

    So far, I've figured out how to make my program play wav files using the following code: // "sound" is the name for my DirectSound device DS.BufferDescription desc = new DS.BufferDescription(); desc.ControlEffects = true; DS.SecondaryBuffer buffer = new DS.SecondaryBuffer( "laser.wav", desc, sound ); buffer.Play( 0, DS.BufferPlayFlags.Default ); But if I try to use an mp3 file as my file source (ie, "music.mp3&quo ...Show All

  • chongqing DX9 or wait for DX10 ?

    hi, I have '3D Game Programming with DirectX 9.0' by Luna, which I've seen is recommended, I read it but not gone through exercises etc, mainly because I need a new pc (which I'm getting in the new year). I was just wondering if it would be better to wait for DX10 and learn that, as it sounds like it's going to be very different.  I'm doing a CS degree at the moment and learning java, however I may also look at C# in my spare t ...Show All

  • Uncaged Basic question: Transforming a vertex is shaking my worldview

    Wow, I always thought I had had matrix transformations pretty well figured out until now. So say I have a vertex, conveniently located at the origin (0,0,0). If I want to apply a transform to this vertex -- namely, a translation, I could do something like this: Matrix translationMatrix = Matrix .Translation(100.0f, 50.0f, 0.0f); // a simple 2D translation Vector3 myVector = new Vector3 (0, 0, 0); myVector.TransformCoordinate(trans ...Show All

  • OGData ActiveX control not drawing in fullscreen mode -- help!

    A game I'm writing uses DirectX for low-level graphics and screen operations. I'm using an ActiveX control to display Flash content for in-game interstitials. When the game is running in windowed mode, there's no problem with this setup, but the ActiveX control isn't drawn reliably when the game is in fullscreen mode. If I alt-tab out and back in to the program, the ActiveX control functions as expected; otherwise, it's invisible (_most_ of the ...Show All

575859606162636465666768697071727374

©2008 Software Development Network

powered by phorum