Answer Questions
Roberto Icardi Visual Studio C++ 2005 Express + Microsoft Platform SDK install
I have installed Visual Studio C++ 2005 Express, the Microsoft Platfom SDK and the DirectX SDK. I have also used the " Using Visual C++ 2005 Express with the Microsoft Platform SDK " guide to set directories etc. Include directories for both SDKs are added. When trying to compile any of the example files from the DirectX SDK the compiler is telling me that one of the include files could not be opened (Cannot open include file: 'd3d9.h'). Is th ...Show All
bradman Accessing API's in Visual C++ 2005 Express
I've just downloaded and installed Visual C++ 2005 Express, but having used Visual C++ 6.0 since the Dawn of Man, I'm having some real problems adjusting. Can someone please tell me a quick and straight forward way to access the Windows API (if you can) in Express I need to access this API so I can continue to develop my DX9 applications... But I'm having to read up on *** (in the help option) on Managed and Unmanaged code gobbledygook! ...Show All
SolidStrategies How to Mirror/Reflect/Flip a texture vertially?
Hi, I've previously developed a small .Net 1.1 application that converts from TGA and DDS files to the native texture files of a game (Dawn of War). The problem is that not everyone wants to then get additional plugins (or can't get plugins) to read the DDS files or convert them to TGAs for editing. Instead, I'm trying to use the DirectX SDK to convert between TGA and DDS (DXT1) without the need for an additional app. The general conversi ...Show All
Rashiel DirectDraw and Transparent Dialog boxes, flickering
I am using XP, VC++.NET 2003, and VideoLAN (activex) for streaming video. VideoLAN uses DD2 for most of the drawing, and seems to cause issues with a transparent dialog box sitting over it. It will flicker as VideoLAN (DD2) invalidates the region sitting on-top (the transparent dialog). Is this a problem becuase they use DD2 and not D3D9 Would converting their code to D3D9 stop the flickering I basically want to have an overlay plane that ...Show All
softer Convertion from LPD3DXBUFFER to LPD3DXEFFECT error! C++
Hi, i am trying to use a LPD3DXEFFECTCOMPILER to compile my effect but the CompileShader() function returns a LPD3DXBUFFER and when i try to convert it: pEffect = (LPD3DXEFFECT)pBuffer->GetBufferPointer(); the result is a invalid pointer( use pEffect causes error ), how i can convert the buffer correctly Key_46 wrote: Hi, i am trying to use a LPD3DXEFFECTCOMPILER to compile my effect but the CompileS ...Show All
RobertHernandez MDX Matrix.RotateX not doing what I expected...
I wrote this code: Matrix Test = Matrix.Identity; Test.RotateX( ( float )Math.PI/2.0f ); Test.RotateY( ( float )Math.PI/2.0f ); expecting it to rotate 90 degrees in X and then in Y. But the second rotate call (RotateY), simply replaces the matrix with a Y rotation. I expected it to post-catenate the Y rotation and createa compound rotation. Is this the intended use of RotateX etc. The help says that Matrix.RotateX "Rot ...Show All
XiaoFeng DirectX SDK not supported by windows 2000? What should I do?
I'm a totally beginer of DirectX. Yesterday I found some tutorials and downloaded the latest DirectX SDK, but it says "This version of the Microsoft DirectX SDK is not supported on this Operating System". Currently I use the Windows 2000 SP3 and Visual Studio .NET 2003. My computer is old and I wouldn't like to change an Operating System, is there any other way please I've tryed the DirectX SDK(A ...Show All
Ado_CiVoN HLSL question.
I'm just wondering why this pixel shader works fine... PS_OUTPUT RenderScenePS( VS_OUTPUT In, uniform bool bTexture ) { PS_OUTPUT Output; // Lookup mesh texture and modulate it with diffuse if ( bTexture ) { float4 meshRGB = tex2D (MeshTextureSampler, In.TextureUV); Output.RGBColor =meshRGB * In.Diffuse; } else Output.RGBColor = In.Diffuse; return Output; } ... but this one c ...Show All
Ram .Net Design Architect My thread on call interrupt is missing
Hi all I was asking a quering of how to handle the incomming call from my application/game that is, i want to pause the application/game state when a incoming call receives and want to resume after ending the call.Please let me know any one can help in this issue. Thanks and Regards Sinu.M I moved it to the Smart devices forum since you needed to know how to trap an incoming call. You sho ...Show All
The MATRIX Still using Visual C++ 6.0? Try Visual C++ Express Edition with DirectX!
This is just a short, friendly post to encourage all of you still using an 8 year old C++ compiler to consider using today's new release of Visual C++, including the free Visual C++ Express Edition! Why move away from Visual C++ 6.0 The list of improvements is extremely lengthy, even for the express edition, but here's a few key reasons for those of you writing DirectX-based software: 1) The latest SDKs no longer with with ...Show All
Morris LN GDI+ & Textures again
I've seen this appear before, but I just want to make sure there's no possible way to accomplish the combo in an efficient manner before I resort to external libraries such as Cairo or AGG. So - can I make the Graphics object draw to an arbitrary memory area where I just supply pixel format, width, stride and height Would it be possible by p/invoking the non-.NET version of GDI The reason is that I'm adding a "processing" (pro ...Show All
SHakeelGhauri77 Resizing D3D Window?
Hello I have a simple D3D app running in windowed mode. It simply renders a textured cube. However when I resize the window I have to reset the viewport, I think based on my experience in OGL. The default behaviour is not working properly, as it blurs the rendered cube and makes its edges very gaggy. Resetting the viewport upon resize does not solve the problem though. I have something like this: WM_SEIZE: // viewport width = cx / ...Show All
jsanthanam Debugging program that won't start
Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and t ...Show All
Jimc25 loading mesh like mesh viewer
is there a way and if so how can one load mesh files like the mesh viewer loads them, I took just for kicks the tiger sample and loaded a mesh that a friend made and it dident load right, rotates right off the screen, I dont really understand VC++ much to find my way through the mesh viwer code I am using C#, and help would be great. it was a mesh problem, something to do with the texturing of the meshes, thank ...Show All
coriordan Starting Game Development
I Have a Very Very Deadly Game StoryLine But i am extremely new to the programming. I have no idea about programming . I will be very gratefull if any body tell me how to begin, which language to learn and everything else. I have a great imagination and story writing power and my very sure my game will rock the world if could turn my imagination into a game. Hi, if you think that you rock at ...Show All
