Answer Questions
SincerePrayer Converting a ray into object space
Hello, I have been stuck on trying to convert a ray into object space, for simple collision detection, I have tried multiplying the coordinates of the ray with the objects inverse matrix ( x = x*_11 + y*_12 + z*_13, y = etc..) but that does not seem to work. There should not be any problems with detecting the collision as I am usuing the D3DXIntersect() function with this ray and the objects mesh. The current code I am using is: D3DXVECTOR ...Show All
BramSWA XNA Installation Problems?
Hi there, I've gone ahead and installed the XNA package, following the instructions in the download. The prerequisite's, Visual Studio Partner Edt, and the XNA installer. I've however not downloaded the MechCommander2 package yet. I wanted to see if this was any bit usable without it. I fire up Visual Studio and attempt to make one of it's "content build", and am greeted with a number of exciting errors. Of note, the content build proj ...Show All
JoeM setting position of sphere
Hi! I am using DirectX 9.0 and VC++ .NET. I am trying to create a sphere (for collsion detection) but the application crashes on a particular line. The screen goes black and I have to use "shift + F5" to recover. I can't understand the reason as the same function ( SetTransform) is working fine in another file of the same project. Please somebody help me. I am attaching the code and the line is marked in green. Following is the functi ...Show All
Cory S. setting position of sphere
Hi! I am using DirectX 9.0 and VC++ .NET. I am trying to create a sphere (for collsion detection) but the application crashes on a particular line. The screen goes black and I have to use "shift + F5" to recover. I can't understand the reason as the same function ( SetTransform) is working fine in another file of the same project. Please somebody help me. I am attaching the code and the line is marked in green. Following is the functi ...Show All
Tan Silliksaar Direct3D and DXVA
I'm using DirectShow and VMR9 in renderless mode to draw video into a texture which I can then composite via Direct3D. However, I can't seem to figure out how to get it to work with DXVA. I can allocate DXVA format _surfaces_ in my allocator/presenter, but I can't seem to create DXVA _textures_. Does anyone know how to either create DXVA textures, or render DXVA surfaces via Direct3D Thanks in advance for any help,   ...Show All
Ralph Scowden Unit size
Hi, I don't understand how to define units in my model and world space. I have loaded a mesh, and if I don't scale it down it is very large. When I modeled it in a 3d modeler i modeled it to be about 50cm X 50cm X 70cm. When I load in the mesh it is very big. I want to define it so that 1 unit = 50 cm. And the screen is about 10x10 units. How can I do this I you don't understand my question, please tell me and I will try to explain my problem in ...Show All
jr78 Sprite size changes when the window size changes!!
Hello, There is a problem which I suffers from a lot. When I draw a sprite with scaling 1:1 in a windowed mode it draws perfect with the same size as it's power of 2. When I resize the window I found all the sprites sizes changes and I can't get it's new size for purposes such picking it and know if the mouse cursor position intersect with this region. Thanks, Mustafa ELBanna ...Show All
AR Schleicher "Display Text Message" feature does not work
The feature that a text message can be displayed as result of an objective fulfilled does not work (it never did in the sold CD version); how can this be fixed The Display Text Message feature works, but it writes text to a chat window not on the screen or anything so you don't see it in single player mode. This functionality is in Objective.cpp (in Source\Code) you'll see CDisplayTextMessage which is t ...Show All
Alex Paterson Confused about transformation pipeline...
Hi, I'm writing a simple 3D engine. It's my first attempt at this so I apologize in advance if I seem new at this. ( I am. ) I'm having trouble understanding the order of things when transforming the vertex buffers. I read some articles about frames (frame of reference), but I'm not able to grasp how a single frame (screen buffer) is rendered in terms of the order that each frames (frame of reference) is transformed. Say I have a ...Show All
Poofy Windows Tooltips kill FPS in my Windowed 3D application?
Hi all. For a while now, I've noticed on my machine (and others) that when some WINDOWED 3D applications/games are running on Windows (XP/2000 etc), the framerate can drop from 80+ FPS to 5-10FPS if a standard Windows "tooltip" happens to over-lap the 3D window I hope that made sense! The reason it is an issue is because my application runs in a Maximized (not Fullscreen) window directly ontop of the windows desktop (ef ...Show All
BSergio Broken Link to MechCommander 2 Shared Source Release
Microsoft XNA Build March 2006 Community Technology Preview featured at http://www.microsoft.com/downloads/details.aspx FamilyID=868fe562-5ded-4bb1-8648-708d3481bda3&DisplayLang=en has a link to the MechCommander 2 Shared Source Release download. The link is http://www.microsoft.com/downloads/info.aspx na=40&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=868fe562-5ded-4bb1-8648-708d3481bda3&u=http%3a%2f%2fgo.microso ...Show All
Eugen Ciuta capture audio
Hi! REALLY sorry to post this here but didnt know where else! is there a way to capture audio from the sound card I am trying to use directX but the sample I have seen is hard to understand unfortuantly :( How do I capture audio either using DirectX or some other method I want to capture it to a normal wav file Thanks! :-) as I am figuring out the functionality of the application, i think i would not be able to use WME unfortu ...Show All
Hua Wang - MSFT Unit size
Hi, I don't understand how to define units in my model and world space. I have loaded a mesh, and if I don't scale it down it is very large. When I modeled it in a 3d modeler i modeled it to be about 50cm X 50cm X 70cm. When I load in the mesh it is very big. I want to define it so that 1 unit = 50 cm. And the screen is about 10x10 units. How can I do this I you don't understand my question, please tell me and I will try to explain my problem in ...Show All
mindplayr Computer reboot issue
Hi! I've made a game as a school project using VB and DirectX 8. The game is a side-scrolling platform game and it has some very confusing (for me) problems. When I tested the game on some of the computers at my school, they rebooted (instantly) at a particular point of the game. This problem occurs only on some computers. A similar problem came up a while ago, but that time the similarity was all computers with the problem had ATI grap ...Show All
leemhenson Compile error on DX9/10 Samples
Hi, I've downloaded the February DX SDK from the MS site. When I try to compile the samples (all) I get the errors: error C2061: syntax error : identifier '__in' error C2059: syntax error : ')' This error is on the D3D10.h file. It seems that something is missing. I'm compiling in VS 2003. Any ideas We take all that time to create a README file...and yet I still have to repost portion ...Show All
