Answer Questions
Robert Davis DirectX 9.0c problems
I bought a game called the movies.when i go to play it a message comes up saying that my computor may be running an old version of directX and other mumbo jumbo.I have updated my directX to the highest point and installed it and everything but when i go to play the game the message still comes up! I have tried every thing there is but I still can't play the game! If any one knows how to help please help me!! My E-mail is: Dougie321@hotm ...Show All
zjorks Mech commander 2 question
i built the MC2 project and decided to play it all the way through. i bought the game in ages past and love it, so i wanted to play it again before i dive into the source code. there seems to be an issue with the mission 17 .abl file. it crashes with an error about fadetocolor at line 755 having an integer out of range. i looked at the numbers in the mission file and they were within a normal long int range. i changed them to be within a ...Show All
Bejoy Manipulating PCM data and recording question
Hi guys, I'm working on a project that implements LMS algorithm with direct sound. LMS basicaly creates an adaptive filter using data from a playing wav file and data comming from a mic recording. I've created a full duplex object and playing a wav file (streaming) while recording what is being played using a mic. My problem is as follows : I need to calculate an error (=original sound - norm_factor*recorded sound) the need for norm_factor ...Show All
Display_Name_mladen Performance problem with Texture.FromBitmap
I reduced program boot time (when running from within the IDE) from 12 seconds to less than 1 second by re-writing Texture.FromBitmap using unsafe code. For me it was easy because I'm only using 32 bit textures and 32 bit bitmaps. It would be nice to see this function optimized in future releases of the SDK. BTW, Texture.FromStream has the same problem. -Jeremy The bug http://lab.msdn.mic ...Show All
mrgilbe1 Mouse Hit Testing when primatives used not meshes
I did search the existing threads and have read them - those that I can understand - but they do not seem to apply - at least with my limited understanding. I have a "2D" card game started in DirectX3D using managed C#. I read Tom Miller's book as the basis and starting point. I have several "playing" cards rendered as CustomVertex.PositionedNormalTextured that I add to a VertexBuffer. I draw them with the DrawPrimative ...Show All
abw2003 Can i use .x files to render spline shape models?
I have a model in 3ds max using only spline shapes. Can i export it as .x file and render in my application I also want to have control on line thickness of splines. Thanx for the info "Bad Habit"... Now i have all the vertex information of spline shape in my app say in a D3DXVECTOR2 array and i can draw these lines using ID3DXLine. Its good but i want to have some container that can be used to control the ...Show All
NeoRJ Frame buffer vs Frame buffer
I want to read the pixels directly from the frame buffer, i-e whatever is on my screen, I want to read that. Now I have been using glReadPixels, it read pixels from the frame buffer of opengl... i-e whatever I render myself, I can capture it only... I am trying to access the graphics card buffer and read pixels from there using opengl... what should I be doing Just in case, this isn't an OpenGl forum and I doubt that questions fro ...Show All
ninja2605 Cursor disappears on MC2 debug
Hi, I build the MC2 project and it runs fine in the release version. When I run the debug version the Cursor disappears when on the main game window, making it very hard to select things. Is this bug known Is there a simple way to fix it Thanks a lot! Amnon Manneberg I gave this a try myself and didn't see that behavior, how are you building the game If you’re using the command line version did yo ...Show All
mgalliers Going nuts here.....
Ok...I have scoured the Internet from MSDN to Google trying to find the answer to this one.... As I am new to the whole DirectX scene, I was viewing the Webcast for using C# with DirectX in game development, namely the Star Trooper game, if anybody has seen that one. I originally could not build the downloaded projects without many errors, but I installed the April sdk and now I can build all of them. The Problem is that when I Publish ...Show All
jamzmar C# and Vertex Shader problems
I am trying to implement a basic vertex and pixel shader pair (see code below) Vertex Shader float4x4 matWorld; float4x4 matView; float4x4 matProjection; struct VS_INPUT { float4 Position: POSITION0; float3 Normal: NORMAL0; }; struct VS_OUTPUT { float4 Position: POSITION0; }; VS_OUTPUT vs_main( VS_INPUT Input ) { VS_OUTPUT Output; float4x4 tmp = mul( matView, matWorld ); float4x4 tmp2 = mul (matProjection, tmp ); Output.Position ...Show All
Pieter van der Berg PS_3_0 Error
Can someone interpret this error for me ps_3_0 shader can only be used with vs_3_0+ shader (SWVP or HWVP), or Transformed vertices. I wrote a pixel shader but no vertex shader because I never needed to in the past (ps_2_0 etc) Thanks I'm pretty sure it means you have to use a vs_3_0 shader to feed data into a ps_3_0 shader (or bypass all transformation and use transformed vertices ( POSITIONT or D3DF ...Show All
Bay Tran How do I uninstall DirectX 9c
I am having problem with a game and their tech support needs me to uninstall DirectX 9c and Reinstall it. I have asked EA tech support on this on an earlier occasion and this was the reply I got. 1. Forget about it. 2. Find a new hobby. 3. Microsoft sucks so dont try to fix their stuff. 4. The only problem is your brain, if you try to forget about it and find a new interest in life that does not involve this stupid DirectX, you will be OK. ...Show All
Headhunter .x exporter for 3dsmax 6
Hi, Anyone know of a good free exporter to export 3ds max 6 models to directx9 .x files I've seen plugins in directx sdks for max versions 4,5 and 7 but not 6. I've heard of panda exporter but have also seen many people who have difficuly getting their stuff to export correctly. Thanks. never mind, i got panda to work. it's much better. Many people have issues with the export ...Show All
tirpitz3 Texture0...Texture8?
What are the Texture"N" formats If you define a vertex element you have only one set of texure coordinates...right Why are there 8 more Unless you HLSL.... Thank you. That's deep...for my level. Thank you, I'll look into it. It's for multitexture You can actually Modulate one texture on another one So you can have more then one set of texture and more then one texture coordinate So y ...Show All
deval bhavsar DirectInput or WndProc?
I've noticed the in the August SDK (and previous ones) that all of the samples use a WndProc function to handle keyboard and mouse input. I assume there is a good reason that DirectInput is not being used. Could someone please enlighten me as to what it is.... Does using WndProc give better performance than DirectInput Jason Barrett wrote: all of the samples use a WndProc function to handle k ...Show All
