Answer Questions
Stovesy C# Object Scripting
I'm wondering if anyone can help me with a scripting question. I'm trying to make a scripting system for a game engine. This scripting system has to load scripts so I can create objects and it also has to update the script if they edit the script while the game is running. That’s the problem. I know how to load the scripts and make the objects, but I don't see a good way of letting the designers edit the scripts while the game is going. Because ...Show All
onesubasa .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
Schnard Creating a HBITMAP from a LPD3DXBUFFER
Creating a HBITMAP from a LPD3DXBUFFER First of all is this possible Below is my current code with the annotated space where this transformation is required. HBITMAP MyClass::ScreenGrab() { //RenderTargetSurface. IDirect3DSurface9* pRenderTargetSurface = NULL; //DestinationTargetSurface IDirect3DSurface9* pDestinationTargetSurface = NULL; //DisplayMode D3DDI ...Show All
osfa MDX Suggestion for Microsoft
As a developer, I would like to see Managed DirectX on the web. Without high security issues, Managed DirectX can act like a high-end multimedia tool for user-controls especially on ASP.NET. Is there a need I can think of a few. Java had Java3D, JOGL (opengl for Java), etc. that could be used as games online and the such. A fine example is Runescape at the following url of screenshots: http://www.runescape.com/screenshots/screenshots.ws Si ...Show All
BobSpeaking 3D game tools
I want to create a simple flying game using DX and C#, what are some of the tools people here use to place objects into world space(to get the coords), my idea is to use a manager I created to manage my resources then once I find a good tool to use to get world coords I will create a class that will tie into my rendering loop that will grid out my world for rendering. thanks for any help or Ideas You would have ...Show All
Shaun Mulligan D3DX10.h math errors
okay i can get a dx10 window open, which doesnt require the use of d3dx10.h as soon as i attempt to use the effect system, i need d3dx10.h, so when i include this file it get build errors. Im using the june 06 sdk, with vista beta 2. build results : Compiling... DX10Texture.cpp DX10RenderFactory.cpp c:\program files (x86)\microsoft directx sdk (june 2006)\include\D3DX10math.inl(1 ...Show All
Sebastien P DirectX SDK not supported by windows 2000? What should I do?
I'm a totally beginer of DirectX. Yesterday I found some tutorials and downloaded the latest DirectX SDK, but it says "This version of the Microsoft DirectX SDK is not supported on this Operating System". Currently I use the Windows 2000 SP3 and Visual Studio .NET 2003. My computer is old and I wouldn't like to change an Operating System, is there any other way please The .exe installer that you ...Show All
Ibheri Can I use PixelShaders with Sprites
Hello, First, We can I use pixel shaders with sprites Second, Is Sprites fast enough to not drawing with a conventional way (Holding the vertices in vertex buffer and then apply a texture to them and use the pixel shader as regular) I want to know which one is faster Thanks, Mustafa ELBanna ...Show All
sudkot Direct3D View Matrix: porting problem from OpenGL
Hi, I am porting an application from OpenGL to Direct3D. OpenGL does not have a View Matrix and a World Matrix as Direct3D, but just what is called the ModelView matrix. I have the following lines of code in OpenGL: Code: glMatrixMode(GL_MODELVIEW); //Work on the ModelView matrix glLoadIdentity(); //Clear everything glLoadMatrixd(myModelViewMatrix); //Load my ModelView matrix Now I would like to port this to Direct3 ...Show All
DarthVic Pixel shader Texture problem
I try to access the texture coordinate in my Pixel Shader My Input Structure read the Texture without problem so this In.TextureUV is a correct float2 value But I want to get the U and V coordinate so I can draw my own output color Is there a way to access this U coordinate And how... //-------------------------------------------------------------------------------------- // Pixel shader output structure //------------- ...Show All
Shaolin13 Texture simply duplicates the first pixel
This is a noob question, but I wasn't sure if it belonged in the beginners or graphics forums. I'm learning DirectX and trying to get textures figured out, but when I load my texture, it just duplicates the first pixel over my entire surface. To let you know in advance, I am using the most recent SDK and Visual Studio 2005 standard edition. Here is my code. "graphics" the first parameter, is the name of my Direct3d device: ...Show All
doakwolf 'culture demo from GDC2006
@ the Microsoft booth last week, GDC 2006, a small cellular automata game called 'culture was on display. It was described as "a visually stimulating 3D floral simulation of cellular automata." This was apparently a promotional project to show how fast a C++ programmer could learn C# and the XNA framework and produce something visually interesting. I found this small XNA application to be a beautiful interactive toy, and would enjoy ha ...Show All
Kirill Gavrylyuk XACT on Win2000 ???
I tried installing the latest DirectX with XACT & discovered that it will not work with W2k. Is there any way to get just XACT on a W2k platform TNX Ken KC7RAD Oh Well :-) Upgrade time, I guess... TNX! Just to close the loop. I talked to the XACT team about this. The XACT runtime components will only work on Windows XP and higher. Windows 2000 and below are not supported. KenLindner wrote: > I tri ...Show All
Bruce L-C MVP managed C++ IDirect3DTexture9 undeclared identifier
This is really weird. In the docs, it says the interface IDirect3DTexture9 is found in the assembly Microsoft.DirectX.AudioVideoPlayback.dll. The namespace is Microsoft.DirectX.PrivateImplementationDetails. The weird part is that I cannot work with this interface from a C++/CLI project. Trying the same thing within a C# project works however! What's wrong Thanks in advance, Cosmin. P.S. I use VS2005. I need this for an application which p ...Show All
OSM MDX, where do I put the symbol files?
Sorry for the newbie question, but where do I put the Symbol files I am using April 2006 release, VS2003, MDX, x86. Thank you. Well I didn't have that directory, but after a little hunting I discovered that its a separate download. http://www.microsoft.com/downloads/details.aspx familyid=562D72FC-61C8-41A3-8BFF-509466F3D6AA I always assumed these were for C++ only but you are correct that there are symbols for the managed assemblies ...Show All
