Answer Questions
Dhawal55 Move Console code to Window - opengl
I have some old code that uses the console to get parameters (printf and scanf types) and changes the operations in an OPENGL window. GlutKeyboardFunc is used once focus is transfered to the GL window. Previous to the focus change, input is to the Console.. Is there a quick way to move the Console portion into a Window and to bypass the Console usage as it is now Is there a dummy Console routine that could run in a Window Thanks ...Show All
Praveenkmenon Using Text
I found that it would be really useful if I could get the pixel length of any string in DX that I want to display (I'm using 2D) so I can keep it withing bounds of a textbox for example. Does anybody know a way of doing this If not, does anybody know another way to achieve the scrolling in a textbox Ya I guess I'll try to switch to the DX 9 and .NET Well, I think the ...Show All
Uri S. 3D map
kinda hard to explain but what I want to do is place meshes about 200 of them I guess it would be in world space then each time a player moves the camera with point to there current location, what is the best way to get the cords for the mesh not all 200 need to be shown on the screen at one time just maybe 30 -40 tops, im just kinda at a loss on how to figure this out any help would be great thanks &nb ...Show All
alipunk XNA needs visual studio 2005?
I am working with Dark Basic Professional and want to check out XNA. I have visual studio.net I can't find if XNA will work with VS.NET or if I will be forced to upgrade to VS 2005. Knowing Microsoft they will use XNA to drive sales of every new version of visual studio that gets released. So will XNA work with visual studio.net Sorry if I sound bitter about all the new version of visual C. I don't have a lot of money and I keep hitting ro ...Show All
TayyaSelby 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
JND Reading a Vertexbuffer from a Mesh
This has been driving me nuts. It's so simple... but not working. I have written to vertex buffers before, no problem. But, for some reason, I can't read an existing one from a mesh. Keep in mind, I have recently upgraded to the newest version of Managed DirectX. Perhaps something has changed I would like to dump vertex buffer into an array so I can get the locations of all the vertices. (Eventually, I ...Show All
flougr Performance problem with Texture.FromBitmap
I reduced program boot time (when running from within the IDE) from 12 seconds to less than 1 second by re-writing Texture.FromBitmap using unsafe code. For me it was easy because I'm only using 32 bit textures and 32 bit bitmaps. It would be nice to see this function optimized in future releases of the SDK. BTW, Texture.FromStream has the same problem. -Jeremy I bet you $5 mine is faster :) ...Show All
tizzdale27 Water animation
Hi all, I wonder how i can create a simple water effect, just with a bump en reflactionmap (cubemap) or something. But i my graphicscard had vs_1_1 and ps_1_3 (Geforge 4, 4200 TI). Is it possible to create an x file or something like that for directx. My math and experience with directx is not that good enough to understand documents of nvidia. Is there somebody who can help me Watershader in games like Half-life 2 runs perfect on my system... ...Show All
JLG DX SDK 9.0 cutted edition :)
Correct me if I wrong, but, as I understand, to compile DX VC project I only need DX proper version installed and contets of "Includes", "libs" directories. And if it is true, is there anyway to get the contents of this directories except illegaly from other users I will pass this suggestion to the SDK team. It's not likely we will separate the DirectX "native" code from the managed code, for a variety of reasons, but going primari ...Show All
Crowny Duplicate Item "Resources" parameter error
I have a partial class in two files that inherit from a form. I changed a property on the form in both Form Designer Files and now keep getting this error message: The item "obj\Debug\Game.App.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. Can anyone help I only changed the FormBorderStyle and already changed it back, but ke ...Show All
Ibai Peña .NET 2.0 application template
Hi! How to create an application template like the one presented here: http://msdn.microsoft.com/coding4fun/weekend/apptemplate/default.aspx , but for .NET 2.0 I'm new to the whole .NET thing and it's quite confusing for me. I tried to follow the steps in the tutorial mentioned above and just changed reference to Microsoft.DirectX (which should i use: "version 2.0.900.0 runtime 2.0" or "version 2.0.0.0 runtime 2.0.50727" ), but should i also us ...Show All
Alazel Acheson 3D Shapes with C#
I am working o a c# application which needs to draw Solid Blocks, Spheres and Cylinders in 3D just like a CAD Program. Basically, I want to draw something like this: http://www.orbisnap.com/vrtdesc/matlab.jpg What 3D engine do you recommend for doing this Also, what software do you recommend for making 3D Shapes Thanks a bunch. Jess I'll entertain you with the same answer I s ...Show All
Johnfegkmx36k Can be DirectX 10 support Windows XP?
Windows XP32, XP64,ME,98,NT and 2003 Directx 10 support there are old system Thanks u very much......... I am Chinese, From China. There is no DirectX 10. I am sure you mean Direct 3D 10 instead. Direct3D 10 needs a WDDM driver to work and WDDM drivers will be only supported on Windows Vista. Because of this there will be no Direct3D 10 for any old system. ...Show All
Amol Rajimwale loading mesh like mesh viewer
is there a way and if so how can one load mesh files like the mesh viewer loads them, I took just for kicks the tiger sample and loaded a mesh that a friend made and it dident load right, rotates right off the screen, I dont really understand VC++ much to find my way through the mesh viwer code I am using C#, and help would be great. public void Painthome(Start start,Device device, double appTim ...Show All
Aaron West MDX(apr2006) tutorials?
Hello all, I was wondering if anyone knew any good C# + MDX tutorials for a beginner. There are plenty of them out there but all of them seem to use an earlier version of DX9 than the april 2006 release. I had purchased a book (by Tom Miller) that seemed promising but I couldn't compile any of his code because of relatively big syntax changes. Should I just give up trying to use the newest release and go back to the summer 2003* release to actua ...Show All
