Answer Questions
Bang Hai Huynh Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Oh and I guess the D3DTEXTUREADDRESS you need to specify when you use fixed function vertex processing Because with DX I o ...Show All
John George What is in DX9 that is similar to Selection in OpenGL
I just start to trun from OpenGL to DirectX. I'm writing a program that requires user to select 3D objects by mouse clicking. In OpenGL this is easily done by Selection mechanism. So what is the best way to achieve the similar effect in DirectX 9 In the Microsoft DirectX SDK there is a sample application that has a rotating Tiger. You hover your mouse over the tiger's polygons and it highlights them etc. I for ...Show All
蛙蛙王子 Skinmesh for Tiny problem with Key
I expected to have a Skeleton Start Position for Tiny with arm Stretch on the side Apparently there is no base Skeleton in the file (maybe there is, I don't know) I managed to add my key to an AnimationSet Skeleton in pause mode (loiter) Now When I add my angle I loose the Translation and Rotation of the original pause Skeleton What do I miss here How are people adding rotation key Do I also need to extract the previous original rotat ...Show All
LiQuiDpLasMaFloW Asset Relationship Management
Hi, I am quite interested in the functionality that the ARM API can provide and think that it will be very useful to us and I would like to do an evaluation of it. Are there any samples or tutorials online or in the March 2006 CTP that explain how to use the API Cheers Ashley Davis Lead Programmer Kuju Entertainment Hi Ashley - Thanks for the feedback. You should have documentation nodes installed for this. After you in ...Show All
breedlings Render to texture
this is in response to another thread that I have in this forum. I am having problem of rendering to a texture. I have a texture that I populate by using lockRect and the usage is D3DPOOL_MANAGED. The problem is that I cannot populate this texture using lockRect and D3DPOOL_MANAGED but rather D3DPOOL_DEFAULT, which cannot be populated with lockRect. I have to use D3DPOOL_MANAGED inoder to use SetRenderTarget 1.Is there a way to popu ...Show All
Frederik Slijkerman Error reloading xna projects using batches
Hello, Following the answers given on this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327228&SiteID=1 I started using the %(Identity) and %(Filename) metadata to batch some of my tasks. Unfortunately, whenever I try reloading a project containing such medata usage, I get an error: "{0} is not a valid batching parameter." I was forced to remove these information from the project file using a text editor, and to pu ...Show All
sasseen Xact in combination with MDX?
Hey, I'm trying to get Xact working with MDX in C#. creating the engine is no problem, but then I want to create the sound and wave banks Does anybody has an example for a simple use of Xact with MDX in C# XACT does not currently have a Managed interface. Well XACT has a managed implementation in the MDX 2.0 beta. However I'm not sure how complete it is and since its beta there are no docs or samples. N ...Show All
Gobra directx integration with vs2005 is missing
I have installed vs2005 on a clean system and next I installed dx9sdk 2005 october. During setup the tab with utilities could not be expanded to let me select integration with vs2005 and it did not by default install. What I am looking for is the shader debugger, which I would like to run from within the vs2005 ide through the debug/directx/start with directx debugging How do I get this integration up and running If this is the wrong "group" to ...Show All
Expert DirectX Bug
Hey! In all samples I install using DirectX 9.0 as API, may it be from DirectX SDK or NVidia SDK, the following bug is present: The ui controls, such as drop down box, slider bars, check boxes etc all appears normal at first. But whenever I try to interact with them they disapear for good never to come back. The samples are still running as they should. My machine is uses a dual core amd athlon x64 cpu, it has about 2 gigs of ram, nvidia GeForce ...Show All
kapicou Exporting to .X
Okay, I've been messing with this for like two days and I still can't get textures to work, so I figured I'd post here. I'm using Maya 7.0 and I've gotten the exporter installed and I can export geometry just fine, but I'm doing something wrong with where I'm putting the textures/what kinds of textures I'm using/parameters. I'm not sure. I export to a .x file and when I load it up in the DirectX Viewer, the object is there, but there is no textu ...Show All
Rocker Coordinate System
Hi everyone! I need some help here... I am trying to write a D3D-application which renders different objects depending on choises from a menu.. I just want to know: How do I change the inbuilt( ) coordinate system in d3dx to a more standard one: like 400,300 would be the center of the screen (using 800x600 px resolution) any help or redirection would be appriciated! In Direct3D, there are no screen coordinates (like 400,300). Yo ...Show All
rpesq Early Out
Hi. I tried at the "regular" DirectX forums but since there was no answers or even faint ideas I am gonna post my question here. I have a fairly simple shader which loops over a numer of calculations. With ps_3_0 can we exit an loop and the fragment program early on if a certain condition is obtained for( ... ){ if( b > constant ) return Output; } } return Output; On the other hand, w ...Show All
HariValath MDX or not MDX! That is the question...
A quick note: I appologize for the long post. I’ve spent the last couple of hours reading various threads. I’m not trying to start or contribute to a MDX or COM bash fest. I’m looking for SOLID comments from people that have tackled, or are struggling with a similar decision I’m facing now. I’ve spent the last 2 months working on specs for my company’s next g ...Show All
Anders Sneckenborg Please help, newbie looking for any advice
Good Morning Everyone! My name is Mike I am a true Newbie to game programming. I will cut to the chase. I am desperately searching, and quite frankly overwhelmed with all the information I am finding. My goal is to create sports simulation management games for the PC. I want my games to focus on the management aspect which would detail AI and less graphics. I just need a starting point. Do you crea ...Show All
Mark Boulter How do I develop games for the XBox 360?
The starting point to learn how to build games for the XBox 360 is here . In a nutshell though, building games on your PC using the DirectX SDK is the best starting point for building games for the XBox 360. Will the new XDK require a XBOX connected to the pc again or will it be able to compile and run without. Jim Perry wrote: The OS is stripped down OK. This is getting somewhere. The ...Show All
