Answer Questions
GalenC Vertex Declaration with Fixed Function pipeline
Thanks for replying, I really do this but it doesn't works: struct CUSTOMVERTEX { FLOAT x, y, z; D3DCOLOR color; }; D3DVERTEXELEMENT9 decl[] = { { 0, 0, D3DDECLTYPE_FLOAT3, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_POSITION, 0 }, { 0, 12, D3DDECLTYPE_D3DCOLOR, D3DDECLMETHOD_DEFAULT, D3DDECLUSAGE_COLOR, 0 }, D3DDECL_END() }; g_pd3dDevice->CreateVertexDeclaration(decl,&g_pVertexDecl); g_pd3dDevice->CreateVertex ...Show All
Looob download sdk
where can i download the directX sdk I've looked all over the Microsoft site and all i can find are updates. This is really fusterating thanks. I'm new to game dev. In order to simplify things, you can always visit http://msdn.com/directx/sdk and it will point you to the most-recent SDK. In the future, you should use the full-qualified URL like Daniel used, as it it guaranteed to be an obsolete URL within ...Show All
ZebSoft Smaller Sample / Shared Source
Would it be possible to have a much smaller example of how to use XNA. While I can appreciate that MechCommander 2 is a full title that was fairly successful, making it a good 'working' example. The sheer size of it makes it a little too much to all take in at once. Could do with a smaller example that more shows off what XNA is capable of, and how to actually make use of this. Have you checked out the tutoria ...Show All
krwoolf marking questions as answerd
If possible, I'd prefer to mark my questions as answered myself. I now had it a few times that my question was marked as answered by somebody, even if I had not read the answer! When I read it I can see if everything is clear to me, then I can mark it as answered. Thanks! Best regards Nico Thanks! I understand your points. And of course you are right when you say I can unmark "answered" questi ...Show All
wantedNooby Why to use DirectX?
Why would I use DirectX What's that "something" in it, which makes it better than others I know that it's very useful and so on, but can someone tell me what is its strength. I'm thinking should I begin to practise DirectX. Thanks, Timo Speed. Also, it's the industry standard. But, most people find the COM interface structures a little intimidating at first. Thank you Glenn! I've read about 2D tile s ...Show All
beatriz_da About Meshes
Hello all, My brother and I are working at creating a game using DirectX 9. He does the coding and I create the graphics. He tells me that we will need specific *.x mesh files for the game. Without having to spend too much money on huge programs like 3DS Max and Poser are there any other programs out there that you could recommend for us. We're looking to create humanoid, animal and everyday objects (Homes, vehiecles, etc) for this game. Also ca ...Show All
dmsmsdn rendering meshes
hi! i've made a mesh picture_1: http://toomaniac.com/kopi/blender/object_mode _solid .gif even on actually flat faces there are a lot of triangles i.e. many different faces picture_2: http://toomaniac.com/kopi/blender/edit_mode.gif when i view the mesh in the meshview - that one that comes with the sdk - it looks like that picture_3: http://toomaniac.com/kopi/blender/directx.gif and when i load the mesh to my device it looks ...Show All
pax Making Background for a 3D game
Hello guys, I'm making a 3D game...well with a static CAMERA view...it would be in SPACE...and there's no movement on Z buffer, though its 3D. But I would like to ask you for some suggestions how I should implement background stuff into this. Well, presently I am doing it like: I create a mesh(QUAD) in 3ds max and implement it into game as a sprite and set its Z position so it is further than other objects. But the problem is that I ...Show All
John Lagonikas C# 2.0, GDI+ images & opacity
And don't know if this post belongs to this forum, but i'll ask anyway... I'm making a small game as a test with GDI+ (C# 2.0). I had this question: is there an easy way to draw an Image object to Graphics with different opacity I don't mean the transparency key thing, but the whole image should be half visible, and trasparency color of course not visible at all. I managed to alter the opacity of the image with getpixel and setpixel, but I'd li ...Show All
ArthurNicholson Specular reflections aren't working right
I'm having a problem with specular reflection. It flickers as I move around my object. Sometimes when I'm looking at a face, and I swivel the camera just a few degrees, I get specular reflection. When I swivel a few more, the reflection is gone - leading to the flicker. But specular reflection is only based on the position of the camera, not the direction it's lookin ...Show All
amitsingh colorvalue in progressive mesh sample
Hi, new to DirectX in C#, not in C++. In the August 2005 DirectX sdk update, there is a sample in C# called "Progressive Mesh". When I compile this sample, I get 36 errors, all of which are type or namespace missing errors. Here's an example. 'ColorValue', which is supposed to be of the Microsoft.DirectX.Direct3D namespace simple does not appear to be there. MSDN says it's part of the namespace, auto-complete does not.&nb ...Show All
derekjohn37 sprite movment problem
the app im writing is client/server based now in the main scene you can fly around in ships see other clients also flying around, now when you shoot a object it takes the camera lookat point and the camera position and sends those cords to the server, server sends the position ans direction to all clients then the client caculate the movment. now my problem is anytime a object is shot it moves the position of any sprites in the scene, im u ...Show All
eriawan multichannel audio
Hi there, I'm wondering if it is possible to program a soundcard with e.g. 5.1 option as if it had 6 mono channels. I already tried faking it with directsound3D but with no success... I wan't to be able to play a sound on e.g. channel 1 and 5 (frontleft and backright) but not on the other channels. If this is not possible using directx anyone got an idea on what else to use I think this must be possible ONE way... Thanks in advance, Pat ...Show All
Riekey Setting up Visual C++.net 2003 for DirectX Games
Hello! How do I Set up Visual C++.net 2003 for DirectX Games programming. I have just up graded from Visual C++ 6, I know how to do this in Visual C++ 6, with linker and # includes, is it the same with Visual C++.net 2003 standard. If so a step by step would be helpful. Thanks. Thanks for the reply cgraus do you mean that I don't have to tell the linker where the directX libs are ...Show All
PedroMCN C# Create device from dot net class library
Introduction: Been using C# for a short while, +- 3 months. Just started looking at DirectX using C#. Been using Delphi and OpenGL for a couple of years and and off. Error Message: LoaderLock was detected Message: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3D\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.Direct3D.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or im ...Show All
