Answer Questions
Roy mm pixel shader computation: precision problem?
Hi, I do the following computation in a pixel shader: const float texel = 1.0 / 128.0; result = floor(In.texcoord.w / 16.0) / 64.0 + texel In.texcoord.w containes an integer value between 0 and 299, stored as a float, interpolated over the triangle, where each vertex stores the same value, so in practice there shouldn't be any interpolation happening. When I output result as a color, I notice distortions ...Show All
colwelltim Sprite Problem
I'm trying to do some simple 2D graphics with DirectX 9.0 (April version), so the first step is to display bitmaps. I found a tutorial that applies a texture to a rectangular triangle fan (quad), and that works perfectly. However, when I try to display a bitmap with the ID3DXSprite object, it looks a little blurry, as if the bitmap is offset from the screen coordinates by some fraction. When using the texture-quad method, apparently you must ...Show All
Paul Nast Rendering model over all others.. (overlay effect)
Hi, Im working on a small 3d app for myself, in the app you can move the models around just like in any 3d editing program. I really like the controls in 3d studio max and i was wondering if anyone could point me in the right direction of how i can render the axsis arrows over the everything else in the screne like in the pics below... http://img346.imageshack.us/img346/9995/e11wm.jpg http://img346.imageshack.us/img346/6326/e28ll.jpg ...Show All
AllanJ Fix Found Windows XP Pro, DirectX 9c install completed ! I cant Install Directx 9.0c December 2005 dsound.inf problem
When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error : "An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem." I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error and when I go to DXError.log and DirectX.log see this Problem with dsound.inf : -------------------- [01/05/06 01 ...Show All
Chandan Jhalani About DX 10 ...
... I don't know where to post this: there will be a managed version of it I'm pleased to announce that the DirectX 10 discussion that was part of the overall DirectX presentations at PDC 2005 are now available for viewing through the DirectX Developer Center (http://msdn.com/directx) The ZMan wrote: You are correct. DX10 needs a DX10 card - there was no mention of when these would be available at either PDC or Mel ...Show All
VaishaliD Updating textures with SetRenderTarget
I'm working on the terrain rendering technique which involves displacement mapping. I have a couple of textures that are, logically, the mip-map of the terrain. Now, I have to update them all, from the biggest to the smallest, and to do so I do the following: device->GetRenderTarget(0, &oldRT); device->GetDepthStencilSurface(&oldDSS); device->BeginScene(); for (i = 0; i < levels - 1; i++) { // // Set the current texture as d ...Show All
joe2000 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
Navees DirectX 9 in visual basic 2005
Hello all, I am an experinced user of Visual Basic 2005 Express Edition, but am failing terribly when trying to apply DirectX, Direct3D and other techniques. Does anyone know where I can find directx tutorials that have visual basic code examples I would really like ot learn. I have tried literally hundreds of c++ tutorials and they never compile, whether the creater of the source says it works or not. ...Show All
Satyendra Gupta Directshow april 2006 support for windows mobile 5
I had problems registering a clsid in windows mobile 5 pocketpc emulator.So I had downloaded directshow april 2006 and compiled the c# project and got the direct show dll.I do not know the way to use that in windows mobile 5 environment.I tried to use the regsrvce to register the dll inside the emulator but the registration fails. Does directshow april 2006 have the support for windows mobile 5 pocketpc What is the right procedure for using t ...Show All
zfjaj Managed DirectX, C# & and large textures
I have a very simple 3D world which consists of a sphere which is meant to represent the Earth. While a single texture file, like the ones which come with the DirectX SDK are good for when the whole world is being viewed, it is no good viewing it up close. Is there any way to have multiple texture files relating to specific points on a sphere, so that if for example I have a more detailed image of New Zealand, I can overlay that portion of the s ...Show All
Mike 2^2 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
Troy Deppert Can DX10 card emulate DX9 card?
Hi masters, I have two noob questions. Can a DX10 Card emulate a DX9 card for easy backward compatibity Can DX10 APIs emulate DX9 APIs why Best regards.. Great, But , It's Possible Nvidia G80 GPU (or ATI R600 ) gets fully support D3D9/D3D10 Best Regards There is no emulation needed. Vista fully support Direct3d9 - it has to for the Vista shell. There ...Show All
Huw Collingbourne 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
jml81 render to menual allocated buffer ??
It may be my crazy thought, but am I able to let DirectX render images to the system buffer i created I do not know if you can, but I can tell you why it could be bad. Getting data from the card to the system memory is slow (i learned) and on most scenes you will have a fair amount of overdraw, unless you manually sort the objects and only render faces which are the closest in a particular direction. If you for example have on ave ...Show All
Phil Borg Video Application
Has anyone created an video application which takes input from web cam and displays it in real time on the other side to another user There is a DirectShow forum here , so you may want to ask your question there. ...Show All
