Answer Questions
Kenny M. Where is DirectX going?
I read somewhere *cof* http://www.managed-world.com/SoonDirectXDirect3DNothingElse.aspx *cof* that Microsoft is deprecating a large part of DirectX (DirectInput, DirectSound) he then hints about learning Shaders http://www.managed-world.com/AdviceLearnShadersNow.aspx so the question is, should I not bother to learn DirectInput, DirectSound, etc... what should I be learning if I want to develop DirectX applications in the future is DirectX ...Show All
fly_eye THANX
Hi everyone, i'm making my arcade 2d engine using d3d9 sprites, particles ditto. I have a problem with creating the device. First of all i tried all the ways i knew to make the hWnd handler which i guess is the problem. Any ways here's my code for creating the device. /* dx9.pD3D is basically our d3d object d3dpp is presentation parameters and dx9.pd3dDevice is our d3ddevice object.*/ if( FAILED( dx9.pD3D->CreateDevice(D3DADAPTER_DEFAULT, D3 ...Show All
William the Armadillo Shadow maps
Hi I'm looking for some information about texture shadow maps. I've looked in goole for a sample, but i can't find one. The ones I found, or are incomplete or too complex (because they involved other more complex concepts, like soft shadows). The sample about Shadow Maps in the DX SDK run soooooooo slowly that it is very hard to properly study it (I think that's because it is meant for DX 10). What I'm realy looking, is a sample code as simple a ...Show All
MarkishintheAM Texture simply duplicates the first pixel
This is a noob question, but I wasn't sure if it belonged in the beginners or graphics forums. I'm learning DirectX and trying to get textures figured out, but when I load my texture, it just duplicates the first pixel over my entire surface. To let you know in advance, I am using the most recent SDK and Visual Studio 2005 standard edition. Here is my code. "graphics" the first parameter, is the name of my Direct3d device: ...Show All
nadogmoney Error in installing Pre-things...
Hello guys! After done some programming and felt myself as I COULD jump into another little subject without leaving Programming totally alone I came here to test the XNA Build... I had to install many things firstly... It didn't detact my two versions of Visual Studio Express C#/C++. This is the one that is given me errors: Microsoft Visual Studio 2005 Premier Partner Edition Installer As its installing... And I cannot see anyth ...Show All
George Hatoun HLSL: receiving a handle to a struct
Hi! I'm having trouble receiving a handle to a structure in a hlsl file. This is the structure: struct VS_SIMPLE_INPUT { float4 pos : POSITION; float3 normal : NORMAL; }; And I try to receive the handle like this: pEffect->GetParameterByName( NULL, "VS_SIMPLE_INPUT" ); It doesn't work, I get a NULL ptr. Can anybody help me Are you by any chance usin ...Show All
E. J. Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Nice suggestions, thanks! The multiplication of the tex coords with 2 just uniformly scales the texture, there is no clamping. ...Show All
Regis Brid October 2005 DirectX SDK is available!
The DirectXR Team is pleased to announce the release of the DirectX 9.0 SDK October 2005 Update! The October Update includes the first public release of the XInput SDK. This SDK will allow game developers to fully support Xbox 360 Controller for Windows. To download or learn more about this release please visit http://msdn.com/directx/sdk . Features added in the October 2005 DirectX SDK update - XInput XInput is an API that ...Show All
BlackMan890 Directx 10 names clarification
With my copy of Vista downloading, and my .Net 2.0 projects ramping up, I'm running into a wall trying to figure out these code names of the graphics subsystems. Do I have these right 6. -> AERO = managed app framework 5. Avalon -> Presentaion Foundation = XAML 4. Directx 10 -> Graphics Foundation = 3d Pipeline 3. Win32 -> WinFX = dot net framework 2. HAL -> new driver layer 1. Longhorn -> Vista ...Show All
Gordon Duff 2d DirectX?
Can someone point me to a simple 2D game engine that is run by DirectX. A simple one would be good. I dont need or know how to use all of the advanced programing. what i really want is to make a game like "robowar" or "darwinbots".. Oh. On the side... is it posible to graphics rendered by VB's managed backbuffer/render code that are about as fast DirectX if all i want is a 2D view Thanks Look at the "Si ...Show All
David Banister Why is this winnt.h error
hi everyone, i am just trying to learn directx and studying from a book which uses directx8.1sdk. thus i installed that old version instead of sdk9. when i do not use d3d8.h there is no error. but when i use it and add it to the project's additional include directories list, i get errors like "c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'& ...Show All
swart screensaver resource puzzle
I recently tried my hand at creating a screensaver using C++ and unmanged D3D. Its very simple by just by loading up a hard coded .x file and rotates it. I then then thought since I know a little about 3d studio max sdk that so I can try and make a screen saver generator plugin. * I thought I had overcome the difficult part in writing the code that extracts all the mesh information from the 3ds max scene and write it to a x file, my pre built ...Show All
Mark Doughty MC2 GameOS?
Hi, On a cursory look, it seems that the "GameOS" lib contains a good deal of core logic, including some rendering logic. Is it possible to get more source in this lib (still excepting the network code, of course). I originally wanted to update the renderer to utilize shaders via DX9, but the initial browse makes me think this isn't doable. Thanks, Brian I'm currently porting the relevant parts (not ...Show All
hrlevy DirectX 9.0 SDK November 2005?
hello everyone, is it possible if i could know when will The DirectX Team release the DirectX SDK for november 2005 Thank You Thank's a lot for your answers, I'll check the Debug Runtime... Pretty much no sample work on the new SDK, the bubble sample for example but even the 3D text example... (I may not be the very last SDK, but at least it's one with DirectX 9c) So I program in the Summer 2004 SDK... Som ...Show All
Mystikef No texture coordinates for Mesh.Sphere, box etc?
I am trying to use a mesh from Mesh.Sphere, but odly enough I can not make it generate texture coordinates. Sure, I could calculate them myself, but can it really be true that I have to do that My vertices in the mesh is always PositionNormal No you can't But see http://msdn.microsoft.com/coding4fun/zman/default.aspx for samples on how to do it (for managed code) ...Show All
