|
Search
Tutorials and Code
Syndication
My Account
Community Forums
Webmaster Tools
Tech Jobs
|
SkinnedMeshes And World TransformationIf there isn't any world transformation for a certain skinned object, isn't it true to be impossible to set its position in world space, is it? I just have downloaded some code sample, I couldn't find...
IDirect3DSurface9 Slow PerformanceDear all, not sure if this is the right newsgroup, but let's try. In our application we use DirectX 9 for blitting surface to the VMR (thru SetAlphaBitmap). The surfaces act as layers which are...
StretchRect (or Similar) Transparency?I have created a D3D device with colorkey as 0. I also created an image (bitmap) with black background and loaded it in offscreen surface I tried using StretchRect to copy offscreen surface onto...
Some Questions On ExportHi, I am freelance developer for a company. I use Blender while the company has 3ds max. I'd like to suggest the artist about which file format he should export to let me import the same mesh into...
Effect Variable - Default ValuesCouple of questions about effect variables: 1) If I write a default value in an HLSL effect, when is that variable set to that value? When the effect is created? Everytime a pass from a technique...
Question On D3DXWould D3DXLoadHierarchyFromX (and the clones) loads any mesh with custom templates and structures that resembles standard structures like ID3DXMesh Let me break it down, I want to use D3DXLoadHierarchyFromX...
Help For Shared Resource From Direct3D9 To Direct 3D10 Reply QuoteNow, I am working on sharing resource from Direct3D9 to Direct3D10, but it seems OpenSharedResource does not work at all(even under reference device modes both for D3D9 and D3D10). However, acoording...
Read Access To Vista Aero DWM Window Content Direct3D SurfaceWith Vista using Aero desktop the content of every top level window is obviously internally represented as a Direct3D surface. I would like to write an application that can use these surfaces as...
ZBuffer ProblemHi, I've got a problem using the zbuffer. I've instructed the device to create the depth buffer automatically as D3DFMT_16. I can get the surface of the depth buffer using GetDepthStencilBuffer so...
Question About Blitting From RGB Surface To YUV SurfaceHi, I'm working on an application with DirectDraw7. I need create an overlay surface and blit image to it from the primary surface. It works fine on some PC with ATI graphic card, I notice that...
Compiling .fx Files In DX11/SM_5_0Dear all, Is the .fx format no longer supported in DX11? I see that the shader compiler (fxc) in November SDK only supports ps_5_0/vs_5_0 but not fx_5_0, and I am unable to compile a FX file updated...
Video Overlay CapturingHello In applications like WMP or other players, the video output is renderer to so called "overlay" layer (correct me if I'm wrong). GDI seems to don't have access to that layer (I can't GetDesktopWindow...
Does GDI Double-buffering Still Make Sense On Vista And Up?Hi, Since Vista buffers GDI into system memory and then draws to screen using Direct3D (WDDM) does it still make any sense for GDI apps to do double-buffering? I'm referring to cases when a given...
Confusion Concerning Loading Of TexturesI've been using Direct 3D for some time without a very deep understanding of it. I've been using it in the implementation of a Glide wrapper, and one particular confusion is how best to update a texture...
Issue When Combining Flash And Directx RenderingHi All, I got a complicated issue when try to combining flash and directx9. Basically, our project uses Ogre3D to render 3D scene and uses Flash to draw UI. We have two situations: 1. We need render...
Determining Percentage FilledOkay, in my previous thread I was filling an opacity map, accumulating alpha values to do blending between two images. Now I need an efficient way to determine how much of the opacity map has become...
Graphics OverlayI've spent some time lately researching the various approaches to displaying an overlay on top of a fullscreen application such as a DirectX or an OpenGL game. Some applications simply inject into...
DWM, Direct3D10 And Transparent WindowsI'm trying to make a window with 3D rendered content partially transparent. I've been able to do this with a Direct3D 9 application by using DwmEnableBlurBehindWindow and rendering to a back buffer...
Making Direct 3D Behave More Like OpenGLI am trying to make a program that lets the user pick the graphics api. They can choose either Direct 3D or OpenGL. OpenGL is working exactly how i wanted it to but Direct 3D when i resize the window...
PRESENT, VMR And Multiple Threads In DX9Hi all, I am currently facing big problems combining VMR and PRESENT in DX9. Context: 1. A VMR9 Allocator-Presenter implementation rendering Video to a TextureSurface using Hardware decoding in...
Reading From VB/IB If Created With USAGE_WRITEONLY And D3DPOOL_MANIs it safe to read from VB/IB which has been created with such parameters? In DX documentation one can find that "Attempts to read from a vertex buffer that is created with this capability will fail...
DX9c - Which FFP Functionality Is Obsolete When Using PP?I am converting my engine from the old FFP way of rendering objects to full shader usage. I want to be able to do everything in shaders. What functionality in the fixed function pipeline am I stuck...
How To Avoid FlickerHello All, In my application i have a primary surface and a backbuffer, used in windowed mode with dimensions mxn (clipper attached to the surface). Back buffer is created as offscreen plain in system...
Video Control - Directshow And Digital TV ProgrammingAnyone to help me using Video Control ActiveX to render a stream from a DVB-T dongle? I want to choose the decoder filters to use. I was able to install the ActiveX component in C++ Builder, the language...
Text Rotation With DT_WORDBREAKHi, I am in a big trouble with text rotation. We draw horizontal texts on dialogs, views so far, but need to rotate them. We had used CDC::DrawText(..., DT_WORDBREAK) to be able break words. I can...
Creating Multibuffer ApplicationHi. My game needs to implement multi-buffering rendering with multithreading. Now I am using the original DX10 tutorials source code. I think that what I should do is creating some buffers during...
Slowness Of D3DX/DirectX Viewer?Hi, I got a simple GeForce 8400 and I have made a test scene composed of 3 spheres of 32000 vertices. Each has single texture mapping. Under my own engine, I got more than 100 fps. Under DX Viewer...
Full-screen, Exclusive-mode Video And D3D DebuggingI'm developing a video playback app using using a custom allocator-presenter for VMR9, developed from one of the Dx9 SDK samples. On the release system, this will be a full-screen, single-monitor...
Screen Shots With OPenGLI am trying to get a screenshot of a window with usage glReadPixels API's exposed from OPenGLafter getting the current context. But if I move another application window above my application window...
Debugging HLSLHi, I don't manage to debug my HLSL code. First of all, the documentation talks about a new item in the Debug menu named "Direct3D". I don't have it. I've installed DirectX SDK June 2008. The...
DMO RelatedHi there! I wonder whether we could built a sourcefilter like component base on DMO, any suggestion will be appreciated! Alex
How To Test A Normal That Is Facing Up?Hi, At first blush, this question is quite irrelevant to directx, I'd like to know how do you test a normal that is facing up? or nearly up? Thanks Jack
Direct3D 7 Antialiasing Triangle StripsHi, Newbie to the world of 3D programming, but I've had a good dig around and can't find any documentation that answers my question, so.... I am drawing a polygon formed of n triangles. It needs...
Effects Or Not EffectsHi, In D3D9 there is an Effect class that manages Techniques and Passes. Many HLSL implementation I've seen use this. However, basic sample of HLSL doesn't use these methods at all. My question...
DX7 On Newer CardsOur minimum target system is unpatched W2K embedded, so I've been using DX7 for our application. (I keep telling my bosses I'm a programmer, not an archeologist, but they never listen). Recently...
Avi As TextureHi all, I am still quite new to DirectX and have now half successfully managed to play an avi video in my DirectX window like it is done in the DMOTexture3D sample. I can see my video playing ok...
How Can I Get Explanation About DirectDrawCreateEx Function In Help File?Dear ladies and gentlemen, I have been studying game programming with Visual Studio .NET 2003 and DirectX SDK (April 2007), recently. I need to get detailed explanation about the function named...
Convert FXO To FX (shaders)Hello. I have several fxo files. How can I convert it to FX files with normal reading text?
Draw Icon On D3d Surface In Vista, It Is A Bug Of Ms Or Nothi, everyone: so i make a simple samle, use the the same process like my real code. and the result is the same with my real application ////////////////////////////////////////////////////...
Creating Texture From ImageHi, i got a question regarding DirectX9, after crunching through a few google pages that came up i am still no bit closer to a solution, i have a 800x600 Bitmap, read it with if( FAILED( D3DXCreateTextureFromFile...
Texture WrappingI'm having a problem with texture wrapping, using DirectX 9.0c on some hardware. On the problem machines, I have verified (via GetCaps) that texture wrapping is supported and the maximum texture...
Combining SurfacesI have a Windows application that is using DirectX to stretch bitmaps to a Windows panel. This is currently done by: 1) associating a device with the panel 2) creating an off screen surface the same...
Semi Transparent Texture / Alpha BlendingHi all, I am fairly new to directx and now stuck with transparency and alpha blending. I am trying to achieve the following and am just not sure if and how this can be done: I have a billboard...
SetMatrix Vs. SetvertexshaderconstantfI was using setvertexshaderconstantf to set some matricies in a shader, and I switched to using setmatrix instead. Now my shader does not work. I was transposing the matricies when using setvertexshaderconstantf...
Why Can Not Print A Big Transparent BMP Image(small Image Can BeNow, I want to print a transparent BMP image(background is set to White 0xff0xff0xff). I have two BMP image: bmpFirst: pixel dimension(72*72), LOMETRIC(0.1mm) dimension(191,191), resolution(...
Shadows Show Through Or Flicker In Later Graphics CardsI am rendering shadows using depth stencil buffers and a shadow map. I am using a floating point texture for the shadow map. The shadow map size is 1024. On older video cards, or cards that have only...
Use Only Second Texture UnitTo speed up bitmap font rendering, I want to apply the font texture to an unused texture unit (eg. unit 2). Because this texture unit is only ever used by my font, it'll cut down on texture switches...
Simple 2D Drawing In XNAHi, Hope this is the correct newsgroup, if not, please point me in the right direction. The application I am writing seems to be impossible with GDI (plus), that is, GDI is not fast enough to...
DirectDraw ZoomHi!!! I'm developing a drawing application, like Paint. I wanted to use DirectDraw capabilities for doing zoom by stretching and that's what I do. The problem is that when drawing the image 3...
Is Vertical Sync Not Suppoted By Directx8 In Window Mode?I set the D3DSWAPEFFECT_COPY_VSYNC to D3DPRESENT_PARAMETERS, it has effect at the fullscreen mode but not window mode, in the window mode, when the screen scrolling, the texture was been splited!...
|
Latest Tech Bargains
Advertisement
Free Magazine Subscriptions
Today's Pictures
Today's Video
Other Resources
Latest Download
Latest Icons
|