NSIS script - download .NET framework, DirectX
Can a NSIS script download .NET and DirectX from microsoft, then install it? I don't want to include the installers in my installer because they are huge. ...
Can a NSIS script download .NET and DirectX from microsoft, then install it? I don't want to include the installers in my installer because they are huge. ...
DirectX SDK Febuary 2010 download page has information about new features, including improvements in PIX with support of compute shaders analysis: PIX has much-improved support for analysis of programs that use Direct3D 11 features, including compute shaders, tessellation, and dynamic shader class linkage. I was interested...
I've seen a lot of games use something similar to a .DAT file or a specific file type that the game has for itself. I'm just beginning with C++ and DirectX and I was interested in keeping my information in something similar to a .DAT. My initial conception was that it would hold information on the files you wanted to store within the .D...
Say I have a SlimDX based game editor. I have a DeviceContext instance which basically controls all states of the device, handles lost device, creates it, etc. The editor does not always have a view-port open where rendering is taking place. Instead it contains various editors, a scene editor, texture viewer/editor, animation editor, ma...
Well, I'm trying to avoid using the deprecated DirectInput. But I need, at each "frame" or "iteration" of the game to snatch ALL KEY STATES so that I can act accordingly. For example, if the player is down on the VK_RIGHT key then he will move just a smidgen right on that frame. The problem with WM_INPUT messages is they can appear an...
When we develop web pages we can broadly work out which browsers to support based on market share. When we develop in .NET we can broadly work out which .NET version to develop for based on which Windows versions have it installed. But when developing OpenGL or Direct3D applications, how do we know which video cards people (I mean "peo...
I'm looking for something that can generate primitives (e.g. rounded rectangles for dialog boxes etc) so I can load them into a DirectX textured Sprite. Functionality is like SPriG. ...
How do I change the thickness of lines when drawing line lists using Direct3D? This post says that line width is not supported and goes on to provide a workaround. Other options? While we are on this topic, do shaders allow one to draw lines with dash patterns? ...
In Direct3D10 the Stencil Read/Write mask is a byte (from 0x00 to 0xFF) In Direct3D9 the Stencil Read/Write mask is a int (from 0x00000000 to 0xFFFFFFFF) The question is : How the stencil read/write mask in Direct3D10 relate to the Direct3D9 one? Direct3D10 | 0x00FFFFFF or Direct3D10 | 0xFFFFFF00 ? And another question : Why the Di...
First off, I'm programming a game. Currently in the render function there are two calls to two different functions. One renders some text, one renders sprites. On my computer (AMD Phenom(tm) II X4 955 Processor (4 CPUs), ~3.2GHz, 4096MB RAM DDR2, NVIDIA GeForce GTX 285) I have a render speed of ~2200 FPS when rendering around 200 sprite...
DirectInput requires a lot of initialization functions and cetera to detect keyboard input, so what benefits are there to using it rather than the GetAsyncKeyState() function? ...
I'm starting to use DXUTgui in my project, but only the text of the controls are showing up. I suppose it's because the DXUT isn't able to find the media files for the graphical elements. I wasn't able to find references for this in the DXUT sources. My guess is the contents of <DirectX SDK>\Samples\Media\UI are the required files. I've...
Hi there I am currently developing a little application with a highly-dynamic GUI which needs a lot of refreshing and drawing. To archive this, I am using managed DirectX. I successfully painted a little string in a specific font to specific coordinates, but I have no idea on how I could rotate the drawn text... Any ideas? Thanks! ...
Given the 8 corners of a camera's view frustum and the desired view direction of a light source (defined as a vector), what is a good way to calculate the view projection matrix of a light so that it encloses the camera's entire frustum? The purpose of this is to have a light that dynamically updates position so that the shadow map it pr...
I have a little problem. I've recently created an algorithm to allow thick lines to be drawed onscreen (as a quad structure), the problem is that when the line is very long and diagonal the aliasing is very high, making the line look very bad. What are my chance to reduce the aliasing while trying to have high performance? I'm using (as...
Im trying to write up a 3DS Loader, which has an OpenGL rendering implementation for use in my generic rendering system. The problem here is I have vertices indexed to one array, and texture coordinates indexed to another. I dont want to generate a new set of indexes and original vertices by checking each vertexes combination of coordin...
I am trying to enable AA in a D3D9 application, but am not sure how to set up the surfaces correctly. So far, I have: IDirect3DDevice9* m_pd3dDevice; IDirect3DSurface9* screen; IDirect3DSurface9* msaasurf; D3DPRESENT_PARAMETERS m_presentationParameters; Initialization: m_presentationParameters.Windowed = TRUE; m_presentationParameter...
Hi, Im experimenting with the DirectSound library in C# and i would like to know how can i sample a wave file from the SecondaryBuffer, or how can i do this process? thanks ...
How would I implement loading a texture to be used as a specular map for a piece of geometry and rendering it in Directx9 using C++? Are there any tutorials or basic examples I can refer to? ...
I'm interested in texture streaming in DirectX but google seems unhelpful. Maybe I just don't know the right questions to ask, can anyone point me on where to begin reading to learn about impleneting texture streaming? ...