Answer Questions
raceirolg missing type specifier
hello i have recently bought a book on producing games with directX. and when i compile some of the code in the later part of the book i keep on getting this error when building. Compiling... Core_Graphics.cpp c:\program files\microsoft directx sdk (february 2006)\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800 c:\documents and settings\derek\desktop\programming\bookcode\gamecore\core_system ...Show All
Marianor Good source (s) to learn Direct X (c++)
Hi, I have begun programming with DirectX and C++ for a while now (not a very long while =)) I've read the 6 tutorials that comes with the SDK and understand them quite well, but where do I go from here Most interesting info I find about DirectX programming for newbies is in managed, but, since I already can programme nicely with C++ (console and windows) I think that would be some kind of a step back, dunno why really... but is there any ...Show All
Veena B N samples from directx SDK fails
I am trying to build the sample code which came with directx sdk, hopefully this is the right place to ask for help. When I build the sample code from "SimpleSample", I get alot of linker errors: ------ Build started: Project: SimpleSample, Configuration: Debug Win32 ------ Compiling... dxstdafx.cpp Compiling... DXUT.cpp DXUTenum.cpp DXUTgui.cpp DXUTRes.cpp DXUTmisc.cpp DXUTSettingsDlg.cpp SimpleSample.cpp Generating Code... Compiling ...Show All
sam_dlg MDX CLR2.0 Release Date
Can anybody offer any information regarding the possible MDX9 (CLR2.0 compatible) release date (a +/- two month precision would be more than satisfactory). Thank you. Sandman Questions about betas should be asked in the beta newsgroups or forums. See http://msdn.com/directx/beta for more information. Its more likely to be answered in there than in here. The last time I a ...Show All
mkassa I am going into development of games(help needed)
Hi there all, I am a programmer for Windows 32bit and now due to a new project issued by a friend of mine, i had to go into Game Development. The following are a few questions that i am going to ask so that i understand more about Developing games. 1) What programming language am i going to use 2) What IDE environment will I be using 3) How will the graphics be supported Tips and tricks welcome too. ...Show All
PhilWilson How to flip screen/desktop or a directx window up side down
Dear all, Is there a simple way to flip the screen/desktop vertically or horizontally By flip I mean mirror image, not rotation. If full screen flip is not possible, is there are simple way to flip the contents (3D graphics. images, text, etc) of a directx windows vertically or horizontally Thank you so much Many thanks Jack. In fact i'm working on a system a bit like an arcade shooting game. To create an illusion of a far aw ...Show All
WimV Realy simple tutorial.
Hello I'm looking for a tutorial that shows the most simple DX-program ever, just how to create a simple plane/box/polygon. I've looked everywhere but all i can find is "create your own battletank game", "your own flightsimulator" etc etc. I'm using J# but there is almost no tutorials for that so i have to use C#-tutorials and convert them but that takes alot of time, specialy if the tutorials has mixed in some piece of flightsimulator code in i ...Show All
Alex2004 Passing two normals for a vertex to the vertex shader
I am having absolutely no luck with constructing my own vertex format and use it to store two normals for use in my shader. There are a number of flags which I can set to indicate various items such as position, normal, texture etc, but there is only one normal. How do I define that I want to use both normal and normal1 and for that matter normal5 I need to have a vertex which has a position and two normals. I tried storing one normal in a ...Show All
Chordless 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
Alberto Pardo Spectrum Analyzer for Real time Audio.
I have a directX application which reads real time audio from a sound card (mic) and calculates FFT for it. Frequency of sound per .5 second. I need to create a spectrum Analyzer kind of component. Any way I could do this using DirectX (Direct 3D maybe). I am not looking for 3rd party component. --Yatharth If you have WIndows Vista, you can run the GPUSpectrogram sample found in the DirectX SDK Sample Browser. Even if you aren' ...Show All
jhall .X files
How do i make a .X file and a .FX file what program Thanks every one werwin wrote: How do i make a .X file and a .FX file what program You can also use a program like DelEd, Gamespace, Milkshape, Lightwave, etc... If you are looking to create .X files by hand, you can read the documentati ...Show All
Todd Wilder Graphics Engine Design
I am looking for material on designing a graphics engine. The main purpose of the engine will be tech demo development and function as shader playground. To start with I have some ideas about decoupling materials and shaders. I would like to have the flexibility that an object can have multiple materials. One part could be a diffuse surface with phong illumination, another part of the same object could be a bump mapped rusty surface w ...Show All
ejgarci Is it reasonable to build cos/sin/acos/asin func textures? (HLSL)
I'm just wondering if it is reasonable to build function textures for the cos/sin/acos/asin in a HLSL shader. Or is it quicker to use the respective HLSL functions Nico I have one doubt : "asin and acos aren't directly supported in shader assembly." If I am developing a vertex shader using the assembly instructions 2.x, how do I implement asin, acos etc using the available instructions Do I nee ...Show All
Barry.Kelly Why does my window go blank after a resize?
Just as a quick test too see if I understood how directX initialization works attempted to creat a new DX window using windows forms from scratch. But I have a problem... Can anyone explain to me why the triangles rendered in the following code disappear permanently when ever i resize the window I have comparable code that doesn't disappear when I resize but after hours of comparing I just can't see why one code works and this one doesn't. ...Show All
TTKoshi Error in effect file
I am using c for my directx programming. I am getting some errors in my effects file. I know this because when I try to create effect from file I ge an error. I do not know how to find exactly what is wrong with the effects file. Is there a way to print out these messages or get a direct compilation message There are three ways: 1. Depending on which function you're calling, you should be able to get back a LPD3DXBUFFER ...Show All
