Answer Questions
Frank Babz Creating a new texture fails with "first chance exception"
I have an application in which I create a texture to later write directly into. It works fine on my development machine, but on the target machine it fails with A first chance exception of type "microsoft.directx.diretct3d.invalidcallexception" occured. The code looks like this texture = new Texture (renderer.Device, 720, 576, 0, Usage .None, Format .A8R8G8B8, Pool .Managed); The pixelformat is the same as the device. ...Show All
Cici D3DXLoadMeshHierarchyFromX issues
I'm working on a project with skinned meshes and as part of that I use the function D3DXLoadMeshHierarchyFromX. Where I work there are 2 computers. They both exactly the same hardware, they run on the same os (winXP) and use the same directx version (april 2006). Ok, so on one computer this runs all fine, and as it loads the skinned mesh it has a memory jump of about 20-30MB, but it quickly goes back down again. The other computer jumps by ...Show All
Phoenixfire1710 dxut: keeping carent in editbox
sorry if im being a pest but one more thing is there a way to keep the Caret with in the editbox control if you type in the editbox control the Caret moves all the way off the screen, I have tried seting many different properties and mothing seems to work. thanks a bunch Hmm, that sounds like a bug but I can't repoduce it. The caraet should be shown in the editbox where the insert point is, just like t ...Show All
tca9 Windows Installer error w/cryptographic issues - going on 11 hours-help!
I hope someone can help me... We purchased the open lic. upgrade of XP PRO and I installed it on my workstation; at first all seemed great but I've run into error after error and the root problem seems to be windows installer. I've tried all of the updates, patches, fixes... from microsoft along w/others but I keep looping back to the same issue. I started working on it at 7:30 AM and it is now 6:00 PM - H E L P! ...Show All
jonalder Enumerating Video Cards
How Thanks, and were i look to see Video Memory There is a GetAvailableTextureMem function in the IDirect3DDevice9 interface that you can use. However you're not gonna get a value like 64/128/256 (i.e. the actual memory size installed). You don't really need to know the installed amount of video memory anyway. The IDirect3D9 inte ...Show All
farukh Generating Pure Tone & DTMF Tones
I would like generate Pure Tones (Single Freq) and DTMF Tones in C# (using DirectX) .. Can anyone guide me in this direction. Thanks, --Yatharth Hi, If you visit http://thecodeabode.blogspot.com/ you will get a set by step break down with sample code of how to generate pure DTMF tones in C# and store them as a wave, or play them directly through your soundcard...... I know it is not ...Show All
techstudent26 New to Managed DirectX
Hello, I want to learn abt the Managed DirectX on C# Can any one tell me Allah Hafiz You really need to ask more specific questions but here are some places to start http://www.thezbuffer.com http://www.mdxinfo.com ...Show All
M Johnston AI / Neural Networks
I am progamming my own backgammon game and was wondering what the best book is as an introduction progamming AI. I am just a hobby programmer using VB Express so I dont want anything to technical! I hope someone can point me in the right direction. Thanks I can't recommend a book but you might find something in the AI forum on gamedev while you await others to reply http://www.gamedev.net/community/forums/foru ...Show All
jumanjiCA Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the f ...Show All
Tamer Raafat Rotate an object using a vertex shader
Is it possible to rotate an object using vertex shader code. I know you can position and scale it but cant work out how to rotate it. Thanks Bilbob Thanks Ralf. I have got it to rotate which is excellent. But what ive done is, im using rendermonkey and have created a new 4x4 matrix but not given it a semantic, and have hard coded in the values to rotate it 45 degrees. This wor ...Show All
Vinny Pasceri MDX: Assigns a new mesh causes auto Dispose()
I'm going through the Software skinning method as a learning exercise & I'm at the GenerateSkinnedMesh step, when I had to do this: meshContainer.MeshData.Mesh = newMesh What I'm finding out is that MDX calls Dispose() for the Mesh that's there before assigning the newMesh to it. 1) This is a problem because that Mesh is being kept around in the OriginalMesh property for later use & SHOULD NOT be Dispose'd of, and 2) Is there a way ...Show All
James Juno Passing two normals for a vertex to the vertex shader
I am having absolutely no luck with constructing my own vertex format and use it to store two normals for use in my shader. There are a number of flags which I can set to indicate various items such as position, normal, texture etc, but there is only one normal. How do I define that I want to use both normal and normal1 and for that matter normal5 I need to have a vertex which has a position and two normals. I tried storing one normal in a ...Show All
John Durrant Error in installing Pre-things...
Hello guys! After done some programming and felt myself as I COULD jump into another little subject without leaving Programming totally alone I came here to test the XNA Build... I had to install many things firstly... It didn't detact my two versions of Visual Studio Express C#/C++. This is the one that is given me errors: Microsoft Visual Studio 2005 Premier Partner Edition Installer As its installing... And I cannot see anyth ...Show All
Sarath25177 [MDX] Constrain cursor to fullscreen window?
First of all, I'm not at all sure that this is a DirectX question or a C# question. If it is misplaced please tell me so and I'll repost it elsewhere. But here goes: I have two monitors in dualview, that is: if I move my cursor to the right of my screen it pops up on the other screen. When I'm in windowed mode I would like this behaviour but in fullscreen I would like to constrain the cursor to the primary screen / the fullscreen application. I ...Show All
Steven I. [MDX 2.0.0.0] How to read pixel from back-buffer (or equiv.)?
Hi all, I've working on this issue for a while now but I just can't find any documentation covering it or a solution which works in Managed DirectX 2.0.0.0 (Feb06 SDK). I'm working in C#. I am using shaders to render a scene which I want to then use to compute a deformation to a mesh. The trouble is, I want to look up values from a computed texture in CPU but when a texture has Usage.RenderTarget I cannot have Usage.Dynamic ( ...Show All
