124 Topics
Hi, I am trying to get a cat walking back and forth between the screen using a left and right tileset of bitmaps. Also, I am supposed to be able to control two caveman sprites that appear to walk left and right as you press the left and right keys. …
Hi All, **I have Gadmei UTV-382 USB Tv Tuner Card with XCEIV 4100 analog tuner, with cable Tv and Antenna(local Tv) support, no FM and no availability of I/Q samples**. In Directx GraphEdit i was able to run the device but on its default settings. **I want to dump the …
Dear all I used codeblock to make a machine and now I need to capture the screen, I tried the GDI and DirectX examples in this site : http://www.codeproject.com/Articles/505 ... the-screen but codeblock gave errors , I think I do not know how to use them , please tell me …
hi, i use wmp control to obtain sound. in normal (without dx) application runs fine. few months ago i made vb6 program with dx and everythin was ok with sound. now running this soft i hear buzzing, scratching noise. what could happen? (wpm control gives noise only in program with …
hello dear people. i plan to develop a game. replicating jetpack joyride. i wanna use c++ as primary language. i think i have two options. 1 is directx and other is cryengine (correct me if there are other c++ options) . at current i dont have knowledge of either directx …
Hi, Im using DX9c and learning from Frank Luna's book to try and handle OnLostDevice and OnResetDevice, when switching to fullscreen and back (and alt+tabbing). If I dont draw anything I am able to go from windowed to fullscreen, and back, with no trouble. But adding a draw and flush …
I am looking to develop a small development library that will enable me to speed-up construction of architectural and environmental visualisations (landscapes, cities etc). Super Graphical realism is NOT the priority, but i would like what i do to be relatively future-proof (i know how fast things change in the …
First off thanks for looking at this I have looked all over (both here and on the net) and tried several things trying to get this to work. I am using Visual Studio 2012 with DirectX (June 2010) SDK. I am attempting to write a fuctuin for sprite colission detection. …
Those are my first steps in the directx world. I would like to create a sphere and put a picture on it where should I start from?
I would like to know how a .x file is animating the model , is it either with bones or frames?, is there anyway tell learn by opening the file in notepad or something?, thanks in advance...
Ok, first post. Ive tried to avoid asking for help when i've had problems before and usually managed to solve things on my own but on this, i'm just going round in circles. I'm trying to teach myself basic directx9 and so far I made a program that takes a …
How do I make the coordinate system in DirectX 11 relative to the top left of the screen? I've setup an orthographic projection matrix, so that I can use screen coordinates but it makes more sense to me to have a top left origin, since I come from working with …
How this function works? What is the LPCVOID pSrcData. I pass this function with char* string with a one of D3DFORMAT Format and size the size of string. What I'm doing wrong. Here's my code - it gives an error from the function call: void Gmx::ExtrTextur(unsigned long ptrMap) { unsigned …
Hey Guys, I've come across a strange problem in DirectX 10 that I would really appreciate some help with: When trying to render ID3DX10Mesh objects that use a particular input layout, the vertex data seems to alter slightly before the object is passed to the vertex shader. I have been …
I am learning directx from [URL="http://www.directxtutorial.com"]directxtutorial.com[/URL] and when I have compiled one of the samples and run it then close it I get an error message saying "Unhandled exception at 0x010a1883 in test.exe: 0xC0000005: Access violation reading location 0x00000000.". What does this mean? I have checked that I have typed …
Please move this thread: [url]http://www.daniweb.com/software-development/cpp/threads/408693[/url] . See it I really need to know how to rotate the camera. Please!
I want to make a mouse controlled camera the problem is that i want to rotate over the space not the current object but I don't know how to calculate the changes on view transformation. Here is the code example: [CODE] D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3 (0.0f, 0.0f, CurCamRot.z), // the camera position …
This is code for generating a blank window for direct X. When I build this code i get the errors.. 'Chapter1_DirectXWindow.exe': Loaded 'C:\WINDOWS\System32\uxtheme.dll', Cannot find or open the PDB file The program '[2536] Chapter1_DirectXWindow.exe: Native' has exited with code -1 (0xffffffff). The code is successful. Can someone please check it …
This is code for building a white window in direct X. The problem is, when I debug, I get this error. 'Chapter1_DirectXWindow.exe': Loaded 'C:\WINDOWS\System32\uxtheme.dll', Cannot find or open the PDB file The program '[2536] Chapter1_DirectXWindow.exe: Native' has exited with code -1 (0xffffffff). [CODE]#include <Windows.h> LRESULT CALLBACK WndProc(HWND hwnd, UINT message, …
I posted a while back ago on making directx work in classes. I'm having more issues now. On line 125 (system.cpp), when in debugging, it tells me that it has an access violation. I googled the issue, and someone had said something about initializing the pointer, but that is taken …
Hi! Can somebody help me? I want to add text, but I can't. I saw some examples, but when I wrote them in my code, it returns error. Here's the code (Win32, directX, c++): [CODE] #include <Windows.h> #include <WindowsX.h> #include <d3d9.h> #include "D:\\Program Files\\Microsoft DirectX SDK (June 2010)\\Include\\d3dx9.h" //I don't …
Hey, so im making this game, and at the moment im using PlaySound() which is a function of windows.h to play my sound files. Ive got a problem though, i now want to be able to play more than one sound at the same time, and only now do i …
I know alot of you are gonna get mad that i started a thread on directX books when clearly at the top there already is a thread on direct X books, but this is different. I need books on Vector Algebra and Matrix Math/Algebra. I'm learning DirectX9/10 and i have …
[CODE]/* Beginning Game Programming, Third Edition Chapter 3 Direc3D_Windowed program */ #include <windows.h> #include <d3d9.h> #include <time.h> #include <iostream> using namespace std; #pragma comment(lib,"d3d9.lib") #pragma comment(lib,"d3d9.lib") //program settings const string APPTITLE = "Direct3D_Windowed"; const int SCREENW = 1024; const int SCREENH = 768; //Direct3D objects LPDIRECT3D9 d3d = NULL; LPDIRECT3DDEVICE9 …
[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …
[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …
i have DirectX 9.0C installed in my comp but still i get a prompt that i need to install DirctX 9.0C when i try playing NFS MostWanted can anyone help me please
Hi guys, I'm making a program that will display the actual balance output of a sound. It's going to be used with a game that uses 3D sound. What I want to do is have the application monitor audio output from the system -- it can use the Stereo Mix. …
I've been following Chad Vernon's (very good) Direct X 9 tutorial [[URL="http://www.chadvernon.com/blog/resources/directx9/loading-a-static-mesh-x-format/"]http://www.chadvernon.com/blog/resources/directx9/loading-a-static-mesh-x-format/[/URL]]. I am stuck at one point because I'm trying to load a .x model, I have it set up so it will output errors if something goes wrong but nothing appears, I've setup breakpoints and looked at return …
hi, I'm a bit confused as to how my graphics engine actually loads a model file. Currently I'm using .x files, because that's what I was taught. But I haven't asked the most important question, how do my graphics engine actually load a model file? Using DirectX and the correspondent …
d3dx9_42.dll error...when i try to enter to a game it gives an error...the game is mafia II...
Hi guys, I'm planning to make a car game & for that I'll use Microsoft Visual C++ 2010 for programming, directX 10 for the graphics, & Nvidia PhysX engine for the physics. The problem is that I can't find any tutorial of directX and Nvidia PhysX, I only find of …
Hi there! I am using Visual Studios Express 2008, and I created a Windows Forms / DirectX / System.IO application. Whenever I publish it, my users have to download the .NET Framework and DirectX. Is there any way I can take those DLLs and include them in my project? Help!
Whatever directX program i run gives this error. I am seriously getting pissed by this error. Cant find in which line too. Somebody please help me out.
Hi, beginner to directX following a tutorial to set up a simple window. nothing fancy just the window. Two errors. [CODE] error C2065: 'wndHandle' : undeclared identifier error C2065: 'WndProc' : undeclared identifier [/CODE] These errors are present in [QUOTE]InitWindow.cpp[/QUOTE] Heres my code [B]WinMain[/B] [CODE] /****************************************************************** * This is the …
Hi, Can someone tell me about geometry shaders in directX 10 ? I read many in internet, but not clear enough. I know Vertex & pixel shader, but this one is not clear. Thanks in advance. xtrmR
Having the following message when trying to run my DirectX10 application. A screen shot of the message is attached. Would appreciate help with this and just before someone asks yes I have DirectX10 installed. Sorry if this is the wrong place to post this thread. Thanks.
Hey I've just started using C# and wanted to start employing DirectX as well however before I can start all the tutorials I go to say I have to add a reference to the library. Now I've installed and reinstalled the June 2010 DirectX SDK a few times but the …
I am working on an application that is all about its interface. I want a very remote control accessible media browsing application. The Browsing is done. but playing video keeps getting complicated. using DirectX is no problem, using the managed direct X video object works. But looks bad, doesn't preserve …
Hi, Yesterday when I was testing my game out, written from scratch, my DirectX debugger suddenly started spewing out this error code after a couple of runs of the program. Now, this error appears just a couple of seconds after the program goes fullscreen and starts rendering some graphics and …
I downloaded a patch to install DirectX 9 under Wine, but where do I put the patch for it to work?
I am interested in using DirectX to make games. I'm using MinGW, which is a windows command line port of GCC. How would I get it so that DirectX 10 is included in the files? It probably is in the headers, but I don't know which to include because most …
Hello, I'm programming an little MMORPG for getting experience in Game Programming. I need a 2D Camera thing for this game to expand it a lot, since an MMORPG is not only on the same map. I know the trick of just moving everything to the left or the right …
I need to prevent my window from going minimized to tray when I click the Minimize-Button. I write in native C++ with additional use of DX10, DXGI, Direct2D and DirectWrite. I proceed the WM_WINDOWPOSCHANGING. But how did I know if its triggered from a Minimize-Button ( WM_SIZE is already too …
Hi, I'm doing a program to capture from USB camera. And to do the program, I need directshow which can be found in directX sdk. I read that the new versions of directx are not compatable with VC++ 6.0. Does anybody know where I can get an old version which …
My program keeps crashing when not in debugging mode. So now i'm debugging manually, or well, log everything to find where it is crashing [code=C++] Oldproc = (PROC)SetWindowLong(Childs[1], GWL_WNDPROC, (DWORD)EditProc); cout << "Oldproc\n"; SetFocus(MainWnd); cout << "SetFocus() Done\n"; cout << "DIRECTX:\n"; DirectX = new DIRECTX(); // Creating DirectX cout << …
I couldnt decide whether to put this question here (as I'm programming with DirectX) or in the C++ section. I seem to only get this error occasionally. I understand the [URL="http://msdn.microsoft.com/en-us/library/799kze2z%28VS.80%29.aspx"]MSDN examples[/URL], and how they work. But I'm wondering if anyone can give a more human explanation? See, this only …
Hey, it seems when I try to draw textures using the Z value in the D3DXVECTOR, it doesn't affect the drawing outcome. For example, I draw a red ball, then a blue ball on top of the red ball, where the red ball has a depth value of 0.1f and …
Hello, I just started reading and learning DirectX SDK's tutorials in order to develop skills for game programming. I don't know COM very well (i just start learning it). I read lights, materials, mesh and BasicHLSL DirectX9 tutorials (line by line). I know C++ and math (not VERY good math …
I'm currently looking for the original location of the files associated with this basic framework. The problem is, as part of an older project I have them already but without any reference to their initial location; thus, I'd risk plagarism without properly referencing them in future works. These are the …
The End.