Answer Questions
NateThornton Beginning Games Programming
I wanting to start developing my own computer games and hopefully get job in this industry. I have good knowledge of programming for the web, and also basic programming knowledge of Java, C++ and 3D Studio Max. The only thing is I don't have a clue how a game is made or where to begin making a game. Looking on the net i have noticed C++ cropping up a few times on game developing books so i'm start strengthing my knowledge up here. But has anybo ...Show All
Anthony Wood Problem Installing Direct X 9c
I have problem installing it cos it always complete straight away. i check the version its still the same. This is my Direct X log File 03/18/06 12:36:36: dsetup32: === SetupForDirectX() start === 03/18/06 12:36:36: dsetup32: Feb 3 2006 07:30:18 03/18/06 12:36:36: dsetup32: DXSetupCommand = 0. 03/18/06 12:36:36: DXSetup: DSetupCallback(): Phase = 0, Steps = 0 03/18/06 12:36:36: dsetup32: DirectXSetupIsJapanese == 0 03/18/06 12:36:36: d ...Show All
wangx0 urgent , how to use maya files in directX
How I can use my maya and 3ds Max models on my game using Maya 7 , 3ds Max 8.0 and DirectX SDK 9 You must export your models to .X format, then you can use them simply using DirectX. Hope this helps a bit. We've had some success with using Milkshape as an intermediate tool. Here's the process we use ... 1. Export your Maya model as an OBJ file 2. Use Milkshape to open the OBJ file 3. The textur ...Show All
weirdbeardmt Convert from OpenGL right-hand coordsys to Direct3D left-hand
Hi, I am porting from OpenGL to Direct3D, but have some trouble going from OpenGL's right-hand coordinate system to Direct3D's left-hand coordinate system. I have a transformation matrix that I want to apply/load into to the virtual camera (the viewer): | r00 r01 r02 tx | | r10 r11 r12 ty | | r20 r21 r22 tz | | 0 0 0 1 | Where the 3x3 r's makes the rotation m ...Show All
Iron Architect Distortion w/ Device.Present to another control & w/ SwapChains
I am having trouble using one device to render to multiple Controls. I have tried two methods, one using the Device.Present overrides to redirect output to a second control, the other is to use SwapChains with their device set to that second control. While both methods work in a way they produce the same baaaaaaaaad result: massive distortion of the result. What seems to happen is that when the second target is drawn the source rect ...Show All
Abhiram Khune MSFT Installing DirectX SDK
Hello.I am using Microsoft Visual Studio 2005.I downloaded the DirectX SDK from December and I have installed on my computer but I cannot build DirectX Aplication.Why I use VB. The 2nd question: "VC# is better for DirectX applications " => Is good to use DirectX for a "Visualization" tool Probably becuase you do not have your references set ...Show All
powerteh How to Debug the MechCmd2
Please can you help me to debug the MechCmd2 by instructing me step by step.Here is what i do to debug it, 1)first i open the project named MechCmd2(Microsoft Visual Studio Solutions)file . 2)then in the solution Explorer there exist the MechCmd2 project. 3)then on GUI option in solution Explorer , I right click the Mouse and select Debug->stepinto option then it gives the error "Debbuging information for 'Mc2Dbg.exe' cannot ...Show All
pbjorge12 DirectX problem?
Hi, I have tried to find an answer to my problems in the forums, but I can’t... I have been playing around with the Star Trooper game, of the WebCasts Series and it works fine in VS 2005 or Visual C# Express Edition. The problem is that when I publish it, install it and try to run it, it gives me an error message stating a problem: "microsoft.DirectX.Direct3D.InvalidDataException occurred in starTrooper.exe [248]" Even ...Show All
dfoukas number of enemy units on map limited to 104
How can this be changed Opening the solution and searching for your error brought me to this code in MechCommander 2: MechWarrior* MechWarrior::newWarrior (void) { for (long i = 1; i < MAX_WARRIORS; i++) if (!warriorList ->used) { warriorList ->used = true; return(warriorList ); } return(NULL); } If that's null you'll get ...Show All
itsnadeem85 Rotating around mesh center
Hi, I have a little Mesh contained in a .x file. I then load the mesh into the file and try to rotate it (I'm using the EmptyProject solution provider with DX February 2006). My problem is that the Mesh doesn't rotate around the center of the mesh but around it's base. I was searching through the internet and I found this solution: device.Transform.World = Matrix.Translation(x,y,z) * Matrix.RotationX(angle); where x,y,z represent the center o ...Show All
OdinsBlade Loading DirectX inside a .NET control
Hey - i am working on a terrain editor, and i need to be able to load the terrain (from my original engine) in a .NET control such as an ImageBox, or SplitPanel - is there anyway to do this, if so how I was sure i saw a tutorial once but i'm drawing a complete blank. Regards James Gupta Ok thanks mate i'll have a look at these I do not know about any direct tutorials on creating DirectX devices inside a windows control, but I d ...Show All
Guru2228 "Direct3D.OutOfVideoMemoryException" : managed directX + c#
Hi, Working on a basic 3D engine I actually have a problem using my application with some graphic cards. The engine is very basic : Using a Form to select a "game", I create a new Control, then I use it creating my D3Ddevice. I load mesh and textures from .X files. When the "game" end, I dispose all even the Control and then back to the game selection Form. On my computer it's working well, but on my "test computer" I got a " Direct3D.OutOfVid ...Show All
Anthony Duarte Forms.Keys vs DirectInput
I know its probably just me, but is there any reason that OnKeyDown can only process one key down at a time I should add that I am used to using DirectInput for this kind of thing, but I see that it's being recommended not to use it any more, so I tried using OnKeyDown, but when I hold down 2 keys at once, only one gets processed even though my code looks like: if (e.KeyCode = Keys.W) moveforward(); if (e.KeyCode = Keys.A) moveleft(); ...Show All
MShah Page hits in DX
Hey everyone I’ve been experiencing some severe framerate drops that seem to stem from DX. I built a real simple embedded profiler and started debugging the app to see where these “spikes” were coming from. I wrapped all DX calls within the profiler and sure enough I noticed right away that the spikes were originating from the DX calls. I started up DX Pix to see if that would tell me anything and sure enough I was seeing the drop in fra ...Show All
nef001 16 channel Real Time signal rendering: Should I go gor DirectX?
I'm refurbrishing an old VB6 application that displays up to 16 signals, at 100 samples per second, along with some icons on the screen. The user decides on the on-screen resolution by means of a zoom function key. Now in the design phase, I need some more information to decide on taking Direct-X or GDI+ path. I've been going through several sample applications, and so far, I've got the feeling that Direct-X is suited to heavily drive the ...Show All
