Answer Questions
ThomasFreudenberg dxwebsetup wierdness - deployment with app
Hi, sorry to post this in this forum, I am unsure where to post it. OK here is the thing. I have a deployment problem. I am creating a setup with my app, created in VS 2005 Pro, using C#(.NET 2.0) This app of mine requires DirectX runtime end user files, or the SDK but really the runtime files. Now, during installation, I bundled in the dxwebsetup.exe. This executes fine. 2 main problems here already: 1 ...Show All
Odelya Error ding when all is well
Hi all, I've built an application on top of the EmptyProject sample in the SDK. The application exits cleanly, but for some reason it raises and error sound. If I close the app with the close button on the window, the sample framework gives me a messagebox indicating that "The device has a non-zero reference count, meaning that some objects were not released," yet when I exit using the the GUI I've developed (which simply calls a funct ...Show All
LittleRascal DirectX 9 in visual basic 2005
Hello all, I am an experinced user of Visual Basic 2005 Express Edition, but am failing terribly when trying to apply DirectX, Direct3D and other techniques. Does anyone know where I can find directx tutorials that have visual basic code examples I would really like ot learn. I have tried literally hundreds of c++ tutorials and they never compile, whether the creater of the source says it works or not. ...Show All
Faizal directx9 lib error
hi all i have problems with directx9 lib's. i have started programing with directx8 and now directx9. the problem is that when i am trying to use directsound i get errors like: Sound.obj : error LNK2001: unresolved external symbol _IID_IMediaPosition Sound.obj : error LNK2001: unresolved external symbol _IID_IMediaControl Sound.obj : error LNK2001: unresolved external symbol _CLSID_FilterGraph Sound.obj : error LNK2001: unresolved external symb ...Show All
Dwight Kulkarni 3D tutorial using C#
Hi Any one can send the appropriate url for a 3D tutorial using C# With Regards Sinu.M and if those are not enough http://www.thezbuffer.com/categories/tutorials.aspx http://www.mdxinfo.com/ has tutorials on using MDX (the managed version of DirectX) with C#. Cheers....... Thanks a lot .. :) ...Show All
gsutphin11 Texture map to 3d head model
Hi I want to map the 2D human face image as a texture on 3d head model in managed DirectX. Can Anyone help me on this problem I have already tried TextureLoader.FromFile(...) Method but it didnt work. This method put some dark shade on 3d model and nothing else. I want to map the image from file on 3d head model. How this would be done thnx What you are looking for requir ...Show All
ehab ghabour question about framework camera
how can you use the camera.FrameMove(elapsedTime) with out a effects file, im using for all my view, world and projection matrix just the basic setup for it device.Transform.World = Matrix....ect.... but I would really like to have the option of using the FrameMove function that the ModelViewerCamera has. anyone have any ideas on how I can use this... If you have a look at the simple2d example in the SDK it us ...Show All
Rahul Virli DirectInput best practice
Hi everyone, Im working on a game and I want to add control. (Don't worry, everything is coded for how control will work with game object) I was thinking about a Thread based systeme to handle input from keyboard and mouse. Im just asking if some of you know the "best practice" to handle user input. I mean, do it's better to have one thread for keyboard and one for mouse, or one big brutal thread for all control Im of the advice that smalle ...Show All
Khurramsk Vertex Tangent in left handed
I'm working in left handed corrdinates and calculating the tangent to do normal mapping transforming lights to tangent space The result is working wrong as it seems that one axis is flipped (the left side of a mesh is being iluminated as should be the right side). So I am guessing that I have a mix with the coordinate system in calculating the tangent for the vertex or in the tangent trasnformation matrix. 1) Calculate tangent in left hand ...Show All
rudydanielle What replaces the OLD "D3D.ServiceMouse"
I'm trying to update two old Windows 95 DirectX programs. They both contain a feature that allows the user to click on a displayed 3D object and have information displayed reguarding that object. These programs are not games. The programs used the "D3D.ServiceMouse" generating a "Picked" event. This interface was deactivated in Windows 2000 and Windows XP. What replaces this interface Is there an example, in Visual Basic, ...Show All
TheNewcomer VertexBuffers: Lock/Unlock and same memory address....
If i create only one static vertex buffer in my program and i do: Lock/Unlock....Lock/Unlock....Lock/Unlock....etc - all this calls return me same start memory address for vertex buffer data if this buffer not been recreated or not P.S. sorry for my english pls :) It might or it might not. But do NOT assume you will always get the same address. Also, NEVER write to the address without doing a Lock first, and ...Show All
DJ_SG Changing Texture ColorKey (D3D/C#)
Hi, Is it possible to change the ColorKey of a Texture after it has been created, or can it only be set at load time I primarly want it to provide the good ol' "top-left pixel is ColorKey" functionality to my users. Thanks, Jonas Ah, so that's how it works! I'll definitely preprocess myself. Thanks a lot. You're referring to the D3DXCreateTexture-style calls, right That "col ...Show All
Ed cramgo Few beginner questions about shaders
Hi! I've just started learning MDX and have few questions: 1. I've done simple N dot L lighting shader, but i'm not sure how should i pass light parameters to the shader. Now i just create ColorValue and Vector4 (direction) objects and pass them to the shader (using effect.setValue). Should i create Light object instead, set its parameters and then pass them to the shader Are there any advantages of creating Light object instead of creatin ...Show All
Vasanthsr 2d in directx
i need to make a 2d waypoint editor, and now that directdraw is not part of managed directx and gdi+ is so slow... how do i draw things like lines and circles The ZMan wrote: Circles - draw lots of short lines along the path sin(angle), cos(angle) where angle loops from 0 to 360 degrees. The number of steps gives you how smooth it will be. I would personally recommend this method - there are a ...Show All
Moldau04 Create a sprite programatically in .NET?
Hi; I've struck out trying to get an answer to this in the .net forums. Is there a way to create a Bitmap object in .net where the bitmap is all 100% transparent (alpha) I can then draw lines, text, etc. on the bitmap and where I do not draw, it remains transparent. thanks - dave Hmmm, I reread your question. Are you trying to do this purely within GDI code or is using DirectX acceptable to you Just to clarify, "all from ...Show All
