Answer Questions
mjpearce Interactive Audio Variation / Transition auditioning?
I've made a simple XACT project containing one cue that has 4 variations. I set up transition parameters, and was hoping to audition the transitions in action. I can connect to the audio console app and get events to play, but I don't see any variable slider to control which variation is playing. Actually, I'm not even sure if I set up the cue correctly for this. My second question would be: are there any example XACT projects that fe ...Show All
ISIMike Mesh Intersect Confusion
EDIT: Let me make my question simpler: How do I shoot a ray (using the Intersect function) from one mesh to another mesh Original Post: I recently found out that the Mesh.Intersect function requires you to transform the ray by the inverse of the Mesh's matrix. I can kinda understand how this works with picking, but, I am trying to shoot a ray from one mesh to another with an arbitrary direction. Now I'm dealing with TWO matrice ...Show All
Steve Schefer Where is DirectX going?
I read somewhere *cof* http://www.managed-world.com/SoonDirectXDirect3DNothingElse.aspx *cof* that Microsoft is deprecating a large part of DirectX (DirectInput, DirectSound) he then hints about learning Shaders http://www.managed-world.com/AdviceLearnShadersNow.aspx so the question is, should I not bother to learn DirectInput, DirectSound, etc... what should I be learning if I want to develop DirectX applications in the future is DirectX ...Show All
Aqeel Arshad Siddiqui Transparent textures cause background objects not to be rendered
How can I get this fixed Please take a look at my screenshot . My first idea is to turn off z-buffering and sort the meshes by hand. However I would like to avoid this. Isn't it simply possible to set a render state (which can be used when rendering transparent textures) that will switch the eliminating of background polygons off Thanks in advance, SecurityException Ok, thank you for that information. I gues ...Show All
jerome15 vertices in Direct X
Hi I can`t really understand how can i make a 3d cube with vertices and c# .. can anyone show it i so examples are Welcomed!!! Check out Managed Tutorial #2 in the April 2006 SDK. It shows how to do this. lol i checked that beforfe posting here man.. i only showes already made .. and i know how to make simple forms like triangle i was looing for a 3d cube so... http://www.c-unit.com/tutorials/mdirectx/ t=37 ...Show All
Chrisql Program for editing .x files
What program should I use to edit .x files Can I import objects from powerful editors like 3D Studio MAX Once again, I use blender :D. Blender has a default .X exporter and it's free. Most of the modern 3d modelling packages allow you to export to x files for directx programming, but I do not know of any that will go from x files to the modeling programs format. There may be some converters out there but generally people use ...Show All
Timothyjb Direct 3D Device positioning
Hello is it possible to embed a direct3d device at a specific location on a c# windows form What im trying to achieve is something like an editor using standard windows tools (buttons, menus etc) but having a small direct x window within the form at a specific location eg. 5,5 to 700,420. The only tutorials I find in the sdk always have it filling the form. Just wondered if its possible to achieve. very ...Show All
invisible-man DirectDraw
If DirectDraw is Deprecated, what should we use Most of the DDraw functionality is now in D3D9. You should use that. What exactly do you need in DDraw ...Show All
Steven Leong Players move faster at higher framerates
Okay, this is really bad. Clearly, a hard-coded "2" that's applied to my character's "Left" property on every frame render isn't going to cut it. Obviously, the game will run slow on crappy hardware, and there's not much I can do to prevent that. But the game shouldn't run faster on really good hardware! How can I cap the movement speed, or better yet, guarentee a certain speed within reason I can already calculate frames per second, and h ...Show All
LJry Does DirectX have the OpenGL equivalent of Display lists?
As the subjects asks, is there an equivalent feature in DirectX Basically I want to just render about 200 spheres most of which will be the exact same copy of each other. Drawing each sphere independently of each each other gave quite poor performance in OpenGL until I used Display lists which enabled me to save a fixed set of drawing commands and just call the display list instead of redrawing the sphere each time. ...Show All
RMarar Rotation matrix: absolute rotation instead of relative?
Hi, When multiplying rotation matrices for rotating around x, y and z-axes R = Rx * Ry * Rz ( http://en.wikipedia.org/wiki/Rotation_matrix ), I get a relative rotation matrix, meaning that rotation around Y is not the original Y-axis, but the new axis that has "occured" after rotating around X. What I want to do, is to have absolute rotation, so that the Y-rotation is performed around the original Y-axis, and not the new one (abs ...Show All
RivaOni 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. Here is c# code to get bounding box. I imagine it ports to C++ rather easily. ...Show All
SMX_Mark Textures from "raw" memory
Hi, is there any way how to generate textures in C# / Managed DX directly from the memory I'd need to point somehow directly to data I've saved into memory and because it's quite big amount of data and it needs to be repainted really quickly, I need to say the texture to be generated from memory (and so anytime I'd update memory the texture would change). Using stream means twice more fork and it's really slow. Does anyone know how to solve it ...Show All
Kmartin Where are there some .X animotion file ?
I have write a game ,now need .X animotion Where is it The gamedev.net art forum has an FAQ which lists lots of places to get models http://www.gamedev.net/community/forums/topic.asp topic_id=257345 ...Show All
sidno Orthographic Projection using DXUT CModelViewerCamera
I was wondering if there is an easy way to obtain an orthographic projection with the DXUT camera class CModelViewerCamera I have unsuccesfully tried the following configuration: D3DXVECTOR3 vecEye(-1.0f, -1.0f, -1.0f); D3DXVECTOR3 vecAt (0.0f, 0.0f, 0.0f); g_Camera.SetViewParams( &vecEye, &vecAt ); g_Camera.SetProjParams(45.0f, 1.0, 0.0f, 10.0f); As Jack says, you could ma ...Show All
