Answer Questions
Queue256 About Meshes
Hello all, My brother and I are working at creating a game using DirectX 9. He does the coding and I create the graphics. He tells me that we will need specific *.x mesh files for the game. Without having to spend too much money on huge programs like 3DS Max and Poser are there any other programs out there that you could recommend for us. We're looking to create humanoid, animal and everyday objects (Homes, vehiecles, etc) for this game. Also ca ...Show All
Srikanth Bogadapati My blit is too slow. Please help !!!
Hi, I'm Celios. I currently have a project that involves DirectDraw and RGB 444 1920 * 1080 images. I'm new to all this, and have been following examples on the net, used one backbuffer, and currently my blit takes around 16 - 50 ms. My flip takes 0 ms, so I have no problem with that. I somehow need to make the blit constantly run faster than 16 ms. Can somebody please tell me how to do this I have come across some articles about tripple buffer ...Show All
MojoRobbins Lighting problem with Dec2005 SDK?
Hi; I can't get lighting to work with the dec2005 sdk. I created a simple cube mesh in maya, exported it, and loaded it into my project. But it shows up dim and faint - in fact the only light that seems to be showing is the ambient light. Here is my light code: Device.RenderState.Lighting = True Device.Lights(0).Type = LightType.Directional Device.Lights(0).Diffuse = Color.White Device.Lights(0).Direction = New Vector3(0 ...Show All
msra_ken New seemingly useless INFO message
Starting recently (noticed in June or August SDK, but may have occured sooner), if you have an FVF vertex buffer and use a shader you get an "INFO: Using FVF buffers with programmable pipeline" (Not an exact quote, sorry) message EVERY TIME you draw. As far as I know, an FVF buffer just means you may use it as a destination for ProcessVertices(). Is there some performance disadvantage to using FVF buffers I'm just trying to fi ...Show All
bl4ckprint Vertex shader problem
Hey, Ive been trying to add a vertex shader to my engine(right now its just running a pixel shader). Currentlly if I activate the vertex shader the world gets drawn distorted(a small random red box with a triangle going out to infinity). Heres the simple vertex shader im using. struct VS_INPUT { float3 position : POSITION; float4 color0 : COLOR0; flo ...Show All
MichaelJH A code snippet for testing
Greetings all, Thought I'd share this little D3D code hack... With this code, you can watch how the values you render are processed/stored. Basically, after the code locks the depth and the back buffer, it just unlocks them, but if you keep an eye in the Watch window of Visual Studio, you'll see that the pointers in the D3DLOCKED_RECT structs are still valid. And as you issue DP calls, you'll see directly how the values change... Ju ...Show All
scritchy DrawImage(img, pts)
Sorry if this is the wrong place for this question but it it related to 3D games programming... I have noticed that Graphics.DrawImage(img, pts) accepts an array of 3 Point objects in the second argument. In the spirit of adventure I passed in an array of 4 to see what would happen (I was hoping it would render an image inside an uneven quad). It did not work but it did throw an exception indicating tht this functionality had not ye ...Show All
Daniel P. StateBlock
When a using StateBlock to save Device state, frame rate down too much when device is create using Software Vertex Processing (1200 frames/s to 250). In DirectX SDK sample occurs the same problem (530 frames/s to 180). To minimize this is necessary create a device with MixedVertexProcessing, if graphics card not able to use Pure Hardware Vertex Processing hi, what about State block us ...Show All
Adatacorp creating 3d worlds
Hi, a complete newbie question. Where is the best place to start for building 3d environments that I can walk through like a first person shooter I imagine the world would be made up of meshes. Should i be looking for an editor to create my world, but then how do I get it into directx tx Johnniemac If you are asking about building 3D engines, read this post before posting additional questio ...Show All
bram February DirectX SDK now available
As always, you can find it at http://msdn.com/directx/sdk . Cool stuff... an update to the Direct3D 10 libraries, the first actual (non-beta) release of the Cross-Platform Audio Content Tool (XACT), and another update to the MDX 2.0 beta. Just as a quick comment..the Direct3D 10 preview _requires_ Windows Vista. At the moment though, there is no hardware that will natively run Direct3D 10 applications, so you're stuck with a software rasteriz ...Show All
Alexon Mouse intersect plane (Full project available)
Hi, this has been driving me nuts for weeks now, im trying to get the point where the mouse intersects a plane. I have to have this project for college done for thur and i im just stuck. If anyone can help it would be excellent, i have created a simple test project to show what im doing, Download (118kb) Thanks for any help, -Dave Hi David, thanks for the reply, Yea i looked at the pick sample, ...Show All
Craig Skibo - MSFT 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 That's really a question for whatever modeling tool you're using. If you can't figure that out, you might want to post on forums specifically for those tools (Maya or Max). You must export your models to .X format, then you can use them simply using DirectX. Hope this helps a bit. The directx sdk ...Show All
-Thomas- how to add multiple cameras
hi all, iam new to directx . how to add multiple cameras and display each camera view in a separate monitor. thank u for ur great suggestion can u provide any sample code that can build multiple devices because iam new to direct3d . i dont know deep concepts What you would do is code your own camera system. Then you could just split your form/window into as ma ...Show All
Chuks C++ or C# that is the question
Hello, I have done tons of C++ work and tons of C# work... unfortunately none in the arena of game programming... I would like to get started... but what compiler would you recommend I'd have to agree with Jack on this one. C# is a easy language to get right into the fun parts of game development with DirectX. It takes minimal amounts of lines to get the environment up and running and off you go. ...Show All
prashantpk MDX 2.0 Shader Based Engine... Feedback wanted...
Hello to all, I’m designing a small engine using managed directx 2.0 included with the december sdk, after reading several articles and tutorials about shaders I decided to develop the engine using (if possible) only shaders or at least avoiding as much as possible the fixed pipeline of directx. That’s mean I’ll using HLSL por lighting, texturing, meshes, shadows etc, although it may sound hard or very time consuming I believe is enterely possi ...Show All
