Answer Questions
Krighton DX GUI library
Is there any developed GUI libraries, based on ManagedDirectX version, is it reasonable to do own one, and possibly to sell it, I mean UI that will be used inside D3D applications Is the CustomUI Direct3D sample designed to be a fully-functional set of GUI classes for use in a game, or is it designed merely to be an example of how you might create your own I noticed that the classes are defined in the Microsoft.Samples.* namespace, ...Show All
Wassim DirectX with C# Windows.Forms controls performance
Hello, could use a bit of general advice. I’m working on a C# program with Managed DirectX visualization. The main program window is divided into the visualization part and some generic controls from System.Windows.Forms for input – text boxes, drop down combos, grids and the like. The DirectX visualization is quite complex so the typical frame rate is quite low especially on lower-end machines. My problem is that input becomes very sluggish and ...Show All
Chavdar Angelov 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
KanishK 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
Feng2000 Direct3D in Office
Does anyone know the reason an automation error would arise when I try to use the following code The automation error is generated when I try to set the oD3DVertex object. I'm trying to declare this in the form module and everything works except for the vertex buffer. I also tried alternating between the DxVBLibA library and the DirectX 7 and 8 Reference libraries, but neither seem to work. Private oDX As New DxVBLibA.DirectX8 Private oD3D As Dx ...Show All
thuja Build background out of multiple bitmaps
I'm using MDX+VB and am trying to build the background map of a simple overhead game. I'm using tiles, though the map doesn't scroll, so I can make custom maps out of ascii files. I'm using the Sprite class and the Draw2D function. I am completely clueless on how to copy two bitmaps (just two tiles for now) into one texture. The methods I see for creating textures don't seem to have destination rectangles, so I could get one bitmap loaded, bu ...Show All
NathanP Mathmatical funtions in hard- or software?
A funktion like Vector3.TransformCoordinate, is it running on GPU or CPU If it is CPU, is there a way to batch a number of calculations and send them to the graphics hardware for calculation Is it even worth the time to send data over the bus, calculate and read it back Everything that is not inside a shader (or a fixed GPU function) will be calculated on the CPU. If your calculation is complex enough an ...Show All
3TP LLC A Good Game Tutorial
Hi, i’m new here, and i was hopping if you can give some links to tutorials about how to program games. Where can I find one I would like to make my own games, so i asked you for help, Thanks. It all depends on what language and technology you would like to use. If you go along the managed directx path I would have a look at www.thezbuffer.com as the zman has a good collection of resources and tutorials to ...Show All
Neil Harper IntelliSense with October DirectX SDK
Hi. I'm still using Visual C++ 6.0 (still the best imo) and I've just installed the October DirectX SDK and for some reason the IntelliSense doesn't work with ANYTHING from DirectX. Can anyone suggest how I can get it working Thanks in advance. I don't know about the first question, but I have read ( although I haven't personally used it myself ) that the mechanism(s) for adding directories (lib/include/etc.. ...Show All
Anders Ljusberg Need UV Atlas help
I'm very interested in learning how to use the new UVAtlas class on the most basic level. The DX documentation talks about all the steps of usage on an abstract level, but I need an explicit step-by-step example (I am very dense). Can anyone help out Any examples would be appreciated. But specifically I'm looking to do something as simple as taking the "tiny.x" sample and generating a new UVAtlas for it. Thanks much! ...Show All
Jupek directx error
i know c++ pretty well and i got started into directx. im using dev-c++ for it and when i compile the following code i get a: invalid conversion from `void*' to `HINSTANCE__*' error. wat does this mean and how do i fix it other people got the code to work so wat did i leave out heres code: #include <d3d8.h> LPDIRECT3D8 g_pD3D = NULL; LPDIRECT3DDEVICE8 g_pD3DDevice = NULL; HRESULT InitialiseD3D(H ...Show All
5216 vmr9.h
I'm trying to view a video in my game but get this error. My friend tried the same code, but generated no error, my SDK is aug 2005 his SDK is dec 2004. Please help d:\-=Source=-\DirectX\CruS\When Angels Fall\Game.h(7) : fatal error C1083: Cannot open include file: 'vmr9.h': No such file or directory If vmr9.h is part of directshow, directshow was moved to the platform SDK, I think after the Feb2005 DX SDK. actually, after e ...Show All
Rodpheus 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
Glenn Burkins Using Hardware with DirectX
This is a bit of a sticky one and I don't know how this happened. I recently upgraded my DirectX SDK to the Dec 2005 release. Prior to this the samples and other applicatons that I have compiled ran very fast and were using my hardwares capabilities. I have a 64MB NVIDIA GeForce2 MX. After the upgrade the samples want to switch into Reference. And of course everything runs slow. I have search all around the web and other forums for similar pr ...Show All
csenthil Running MDX games on other computers
I've been working on and MDX game for a couple of months in Visual Studio 2005 express; now I'm trying to run it on other computers and it doesn't work. Of the 4 computers I've tried it on, only 1 successfully ran it. The others get a file not found exception that seems to be for a DLL, but when I put a try/catch around the application initialization (this is based on the sample framework) and found the exception, it conveniently failed to inclu ...Show All
