124 Topics

Member Avatar for
Member Avatar for SHWOO

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. …

Member Avatar for Pavel_11
0
360
Member Avatar for Masood_786

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 …

0
127
Member Avatar for fareez

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 …

0
87
Member Avatar for Member #1096563

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 …

0
80
Member Avatar for codetoeternity

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 …

0
144
Member Avatar for Elixir42

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 …

Member Avatar for Elixir42
0
217
Member Avatar for n.cramp

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 …

0
116
Member Avatar for brand.lock

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. …

0
82
Member Avatar for IMagen

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?

0
60
Member Avatar for Anddos

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...

Member Avatar for Tcll
0
70
Member Avatar for DeeperShade

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 …

Member Avatar for DeeperShade
1
289
Member Avatar for tomtetlaw

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 …

0
76
Member Avatar for sasho648

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 …

0
142
Member Avatar for _Nemesis_

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 …

Member Avatar for Huston
0
202
Member Avatar for sharksaw40

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 …

0
171
Member Avatar for sasho648

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!

0
74
Member Avatar for sasho648

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 …

0
331
Member Avatar for Zvjezdan23

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 …

0
66
Member Avatar for Zvjezdan23

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, …

0
84
Member Avatar for hondros

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 …

Member Avatar for hondros
0
230
Member Avatar for ivan3510

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 …

0
107
Member Avatar for lexusdominus

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 …

Member Avatar for predator78
0
213
Member Avatar for Khoanyneosr

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 …

Member Avatar for Sodabread
0
302
Member Avatar for Khoanyneosr

[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 …

Member Avatar for Khoanyneosr
0
328
Member Avatar for Khoanyneosr

[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 …

Member Avatar for Khoanyneosr
0
297
Member Avatar for Khoanyneosr

[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 …

0
74
Member Avatar for vroshan96

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

Member Avatar for crunchie
0
155
Member Avatar for Xcelled194

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. …

Member Avatar for Xcelled194
0
164
Member Avatar for tomtetlaw

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 …

Member Avatar for chrjs
0
260
Member Avatar for ShadowScripter

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 …

Member Avatar for PsychoLogic
0
145
Member Avatar for Member #857390

d3dx9_42.dll error...when i try to enter to a game it gives an error...the game is mafia II...

Member Avatar for nishant2110
0
75
Member Avatar for louiscos77

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 …

Member Avatar for louiscos77
0
573
Member Avatar for Romil797

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!

0
68
Member Avatar for xtrmR

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.

Member Avatar for xtrmR
0
164
Member Avatar for El3et

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 …

Member Avatar for PsychoLogic
0
130
Member Avatar for xtrmR

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

0
67
Member Avatar for El3et

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.

Member Avatar for xtrmR
0
99
Member Avatar for shannon.archer

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 …

Member Avatar for shannon.archer
0
260
Member Avatar for Diamonddrake

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 …

0
95
Member Avatar for ShadowScripter

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 …

0
172
Member Avatar for linux

I downloaded a patch to install DirectX 9 under Wine, but where do I put the patch for it to work?

Member Avatar for email
0
692
Member Avatar for mattloto

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 …

Member Avatar for Ketsuekiame
0
318
Member Avatar for Pynolathgeen

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 …

0
84
Member Avatar for Mike911

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 …

Member Avatar for Mike911
0
232
Member Avatar for mrnobody

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 …

Member Avatar for CppBuilder2006
0
703
Member Avatar for Pynolathgeen

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 << …

Member Avatar for tetron
0
151
Member Avatar for JustSuds

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 …

Member Avatar for JustSuds
0
205
Member Avatar for ShadowScripter

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 …

Member Avatar for ShadowScripter
0
152
Member Avatar for Clawsy

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 …

Member Avatar for EuroK44
-1
245
Member Avatar for kirennian

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 …

0
65

The End.