Answer Questions
frederikm Reading compressed textures
Hi, I have been working on a small 3d project for myself and i was wondering if anyone can help or point me in the right direction. Im trying to read in dxt compressed textures, i have been reading about the format in msdn and have been looking for some source code or tutorials on how to read these formats in. Im using C# and MDX i have posted the the source code that i have been playing with so far, this is to read a DXT1 compressed im ...Show All
raj4work DxDiag shows missing files after .Net 2.0, Oct and Dec 2005 SDK.
After installing the .Net Framework 2.0 and the Oct and/or Dec 2005 SDK, the DxDiag utility shows that some files are "missing". DxDiag notes on the DirectX Files tab: " Several files (system.dll, Microsoft.DirectX.dll, Microsoft.DirectX.dll) are missing! " These files are present in the GAC and they coincide with the files from the .NET Framework 2.0 and the October and December 2005 versions of t ...Show All
JeffSkla Global Variable and Register don't connect in HLSL
I define this gloabal variable in my Shader fx file: float MyTime : register(c0); And my pixel shader (in asm format in my fx file) I use the c0 register I thought I could Set the value of MyTime in my cpp code and that the c0 register would use that value...but apparently it's not working Now I use a workaround and use dlc t0.x to use the vertex shader output texture But what is wrong with the register(c0) that when I set this glo ...Show All
ZaceOne Geometry.BoxBoundProbe not working as intended?
Hi, yesterday I was writing the collision detection code, and I had a really pain, figuring why the code: Geometry.BoxBoundProbe(BoundingMin, BoundingMax, Position, Direction); isn't the same as: if(BoundingMin.X<(Position.X + Direction.X) && (Position.X + Direction.X)<BoundingMax.X) if(BoundingMin.Y<(Position.Y + Direction.Y) && (Position.Y + Direction.Y)<BoundingMax.Y) ...Show All
Roggan Dynamic for-loop in HLSL Pixel Shader
Hi there, does somebody know if (how) it is possible to use a for loop in a HLSL pixel shader with a dynamic count For example: int count = 5 / a; for (int i = 0; i < count; i++) ... I didn't manage, whatever I tried the effect creation fails. Even with shader model 3. Nico Suddenly it works! I don't know what I made wrong before. Anyway, when compiling a shader with a dynamic for loop there is a lot of preprocessin ...Show All
BillyJHart Unmanaged directX and .net windows form
I have written (with a pointer from you lot here - thanks) a visualisation program in unmanaged C++ DirectX. Everything works fine, however I need to be able to change and edit parameters of the model with the usual text input boxes and track bar, as well as haveing a menu with different options. I have written a little windows form program that does this but wihout the directx stuff. I would like to add my DirectX work into a window in the f ...Show All
awdeoseth xFiles, Fun & annimation controlers!
I am using vb.net with dx9c Does anyone know a good tutorial or reference for the animation controller and the LoadHierarchyFromFile and what is allocatehierarchy Msdn seemed pretty vague on the subject. C++ one will work, I would just prefer vb. You can find simple examples here (C#): http://www.jkarlsson.com/default.asp Thanks Machel, c++ is too difrent (i guess i was wro ...Show All
madfan Sprite.Draw2D and Alphablending?
I'm trying to do alphablended sprites (not color keyed sprites), but it doesn't seems to works. I tried to load .dds with alpha channel and .bmp (32bpp, last channel should be obviously alpha, but i don't know if TextureLoader.FromFile() understand the last channel as an alpha channel). I've put the device's renderstate at alphablendingenable = true (don't have any PS GFX card). But it doesn't seems to work. Am I missing something Maybe should I ...Show All
Adam Tappis - IMGroup Which version of MDX to choose?
Hi! I've decided to start learining C# and MDX. Which version of MDX i should choose I thought about 2.0, but it's still beta and there's no documentation for it. What advantages does it have over version 1.1 use 1.1 its release and it works. mdx 2.0 is being rolled up in to the xna framework, and is currently not being worked on :( and in its current release, 2.0 has bugs i guessing MS hasn't said when ...Show All
J&#246;rg Schwalenberg 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
Renato Sansevero statically linking D3D?
Hi there, Might seem a dumb question, but I'm wondering whether it's possible to statically link with Direct3D/other DX components; I realise the application size would probably grow to the nth degree, but at the moment that's not a problem. The reason for this is that I seem to be having difficulty with machines that have different versions of the runtime on (eg October 2005 vs February 2004) with missing DLLs (d3d9_27.dll is the latest ...Show All
w4t4fAk Exporting .X with Maya
Hi all, I'm having some issues exporting geometry from Maya 6.5 with the sdk plugin, and was wondering if perhaps there was something wrong with the mesh's topology. What exactly can and can't be exported I assume that a mesh must be triangulated, but does it need to be continuous (no holes), and what is the limit to the number of materials that can be applied If you'd like to see what I'm talking about, or try to export it yourself, the .mb of ...Show All
Anatoly Ponomarev - MSFT REF mode D3D
First thing - does MS(r) D3D(r) REFerence rasterizer provides pixel shader support Second - I've launched D3D(r) Pixel Shader example of MS(r) DX(r) 8 SDK (r) and on my GPU (Intel 82588 GM/GME or something like this, if it will be neccessary I'll write full naturally name, VGA not compatible) it, naturally, launched in REF mode, but the output picture was black screen. Interesting example . The same picture I've go ...Show All
Ryan Riehle DirectX Extensions Problem for Visual Studio 2005
Hello, I have tried to find an answer for my problem for the past week, and I am not sure if this is the right thread for it. I have installed DirectX SDK April 2006 with the DirectX Extensions, and I am running VS2006. When I start VS2006 I don't see the DX extension icon on the intro Splash Screen, but I am able to see it in the About Box for VS2006. The problem is not that it is justnot loading - ...Show All
Naga Satish Rupenaguntla error 1304 and error 2350
Hi durirng the install process it gives the error messages listed in the subject but i get them the following way: during the coping of the files it comies up with and "Error 1304.error writing to file microsoft.xna.ui.xnastudiopackage.dll verify you have access to that directory" it tels me to cancel or rrtry and i clikc retry as i am the computer admin and it then pops up with the "internal error 235" and i am forced to cli ...Show All
