Answer Questions
carlos medina [GDI+] ColorMatrixEffect
I am not sure where a GDI+ question is supposed to be posted, so feel free to move it if it should be somewhere else. But I read up on ColorMatrixEffect, and it says it is suppsed to do "Affine Transformations". http://msdn.microsoft.com/library/default.asp url=/library/en-us/gdicpp/GDIPlus/GDIPlusreference/classes/colormatrixeffect.asp Does that mean translating 3D points, or are they talking about some translation of colors An other thing ...Show All
JonasHei Overlapped IO and vertex/index buffers...
Is there any rule or reason why I shouldn't call Unlock on an index or vertex buffer from inside an IoCompletion routine (last paramater to ReadFileEx) At this point I get access violations if I do, but I'm not sure if this is because there's a rule about this (which I can't find anywhere in any documentation) or if I'm doing something else wrong... I've already tried D3DCREATE_MULTITHREADED and that didn't help at all. Phill ...Show All
Pellaeon backward compatability issues
Does any one out there agree that there is a need for a backward direcy x compatability program and if this will be added to windows vista,Id like to see a separate mode for the issues raised with direct x post you thoughts on this matter please,john... Backward compat interfaces are there, just like in the latest version. In the extremely rare case there is a breaking change, you will see it in the docs. ...Show All
aqhuj rear view mirror using stencil buffer
hi all, iam displaying a vehicle rear view mirror using stencil buffer. my problem is when iam displaying this its only showing the objects which are rendered lastly. can anyone help me . or am i using wrong principle by using stencil buffer ,because iam 30 days buddy for direct3d programming. any other solutions are also welcome bye have a bug fr ...Show All
Choccie_Mark Ok, I *MUST* be dumb!!!
How does one actually write an application using C# Hear me out. I'm using DirectX in my project. It worked just fine in the old VS with .NET 1.1. During construction I get an MDA exception about enumerating soundcards while holding the 'Loader Lock'. The MSDN tells me this is to do with what I try to do while the application is being started. This means code that is part of or a call from the Main method. Errrm... where else do I write code :-S ...Show All
Sean Allison How to work with camera?
I try to deal with .x format object after loading it from 3ds max I receive big object. How to make it smaller I understand that I have to move back the camera, but I don't know how to do it. Hi, you can use D3DXComputeBoundingSphere to compute the bounding sphere. Check the SDK examples for more info. Some c++ code: HRESULT hr; D3DXVECTOR3 vCenter; float fRadius; D3DXVECTOR3* pData; V( ...Show All
rafee Using index buffers
I want to draw cube. And I want specify only 8 vertices, and then specify their order in special array. As I know index buffers allow to do so. But I can't find example. Please, write example of using index buffers. I wrote following program: using System; using System.Windows.Forms; using System.Drawing; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; namespace ProgaX { class Forma : ...Show All
Mark Storen Cylindrically project 2d image
HI I want to project 2d flat image cylindrically on mesh object. E.g., on cat or Dog face. I am using managed directX Can anyone help me on this manner thnx Yes ZMAn, you are absolutely right....I want it on arbitrary mesh..plz let me know when u put your column on the web...thnx for ur reply Watch this space... http://msdn.microsoft.com/coding4fun/gamedevelopment/default.aspx The MSDOn folks decide when it goes live not me and the ...Show All
sebepsiz 2D Direct3D Sprite Rotation (such a basic problem :( )
Sup, ( sorry in advance for the poor written quality and the dumb n00bish question, I'm at work and not supposed to be onthe internet. There's a lot of quick alt-tabbing going down when the boss is about!! Gotta be quick) Right, I'm getting well annoyed with this; I have found various sites on the internet that describe how to succesfully use sprites in Managed D3D (and c#) and perform transforms on them... I just can't seem to get it ...Show All
the_lmich I cant Install Directx 9.0c December 2005 dsound.inf problem
When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error : "An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem." I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error and when I go to DXError.log and DirectX.log see this Problem with dsound.inf : -------------------- [01/05/06 01 ...Show All
bstrully how to create an 8 bit raw file?
Hi every one. Does anyone know how to create an 8 bit raw file from a bitmap The idea is to generate landscapes from those raw files and also to automatically generate the raw and then create the terrain. Thanks in advance. Cubaconn Yeah, its a pain but i know Adobe Photoshop/Elements does it. Elements can be purchased for about £80 ( USD $ 140) Instead of completely RAW format, I'd advise using the P ...Show All
Richard C Pass int array to the pixel shader
I want to pass an int array to the pixel shader. I used SetIntArray(name, val)..the problem is that in the shader I do not know the exact size of the array, therefore in declaring it i am trying to use an int *. It seems as if the compiler does not like this. Is is it possible to use pointers in the shader If not how can I pass a variable length array to the shader can someone give me an example of the usage of this function ...Show All
timlajaunie Creating mesh from VertexBuffer and IndexBuffer - got some problem
Hello In my code, I make a terrain from an image. After it is doone, I would like to save it like a Mesh. But there is some problem with my code and I always get some problem, when calling terrainMesh.SetData() with VertexBuffer and also with IndexBuffer. If somebody could help me, please. Here is the code: // Create the vertex- and indexbuffer and set their data vb = new VertexBuffer ( typeof ( Vertex ),numvertices,device, U ...Show All
Toni T Microsoft DirectX SDK (August 2005) Release
The August SDK Has been released. IRComm Post At the moment there is no referance on the developer Center, but I have transfered some information from the readme to the above post. DirectX Developer Center Direct Links DirectX 9.0 SDK Update - (August 2005) DirectX 9.0c Redistributable (August 2005) for Software Developers - Multilingual Mykre www.ircomm.net Managed DirectX and Game Programming Resources both of those links point ...Show All
ebdrup DirectX Extensions Problem for Visual Studio 2005
Hello, I have tried to find an answer for my problem for the past week, and I am not sure if this is the right thread for it. I have installed DirectX SDK April 2006 with the DirectX Extensions, and I am running VS2006. When I start VS2006 I don't see the DX extension icon on the intro Splash Screen, but I am able to see it in the About Box for VS2006. The problem is not that it is justnot loading - ...Show All
