Answer Questions
capabel Centre view on a rendered object
Basically, i have a little app going on where the app renders a direct3d surface, and the user can click on various items that are being rendered so they can centre the view on that item. Now, the problem i'm having is that i can't make the view centre on one of the objects by using a mouseclick. I can get the mouseclicks coordinates relative to the 3d window. i.e. i can say they were at coordinates 100,200 i.e. 100 to the right and 20 ...Show All
Javicho7 What the heck has happened to utility.timer and directxtimer?
I've been working through an introductory Managed DirectX book and there is some code that refers to a thing called "utility.timer" and a call to "DirectXTimer.GetElapsedTime". Neither of these things compile for me in VS.NET 2003 with DirectX 9. I can't seem to find anything at all on the utility function, and damn little on DirectXTimer. Obviously these things have become defunct, but what has taken their place Where should I be looking ...Show All
MickeyP Can i use .x files to render spline shape models?
I have a model in 3ds max using only spline shapes. Can i export it as .x file and render in my application I also want to have control on line thickness of splines. I'm pretty sure you can't store higher-order surfaces in an X file unless you convert it to a triangle-mesh first (which defeats the point really..) Given that you're using 3DSMax, you might want to look into their plug-in SDK and see about writin ...Show All
Meda Pandu Direct X update
Hi I have windows xp sp2 v2080 direct X 9.0B and i am trying to install direct X 9.0c but when i install direct X it seems to install fine but if i run dxdiag it tells me i still have direct X 9.0B Installed and the qasf file is old and may cause problems! Thank Trevor could you tell me what hotfixes there are for this problem I checked my .log and it tells me that .netframeworks are not installed! Could it be that ...Show All
Netferret Where can I get volume textures?
Does anybody know where I could find some free volume textures to play around with Nico I thought of shooting lots of rays and intersecting it with an arbitrary mesh (or meshes). The DXIntersect() method is probably quite convenient for doing that. You can find out what's inside and what's outside by simply counting the hits... The user could specify the volume texture resolution. Also I like the user ...Show All
Castro Drawing textures with transparent and semi-transparent texels?
Hello, I have a texture and I'll draw it in 2D view, I try to make some texels of it fully transparent and the other is some transparent. Unfortunately I don't know how to do that. I started with DirectX plugin for Photoshop I designed the texture as fully transparent at some texels and semi transparent as others. Then I save it as DDS format I choosed format of A8R8G8B8. I load it with color key ...Show All
BugOrFeature_quest Can't set up OpenGL on my XP box
I'm trying to set up OpenGL on my XP box. I've installed Visual Studio 8.0 Express and the MS-SDK framework. However I'm not sure how to progress from here. I'm hoping that within a year I'll be able to write a remake of my favorite childhood game (it's a simple game), but with OpenGL graphics. I'm already familiar with C and C++. As a test I'm trying to compile and run this set of code, but it cannot find glut.h. I thought GL was included ...Show All
Tony Spaulding "Ensure that DirectX SDK is correctly installed" *Resolved* by Noizu.biz
I just downloaded C# Express, and then installed the DirectX SDK from February 2006, from Microsofts homepage Then I loaded the Simple2D_2005 sample (running it from the sample viewer), and it worked as it should. Then I installed the samples source code, opened it in C# Express, but when I run it, I get the following msg: "Could not find required media. Ensure that DirectX SDK is correctly installed" I have tried to uninstall DirectX ...Show All
SeaFire Action Map
I was wondering if anyone knows where i can find some info on setting up an Action Map for keyboard in Managed Directx. I am sure that this simple but i am having a hard time with it. Hmm...install the CustomUI sample. Look at how the events are mapped. Some of them pass a hotkey that fires the event. Also look in the Common directory in the project and look at the dxmut.cs file, take a peek at the OnKeyDown event handler ...Show All
Kean DirectSound under VS2005 - null reference using buffer notifications
Hi, I'm very new to DirectX. Using VS2005 and the December 2005 SDK I have created a very simple winforms app that plays a WAV file. This works fine. I then tried to add buffer notifications specifically so I could detect when playback stops. Immediately though I hit a stumbling block, when I instantiate a new Notify instance I get a null reference exception. The buffer parameter is most definitely not null. This is a cut down version o ...Show All
cnewbie Please read before posting
Here are a few suggestions that make it sure you get the best answer to your question as quickly as possible: Search for your question on the forums first -- it's likely someone may have already answered your question, and you won't have to waste time waiting for it to be answered again. In addition, moderators may delete questions that have already been asked in order to keep the "noise" down on the forums. Th ...Show All
RonaldK 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
SteveHello1234 I need some spiritual DirectX guidance.
I've been learning from a book titled Tricks of the Windows Game Programming Gurus by Andre' Lamothe. It's outdated using DirectX 7.0a SDK, and I believe his second volume creates software rasterization with DirectX 8.0 SDK. I really enjoy his books because it is very in depth and low leveled. My question is should I continue reading it if I'm geared on becoming a professional in graphics Since 60% of our life is maintaining and upgrading previo ...Show All
Geoff Dalgas Cloth simulation through physics
Hi, Are there any SDKs that enables animation of cloth like dresses, skirts, hair etc Or any samples on how to implement it (I know it's not an easy task). Thanks! Hmm...I can't say I found many SDKs offering cloth simulation. I forgot to mention that I need real-time simulation, not some plugin for Maya or 3DS.. Thanks again! Thanks, But does ODE s ...Show All
CSomercik Multiple Filter Graphs with DirectShow
Hi All, I've created an application that uses a custom allocator-presenter that I created based on the VMR9Allocator example found on the DirectX SDK (well, now it's on the Platform SDK). I've managed to uderstand most of what I've "implemented" and I now have almost everything I need, except for one thing. I need to be able to play more than one video at the same time and to control them independently. To do this I know that I need to ...Show All
