Answer Questions
swart Move a Mesh
Newbie Question here, How does one move a mesh around in a 3d space The only thing I can seem to do is move the camera around it. I have my mesh loaded up and everything, I just want to know how to change its x,y, and z coordinates. Thank you! class World { private Device _device; private _transform1, _transform2; public World( Device device ) { _device = device; _transform1 = Matrix.Tr ...Show All
Daniel Petrik Game Physics
Can someone explain or point me to an article somewhere on the appropriate algorithms for this I want to make an air hockey game. I'm not sure how to do the collision response between the puck and the paddle. Any help would be appreciated. I'm no physics programmer, but you might well want to drop by the GameDev.net physics articles section. Supported by their Maths & Physics forum (see the for ...Show All
Michael Dyrnaes Dramatic memory leak in DrawText
I've been banging my head against the wall for the last few days trying to track down the source of a rather big memory leak in my Direct3D-application. Turns out the culprit seems to be the DrawText function. Let me explain exactly what happens: I'm using a variable width truetype font (Times New Roman) created through D3DXCreateFont. I'm using this in various parts of my application, but the part where the problems are easiest to notice is ...Show All
Przemo2 converting mouse 2d to 3d space problem
hello guys , sorry for reposting the same question . iam unable to get 3d co - ordinates here is my code case WM_LBUTTONDOWN : GetMousepos(&point); Device->GetTransform(D3DTS_VIEW ,&viewM); Device->GetTransform(D3DTS_PROJECTION,&projM); D3DXMatrixInverse(&InverseProjM , NULL,&projM); D3DXMatrixInverse(&InverseViewM,NULL,&viewM); later i dont know ...Show All
matthewYoungblood Simple example for February 2006?
Hi, I just installed the February 2006 version of the SDK (I'm using .net 2.0) and I find the examples to be a bit overwhelming for a beginner. I'm experimenting with the first two: EmptyProject and EnhancedMesh From the EmptyProject I see that the framework is an awsome tool but the problem is that so many things are hidden. So I was wondering if anyone has an example build on the dx framework(EmptyProject) of presenting a simple m ...Show All
e-Musty .XWB file format
Hi, I need access to the WAV bits. I don't see a runtime interface to access this, so I was thinking I could extract them from the .xwb file. Now the problem is the file format. I see the .xap file format is listed in the docs, but nothing on .xwb. How can I obtain access to the raw WAV bits in XACT Regards. I ran into a problem where I had the incorrect byte-order for the WAVEBANKMINIWAVEFORMAT. format th ...Show All
JohnLx DirectX Sample Browser Oct2005 SCRIPTING sample PROBLEMS!!!
Hi. I'm trying to compile the scripting sample project. First of all VS2005 complains that it cant find any of the .h files i went through to program files and copied all the Directx SDK .h files into my common folder for the project, now it can see them but errors on fatal error LNK1104: cannot open file 'dxerr9.lib'. I assume it doesnt know where to look for the file. Can anyone help Thanks /dxstdafx.h / #define DXUT_AUTOLIB to ...Show All
Sri Harsha Velicheti Render Targets, Video Memory, and Pixel Shaders
Hello, I have just been thinking about the whole rasterization process and a question came up. It seems to be from the information I have researched that Pixel Processing can only be done in hardware. Customizable pixel processing which is what you do when you write a pixel shader in HLSL, most obviously has to be done in hardware. However, if I use the fixed function pipeline, does this mean that the pixel pipeline is implemented in hardware ...Show All
Maik Wiege Offtopic posts will be deleted immediately without warning
See this link for more information: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=208999&SiteID=1 ...Show All
joshcsmith13 December 2005 DirectX SDK now available
The Windows Graphics and Gaming Technology Team is proud to announce the latest version of the DirectX SDK, available for immediate download! The latest SDK, as always, can be found at http://msdn.com/directx/sdk . So what's new Well, some of the really cool additions and updates are: - Direct3D 10 Technology Preview: That's not a typo. If you have Windows Vista, you'll be thrilled to get your hands on thi ...Show All
Michael Rich can i coding the rumble pack by using directX
hi, i wish to use the 'rumble pack' to give the force feedback effect for the player..... i just wondering the 'rumble pack' is it can program by DirectX..... The link below are some rumble pack..... can anyone told me which rumble pack can program by DirectX... http://games.idealo.com/2048R148K4-Game-Hardware-Nintendo-64-Rumble-Packs.html Thank you :P This side lists rumble packs for the Nintendo64. As the use an own interface yo ...Show All
tyou_aki Torque Game Engine
After some carefull thought, I have decided to develop a game using C++ with an existing open source engine. Torque ( http://www.garagegames.com/products/1 ) was one reccomended option, and I was just wondering what everyone else thinks about it. Is it DirectX or what Torque is an OpenGL engine (although there's a DirectX hack for it -- but it's not stable). Torque Shader Engine is their new DirectX ...Show All
B.A. Schupp Animating a leg
hi all, I'm trying to create a simple animation of a leg. The leg would be made out of two parts and each part would be a mesh (could be just Mesh.Cylinder). I know how this should work in principle but when I have to calculate the matrices all goes wrong... Here's my idea: Given the angles of rotation for both parts rotate and position the upper part (which will maybe be someday connected to a torso) then rotate the lower part and c ...Show All
Klemenp Managed DirectX, C# & and large textures
I have a very simple 3D world which consists of a sphere which is meant to represent the Earth. While a single texture file, like the ones which come with the DirectX SDK are good for when the whole world is being viewed, it is no good viewing it up close. Is there any way to have multiple texture files relating to specific points on a sphere, so that if for example I have a more detailed image of New Zealand, I can overlay that portion of the s ...Show All
StacyJ Error w/ HLSL .fx Shader on Device.Lost
Hey guys, I am an indi. developer and I am working on a big project that needs some assistance. I have tested my application that I have built and the engine I am writing for it and came across a nasty error. My engine works off of different elements that are displayed in my SceneManager class... examples.... fxImage, fxText, fxFont to be rendered upon the screen. Right now I am trying to cover all the aspects of Device. ...Show All
