Answer Questions
jforgan [MDX] Constrain cursor to fullscreen window?
First of all, I'm not at all sure that this is a DirectX question or a C# question. If it is misplaced please tell me so and I'll repost it elsewhere. But here goes: I have two monitors in dualview, that is: if I move my cursor to the right of my screen it pops up on the other screen. When I'm in windowed mode I would like this behaviour but in fullscreen I would like to constrain the cursor to the primary screen / the fullscreen application. I ...Show All
Srinivas N Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the f ...Show All
BlizzGuy Image Formats acceptable for DirectX textures
Hi All I am new to DirectX but have quite a bit of experience with VS including 2003 and now 2005. I use VB.Net primarily but do some bits with C#. I am trying to render objects designed for Microsoft Flight Sim in managed DirectX. These seem to be a special format being extended bit maps with a .bmp extension and using DXT1 or similar compression. I am using the latest SDK but I'm not sure if I am using the latest DLLs (I noticed ...Show All
Vampier Books on XBox 360 and XBox Live Development for eLearning?
Hello, I'm sorry to be such a noob, but if you have children, please consider offering me some assistance. I'm studying what it would take to put a SCORM compliant Learning Management System like Moodle ( http://moodle.org ) on XBox Live with the goal of offering downloadable eLearning that would lead to "Achievements" in things like basic math, geography, and other academic topics, in an entertaining manner. Before I get sta ...Show All
CULE_Developer Positioning a sprite.
This is my first real directX attempt, and it doesn't seem to be going too well. Here's my "render" method, that gets continually called. (C#) device.Clear(ClearFlags.Target, System.Drawing.Color.Blue, 1.0f, 0); device.BeginScene(); Bitmap grass = new Bitmap("c:\\gras ...Show All
Louis315 draw sprite doesn't work when inside VS (executable works fine)
This may be a known issue, but I haven't been able to find it anywhere... and I'm a good googler =o)... I have this code (directly taken from Microsoft) to draw a simple sprite: public Device device=null; public Microsoft.DirectX.Direct3D.Spr ite sprite=null; public Texture tex=null; public void InitGraphics() { PresentParameters p=new PresentParameters(); p.SwapEffect=SwapEffect.Discar d; p.Windowed=true; device=new Device(0, DeviceType. ...Show All
mdx buggy Mesh black
Hi All, I need help with a black mesh. In the scene, If i see inside the mesh, i see the materials, but outside is black. What happend Thank at all. Sorry for my english. Try changing your culling direction - if you have counterclockwise cahnge to clockwise. Otherwise put a screenshot somewhere - its easier to guess what is wrong from a screen shot. If you can see it from both the inside ...Show All
pfdeveloper CreateDevice.cs(13)
I'm trying to compile example projects that came with DirectX SDK 9.0 and I get this error: CreateDevice.cs(13): The type or namespace name 'DirectX' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference ) The only reference I found to this error was from 2003 and did not help me. I also downloaded the 9.0b development runtime for directx. Do I need to move files to fix this or is there an update I should do ...Show All
dcab Compile time error with DirectInput
I'm not sure what's wrong, but I went through the DirectInput tutorials on the MS docs, I recieve this error... also, in the additional dependencies, I included d3d9.lib, dinput.lib and dinput8.lib. Compiling... winmain.cpp Linking... winmain.obj : error LNK2001: unresolved external symbol _GUID_SysKeyboard winmain.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A dinput.lib(dilib2.obj) : error LNK2001: u ...Show All
Rozan DirectX9 Multi Screen Apps losing focus
Hi, I'm trying to create a multi-screen ( 2, 3, 4 screens ) application with a couple strange parameters. Different screens may have to run at different resolutions, and may be placed anywhere ( above, below, left right ) in relation to the primary display. Right now my software works in windowed mode, I have no problems setting up multiple windows at different resolutions with different DX Devices. When I try to run my app in full sc ...Show All
msnath d3dxcreatetext & unicows ?
Hi, I cannot get d3dxcreatetext to work with unicode strings on Windows 98. If I try to create text with unicode characters d3dxcreatetext fails Is it possible at all Maybe some additional steps are necessary to make it work (I am using unicows) thanks in advance, Cube kubad wrote: I cannot get d3dxcreatetext to work with unicode strings on Windows 98. If I try to create text with unic ...Show All
richardjjs Rendering anti-aliased smooth text
Hello, I searched for a way to render an anti-aliased smooth ( and with a ClearType) text, But I didn't find . I want also to add a shadow to the font Thanks, Mustafa ELBanna Hello, First, Thanks for replying. Secondly, I already know this sample. But I don't see that it provides me antialiased text. Thanks, Mustafa ELBanna ...Show All
TheBouff Transparent textures again
Hi, I'm bringing the transparent issue once again to this forum, mainly because after of doing a lot of google searches, forum searches, etc, I still can't get transparency to work. I've created a png file that has transparency. I know it is correct, because I've opened it with the D3d texture viewer, and I can see the alpha channel. I've created a simple object and assigned the texture to it in 3ds max. I've loaded the object but the transpare ...Show All
Mick Beeby Getting the depth buffer's content
Hi, I have a GeForce 7800 GTX 512 based card and was surprized to find out that the driver for it states ( in the caps ) that there is no support for D3DFMT_D16_LOCKABLE . I want to get the content of the depth buffer - How can I do that Thanks' In Advance : Lior Canetti . Unfortunately you can’t do this with nVidia hardware. What do you want to do with the depth values Maybe there is another way to reach your aim. ...Show All
dragonroll Compiling Valve's Source SDK
From http://www.microsoft.com/presspass/press/2005/aug05/08-31valvecpluspluspr.mspx : “Visual C++ 2005 Express Edition is a great, low-cost tool that opens the door for the mod community to leverage a robust version of that same development environment in the creation of its Source-based games.” Any news about when the doors will open exactly Specifically, I have been unable to compile the latest source sdk using VS2k5 RTM. When can we excep ...Show All
