Answer Questions
rs2005man World translation differences between DrawSubset(...) and DrawPrimitive(...)?
Using C++ and Direct X 9 i have now boxes, sphere and cylinders ect using the functions provided in the Shape Drawing Functions list e.g. HRESULT D3DXCreateBox( LPDIRECT3DDEVICE9 pDevice , FLOAT Width , FLOAT Height , FLOAT Depth , LPD3DXMESH * ppMesh , ...Show All
Large Only square textures?
I just found out that, when converting from a bitmap to a texture, directX appears to stretch the bitmap into a square. This is a problem, because if I don't want my external images getting stretched out of shape when they're rendered to the screen, I have to add "empty space" to the bitmap files so that the bitmap is a square. But I've been determining the size of an object on the screen based on the original bitmap that was loa ...Show All
Aw Ali EEk! Color distortion!?
Hi, Im writting a game in Direct3D and im learning as I go... Everythings been going fine untill I changed something, I really cant track down what! Now everything renders in a dark red or black color despite all the code for my vertex format and anything else I am using to specify color remaining unchanged! I know this is not a 'forgot to disable lighting' issue because i've checked that already and besides, things arnt just black like y ...Show All
WylieECoyote DirectX 9.0 SDK November 2005?
hello everyone, is it possible if i could know when will The DirectX Team release the DirectX SDK for november 2005 Thank You So I program in the Summer 2004 SDK... As the name suggests, that's pretty old (there have been 6 updates since then!). I can't remember exactly what state the SDK was in back then, but it may well be that it wasn't as good at checking hardware requirements (and/or reporting ...Show All
rgabel DirectInput - Mouse
I set up my mouse device and aquire data but then I when I use device.CurrentMouseState to get the current cursor position and the pressed buttons I get strange coordinates. So I changed from relative to absolute coordinates using device.Properties.AxisModeAbsolute = true; but even those coordinates did not give me the coordinates that I thought they should so I switched back to relative coordinates and tried the following I set the initial wind ...Show All
Richard D Line Point Sprite are displayed at the correct place
Hi, I'm using point sprites in a 2D engine, based on some tutorials. It works quite well, but point sprites are not centered on (X, Y), instead of that, (X, Y) is the lower-right corner. The code is something like: result = lpDirect3DDevice9->SetFVF( D3DFVF_PARTICLEVERTEX ); result = lpDirect3DDevice9->SetRenderState(D3DRS_POINTSPRITEENABLE, TRUE ); result = lpDirect3DDevice9->SetRenderState(D3DRS_POINTSCALEENABLE, FALSE ); result = ...Show All
John Arlen Texture simply duplicates the first pixel
This is a noob question, but I wasn't sure if it belonged in the beginners or graphics forums. I'm learning DirectX and trying to get textures figured out, but when I load my texture, it just duplicates the first pixel over my entire surface. To let you know in advance, I am using the most recent SDK and Visual Studio 2005 standard edition. Here is my code. "graphics" the first parameter, is the name of my Direct3d device: ...Show All
ridergroov Game development webcasts
The mechcommander webcasts were great, and gave some good insight into how games are developed. Are we going to see more source and webcast series on other microsoft games I'm glad you enjoyed the webcasts! I'm sure at some point Microsoft will be presenting some more game development focused webcasts(Although I'm not sure on what products). If you haven't already check out http://www.microsoft.com/events/seri ...Show All
Exore Cloth simulation through physics
Hi, Are there any SDKs that enables animation of cloth like dresses, skirts, hair etc Or any samples on how to implement it (I know it's not an easy task). Thanks! Hmm...I can't say I found many SDKs offering cloth simulation. I forgot to mention that I need real-time simulation, not some plugin for Maya or 3DS.. Thanks again! You can find an example of ...Show All
Altaff Problems with Sprite.Draw2D & October SDK
Hi, I replaced my Direct3DX reference (1.0.2906.0) with the latest version included in the October SDK (1.0.2908.0). However, when I now compile, my code fails with "Overload resolution failed because no accessible 'Draw2D' can be called with these arguments:" Sprite.Draw2D(Texture, Rectangle, Rectange, Point, Color) The "dxreadme.htm" states that the D3DX dll is unchanged from the August version. So what is this 1.0.2908 I have gone back ...Show All
jimmsl Multiply alpha from texture and vertexcolor
I can't find a way to use both my texture's alpha information, and also apply a alpha blend "on top" of that. Texture alpha is no problem, I just use SourceBlend = Blend.SourceAlpha; DestinationBlend = Blend.InvSourceAlpha; but I also want to "dim" the output arbitrarily. First I was hoping that I could set the alpha value of the material's diffuse or ambient properties, or maybe use RenderState.BlendFactor, but that doesn't seem ...Show All
tenchyz XNA Release
So this is the tech preview. If I love it (I'm not even through the presentation yet, but like what I see) then when can expect to be able to use it in a production environment I've taken on responsibilty for setting up the build environment for the studio I work for, and want to be able to tell my boss when this solution will be available for production environments. Or this not released information ...Show All
meedietoo DirectX9 Multi Screen Apps losing focus
Hi, I'm trying to create a multi-screen ( 2, 3, 4 screens ) application with a couple strange parameters. Different screens may have to run at different resolutions, and may be placed anywhere ( above, below, left right ) in relation to the primary display. Right now my software works in windowed mode, I have no problems setting up multiple windows at different resolutions with different DX Devices. When I try to run my app in full sc ...Show All
Daticus Maya plugin not working
I just installed the april '06 sdk and have tried running maya. The plugin is there, but I get an error that says Direct X extensions for maya - error loading dxcc: dxcc.dll not found I browsed all the SDK plugin information and could not find this. After looking on the forums for a while it seems that no one has really had the problem either. Where is dxcc.dll and where do I put it so maya will recognize it ...Show All
ansilb Directsound Latency
What is the lowest latency I can get through Directsound. I need to capture sound, edit it, and output as quickly as possible. Is it possible to do this with a latency of less than 15ms (I know the editting part has plenty of time). I know this isn't a game question, but I appreciate the help. Thanks ...Show All
