Click here to Skip to main content
14,979,236 members
Everything / Multimedia / DirectX

DirectX

DirectX

Great Reads

by Dr. WPF
.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
by shunninghuang
CPS1 emulator, ROM hacking
by Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
by CMalcheski
Thinking outside the box can result in critical performance gains

Latest Articles

by EgorYusov
This article introduces Diligent Engine, a modern cross-platform graphics API abstraction library and rendering framework
by shunninghuang
CPS1 emulator, ROM hacking
by Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3
by EgorYusov
An introduction to ray tracing API in Diligent Engine

All Articles

Sort by Score

DirectX 

Please Sign up or sign in to vote.
11 Aug 2008
Dr. WPF
.NET 3.5 SP1 is here! It's time to break out your DirectX skills. This article provides the information necessary to get started using a new DirectX interop feature in WPF called D3DImage.
Please Sign up or sign in to vote.
3 Apr 2021
shunninghuang
CPS1 emulator, ROM hacking
Please Sign up or sign in to vote.
16 Jul 2012
Maxim Kartavenkov
Article describes how to make H.264 Video Encoder DirectShow Filter using NVIDIA encoder API in C#
Please Sign up or sign in to vote.
4 Oct 2017
CMalcheski
Thinking outside the box can result in critical performance gains
Please Sign up or sign in to vote.
22 May 2013
Dejan Mauer
Free and easy way to access a web camera by using the Aforge library.
Please Sign up or sign in to vote.
8 Jun 2017
CMalcheski
How to Create a Complete DirectX Game in Assembly Language
Please Sign up or sign in to vote.
4 Jul 2005
DeltaEngine
Normal maps are used for realtime 3D rendering (mostly in games) to improve the visual quality, but compressing them makes the 3D content look ugly, this tool helps to fix that problem.
Please Sign up or sign in to vote.
28 Jun 2005
Greg Rezansoff
This brief article describes how to use managed Direct3D to render texture bitmaps with alpha channels and transparency key colours onto vertices in C# with the aid of a MatrixStack.
Please Sign up or sign in to vote.
17 May 2009
Carlo McWhirter
Interactive 3D Spectrum Analyzer for Windows Media Player using DirectX 9 and some light GPGPU.
Please Sign up or sign in to vote.
18 Nov 2010
JimRL
A glow effect achieved by leveraging the stencil buffer
Please Sign up or sign in to vote.
20 Jan 2017
Ansel Castro
The article shows how to render 3D graphics with C# in .NET using an API Igneel.Graphics.
Please Sign up or sign in to vote.
26 Jun 2018
CMalcheski
A Full DirectX Sample Application Created in Pure Assembly Language
Please Sign up or sign in to vote.
1 Apr 2021
Michael Chourdakis
DirectX hardware screen capture and encoding with audio mixing capabilities. H264/H265/VP80/VP90/FLAC/MP3
Please Sign up or sign in to vote.
14 Feb 2010
Irfan alam
A library for creating a voice and text conferencing application
Please Sign up or sign in to vote.
20 Nov 2012
Maxim Kartavenkov
Article shows how easy to make various video effects using PixelShaders in Direct3D.
Please Sign up or sign in to vote.
9 May 2019
Michael Chourdakis
Create music easily
Please Sign up or sign in to vote.
10 Jul 2012
Maxim Kartavenkov
Articles describes how to make pure C# rendering video on VMR9 with custom allocator presenter over Direct3D in .NET
Please Sign up or sign in to vote.
7 Oct 2012
Maxim Kartavenkov
Article describes basic task which are requre to solve for developing your own DirectShow Splitter filters.
Please Sign up or sign in to vote.
5 Mar 2017
Jose A Pascoa
Part 1 - Using DMath from C#
Please Sign up or sign in to vote.
14 Jun 2017
CMalcheski
Part II - Laying the Foundation for the Migration to Assembly
Please Sign up or sign in to vote.
10 May 2009
Michael Chourdakis
Draw your vectors using a new, ActiveX based hardware accelerated interface.
Please Sign up or sign in to vote.
22 Mar 2013
Terence Wallace
TexasQuest is a 2D side scroller platform game similiar to Super Mario
Please Sign up or sign in to vote.
23 Sep 2020
EgorYusov
Introduction to amplification and mesh shaders, the new programmable stages available in modern GPUs, and how to use them to implement view frustum culling and object LOD selection on the GPU using the Diligent Engine API
Please Sign up or sign in to vote.
11 Jan 2021
EgorYusov
An introduction to ray tracing API in Diligent Engine
Please Sign up or sign in to vote.
13 Nov 2012
Shmuel Zang
This article shows how we can render an interoperable MDX (Managed DirectX) scene, inside a WPF window.
Please Sign up or sign in to vote.
13 Oct 2012
Maxim Kartavenkov
Article describes basic tasks for implementing your own File Source DirectShow filters.
Please Sign up or sign in to vote.
31 Jul 2001
Xavier John
A Maze based game.
Please Sign up or sign in to vote.
20 Jan 2015
Android on Intel
Android* Texture Compression - a comparison study with code sample
Please Sign up or sign in to vote.
10 Sep 2015
Kenneth Haugland
Create HLSL files, compile them and use them in a WPF appliction. A light Shazzam Shader Editor tool for Visual Studio
Please Sign up or sign in to vote.
7 May 2012
Espen Harlinn
If you haven't looked at this, it's a good reference:Improving the Performance of Direct2D Applications[^]This one is also useful:Direct2D: Hardware Acceleration in Windows 7 Plotting[^][Update]For XP and OpenGL have a look at PicZoom: A Photo Viewer Created in OpenGL[^]Best...
Please Sign up or sign in to vote.
16 Nov 2012
lewax00
There's isn't a best one. Which one is right for you depends on what you want to do.If you want to make games on a mobile platform, you'll probably want to do it in the languages best suited for the platform (Java/C++ for Android, Objective C for iOS, and C# (I think) for Windows Phones,...
Please Sign up or sign in to vote.
6 Aug 2010
ely_bob
GPUToaster is correct, this has been discussed @ the Creators Club[^]..X formats are not designed for "editing" type procedures, if you want to do this you will need to be working in DirectX, or OpenGl, NOT XNA. Xna is designed for displaying, not making.
Please Sign up or sign in to vote.
9 Jul 2011
DaveAuld
There is a technical blog article on the subject;Face Recognition Project: Introduction To Face Recognition[^]
Please Sign up or sign in to vote.
19 Feb 2012
barneyman
Alternatives to enhzflep's solutions, if you don't have access to/want to change the texture ...1. Multiple textures - first is your map, second is your line2. Stencil 'Shadows' - render the line 'above' the map, then cast a shadow from it, perp'l to the mapagain, comfy chair, coffee
Please Sign up or sign in to vote.
25 Apr 2013
Volynsky Alex
Hi,Nowadays technologies are so developed that they free developers from having to cover much of the 'technical' aspects of their job and let them concentrate on the core issues they have. One of such helpers is the core concept of object-oriented languages, and C++ too, which of course is -...
Please Sign up or sign in to vote.
23 Aug 2014
Sergey Alexandrovich Kryukov
DirectX is the way alternative to GDI, a faster one. Moreover, even though GDI and DirectX can be used together, they poorly live together. To see it, it's enough to put some GDI object on top of, say DirectX-based video and see what happens. For resolving such clashes, a layout manager exists,...
Please Sign up or sign in to vote.
17 Apr 2017
EgorYusov
Descriptors and descriptor heaps are key components of a new resource binding paradigm introduced in Direct3D12. This article describes an efficient system for managing descriptor heaps.
Please Sign up or sign in to vote.
29 Nov 2017
EgorYusov
This article describes Unity low-level plugin interface and the Unity graphics interface emulator that facilitates native plugin development.
Please Sign up or sign in to vote.
3 Apr 2010
Rod Kemp
To learn how to create plug-ins for Windows Media Player, see the Windows Media Player SDK[^].This should outline what you can and can't do with a plug-in in WMP.
Please Sign up or sign in to vote.
28 May 2010
Anthony Mushrow
Which version of the DLL that your program is using depends on which build of the library your program actually linked to.You may either need to check your linker settings and make sure that in Release you are not linking with the debug lib or check your code for any #pragma comment(lib,...
Please Sign up or sign in to vote.
9 Apr 2011
Richard MacCutchan
You have statements of the form#include "Includes//Main.h"I think there should only be a single '/' character in the path name.
Please Sign up or sign in to vote.
15 Apr 2011
Anthony Mushrow
will my final resulting .exe still work on an end user's system using the latest (2010) DirectX end user runtime?Yes. When you link with a .lib file it is actually put into your .exe or .dll fileFunctionality from previous versions of DirectX are always available in the runtime for...
Please Sign up or sign in to vote.
11 May 2011
Olivier Levrey
Most likely you forgot to provide the corresponding .lib file in the Link tab of your project properties.Find out which .lib you need for this interface and just fill it in the Link tab.Otherwise, it might be a version issue: check that the version of DirectX you use in your code matches...
Please Sign up or sign in to vote.
11 May 2011
Albert Holguin
Here's a post with someone who had the same problem:http://www.gamedev.net/topic/7112-linking-error--iid_idirectdraw2/[^]It mentions what .libs you may be missing.
Please Sign up or sign in to vote.
18 Jun 2011
enhzflep
Without knowing the software, or the brand of the projectors, it's impossible to say that there is an available SDK that provides this functionality. It's entirely possible that no provision has been made to control this aspect of the projectors.I'm assuming that the connection between the...
Please Sign up or sign in to vote.
23 Nov 2011
#realJSOP
So run it under the debugger and make sure all of the pointers are valid (not null). The error you cite generlly means you're either accessing a null pointer, or overflowing a boundary.
Please Sign up or sign in to vote.
29 Mar 2012
CDP1802
XNA will not help very much if you have a WPF application. There are two problems which are not easy to overcome1) WPF applications are event driven while XNA applications run in a continuous rendering loop. Getting those two worlds together does not work out of the box. You will have to...
Please Sign up or sign in to vote.
20 Apr 2012
Aescleal
If you want skills that'll translate into the games industry on desktop computers NOW then learn C++ and about DirectX on windows. Every games shop I've worked in has been exclusively C or C++, apart from mobile phone games which were J2ME.One problem with C++ is that consoles (apart from...
Please Sign up or sign in to vote.
20 Apr 2012
Espen Harlinn
Have a look at this page:List of game engines[^]Best regardsEspen Harlinn
Please Sign up or sign in to vote.
27 Jun 2012
bearsomg
1 alternative  
Hello. I am currently working on a rendering engine which is meant to render character animations. Right now I am working on vertex blending to make the body parts move with the bones.For each vertex declaration, I have a short that represents the first bone's weight, and 2 shorts...
Please Sign up or sign in to vote.
29 Mar 2013
Matthew Faithfull
No, there is no general solution to this via DirectX.The reason for this is that the Window you're trying to capture may have no existance in DirectX at all. If it belongs to an application that doesn't use DirectX then from the DirectX point of view there is nothing special about that area...
Please Sign up or sign in to vote.
31 Jul 2013
Ayush001
Traditional game which becomes more interetsing.
Please Sign up or sign in to vote.
22 May 2014
CPallini
You should use Polyphonic C#[^].(kidding)Have a look at this Stack Overflow question: "Play two sounds simultaneusly"[^].
Please Sign up or sign in to vote.
5 Aug 2014
vertex4343
DirectShow Hangs on Pause – Solved with WNDPROC message
Please Sign up or sign in to vote.
20 Nov 2014
Gregory Morse
Analyzing Text With DirectWrite in .NET Using SharpDX
Please Sign up or sign in to vote.
26 Sep 2001
Anthony Roach
A framework for writing apps using DirectX 8
Please Sign up or sign in to vote.
2 Sep 2008
Uri91
1 alternative  
Hello,I'm a high-school student seeking to learn about 3D programming. I have experience with C# and C++, OOP and more.I don't have any intentions of making high-grade stuff with 3D, but I do want to learn something that I might use in the...
Please Sign up or sign in to vote.
2 Sep 2008
John_Adams
Hi,I would suggest you to visit the following links to know the difference between WPF, DIRECTX and XNA.http://forums.xna.com/forums/t/5278.aspx[^]http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=257213&SiteID=1[^]Hope this helps ...
Please Sign up or sign in to vote.
6 Aug 2010
GPUToaster™
AFAIK the vertex buffer cannot be read back. If you are trying to modify the UV sets then try duplicating Buffers. Because you will not get any performance difference.Try using search engines. :)
Please Sign up or sign in to vote.
19 Aug 2010
Yusuf
I pretty sure it is not your code. Otherwise you wouldn't have dumped it here and asked someone read it for you.
Please Sign up or sign in to vote.
5 Oct 2010
ely_bob
Use XNA, this has all the stuff that you need without going into the 3d portion of the API..and in the long run if you want to do things like sparkles, music, explosions.. or whatever else to augment your game you would have easy access to that stuff through XNA.GDI, and it pains me to...
Please Sign up or sign in to vote.
12 Oct 2010
Richard MacCutchan
Try at least doing some basic research for yourself before posting questions. Here[^] is a list of DirectX links that could help you.
Please Sign up or sign in to vote.
17 Oct 2010
Kubajzz
The answer is simple: you can't.At least not the easy way. The Viewport3D control makes it possible to display 3D content in simple way, but there are many restrictions. For example it's not possible to draw lines (thus it's not possible to render a wireframe object, although there are...
Please Sign up or sign in to vote.
24 Nov 2010
CDP1802
Nothing against XNA, but WPF would be better for this. A card game may need not much of a GUI, but some may be needed and that would be a pain, especially for somebody who just got started.With WPF you get the user interface and also the cards (including transformations) with far less overhead.
Please Sign up or sign in to vote.
16 Dec 2010
Marc A. Brown
Is this[^] helpful?
Please Sign up or sign in to vote.
8 Feb 2011
gavaliganesh
1 alternative  
I have following code:void CD3DXGraph::InitializeDevice( const HWND &f_hwnd, const CRect &f_rect) { try { D3DPRESENT_PARAMETERS l_d3dpp; //function gets direct3d pointer. if(NULL == m_d3d) { m_d3d = Direct3DCreate9(D3D_SDK_VERSION); ...
Please Sign up or sign in to vote.
11 Feb 2011
Rajesh G Manwani from Mumbai
1 alternative  
What all tools are available for porting Windows-based Active X control which uses DirectX, to Linux platform? I have explored to some extent and zeroed onto two options - WineLib and JAVA. Which one is better choice? Are there any other options available?
Please Sign up or sign in to vote.
23 Feb 2011
Haechtsuppe
1 alternative  
Hey guys,I am trying to play a video in a Form with DirectX 9 but it doesn't work. :(I have no experience with DirectX so I thought I have to start with a simple videoplayer.I've got a video in my "Content" folder of the project which conatins an ".avi" file.Heres my code:private...
Please Sign up or sign in to vote.
23 Mar 2011
Eduard Keilholz
The Loader lock exception is pretty common in VS when you use DX 9. In your project properties see the exceptions dialog and disable that exception. If you have no other exceptions in your application it will run fine!Good luck!
Please Sign up or sign in to vote.
15 Apr 2011
Sergey Alexandrovich Kryukov
You can find how a linker works in any decent book on system programming.Here is a nice simple introduction, but you won't see much detail: http://en.wikipedia.org/wiki/Linker_(computing)[^].Main idea of behind a traditional linker is separate compilation. A separate units of code are...
Please Sign up or sign in to vote.
9 May 2011
Andows
2 alternatives  
I’m trying to make a very simple application which would display different images on each eye. I have Asus VG236H monitor and NVIDIA 3D Vision kit, the stereo 3D shutter glasses. The I’m using C#, .NET Framework 2.0, DirectX 9 (Managed Direct X) and Visual Studio 2008. I have been searching high...
Please Sign up or sign in to vote.
18 May 2011
achainard
Hi,Solutio...
Please Sign up or sign in to vote.
30 May 2011
Anthony Mushrow
Just as an experiment try using:CheckDeviceType( D3DADAPTER_DEFAULT, D3DDEVTYPE_REF, D3DFMT_X8R8G8B8, D3DFMT_X8R8G8B8, false );The reference device is just what it says it, it should behave exactly the same as a fully compliant DirectX compatible graphics card. If CheckDeviceType works...
Please Sign up or sign in to vote.
6 Jul 2011
Sergey Alexandrovich Kryukov
I happened to give some answers based on my joystick experience recently. It is not very trivial matter.Please look at them:How to Interface Joystick to WAF[^],How to Interface Joystick[^],Creating A Joystick Event?[^].Not everything is exactly relevant to your problem but very...
Please Sign up or sign in to vote.
9 Jul 2011
thatraja
Addition to Dave's answer.Found a bunch in CPHuman Emotion Detection from Image[^]Pupil or Eyeball Detection and Extraction by C# from eye image[^]Face Detection in C#[^]Face and Eyes Detection Using OpenCV[^]Efficient Face Detection Algorithm using Viola Jones method[^]Face...
Please Sign up or sign in to vote.
4 Aug 2011
walterhevedeich
The following links might help:http://www.daniweb.com/software-development/cpp/threads/275082[^]http://www.toymaker.info/Games/html/directx_9_0c.html[^]http://www.drunkenhyena.com/cgi-bin/dx9.pl[^]
Please Sign up or sign in to vote.
9 Nov 2011
Hardghost
I have found the problem.This is the solution. (you don't find any solutions for this problem). private Device device; private Texture texture; private Material material; private Sprite sprite; Surface s; SurfaceDescription...
Please Sign up or sign in to vote.
5 Dec 2011
Derek Henderson
Although not sure what language your using try this link. You could strip out the video bit and just use the Frame grab.[Look here]
Please Sign up or sign in to vote.
6 Dec 2011
JackDingler
Do you mean you need to rotate an image? Use OpenGL and let your GPU do the work.If you're writing high performance image processing software, then I'd recommend that you learn OpenGL or DirectX and one of the GPU Technologies like OpenCL, DirectCompute, and or CUDA.CUDA seems to be the...
Please Sign up or sign in to vote.
20 Dec 2011
tonyjiang88215
1 alternative  
hello , i had a project from VS2010 and i want to compile it in VC6 for supporting winXP, i had used DSound in my project , when i include dsound.h it was something wrong , the error is : d:\program files\microsoft visual studio 10.0\vc\include\vadefs.h(48) : error C2144: syntax error :...
Please Sign up or sign in to vote.
17 Jan 2012
Sergey Alexandrovich Kryukov
Sorry, your questions and comments (please see above) suggest that such problem is well above your head. You need to pick much simpler assignment.Let's start from the input which is other than MIDI. The input is the digitized (sampled) dependency between the current in the coil of the...
Please Sign up or sign in to vote.
6 Feb 2012
CDP1802
SA, don't be so sarcastic :)Why don't you download this software[^]? With this you can make any 3D models you may need and export them to DirectX or many other formats.The dowside is, that you will have to read the manual and practice a while before you might come up with a model that is...
Please Sign up or sign in to vote.
6 Feb 2012
E.F. Nijboer
This is how it is done in c# for directx 9, 10 and 11:http://spazzarama.wordpress.com/2011/03/14/c-screen-capture-and-overlays-for-direct3d-9-10-and-11-using-api-hooks/[^]Here an article that also has a vb.net example:Capture Sample with DirectX and .NET[^]Good luck!
Please Sign up or sign in to vote.
19 Feb 2012
enhzflep
I can think of 3 solutions for this task. Don't know which would be the best/most appropriate for your needs.1. Use the logical XOR operation to non-destructively draw the line. Repeat to remove line.2. Load the image, draw over it, re-load when line is no longer needed3. Load the...
Please Sign up or sign in to vote.
20 Apr 2012
Clifford Nelson
Here is a site for programming games in C# and XNA: http://www.freewebs.com/campelmxna/tutorials.htm[^]. It is not very hard. A group did a simple game program at my school using C# in only a week or so.
Please Sign up or sign in to vote.
1 Jun 2012
Espen Harlinn
fwrite(&xmem...
Please Sign up or sign in to vote.
12 Jul 2012
Sandeep Mewara
There is no comparison. Media Foundation is the next generation multimedia platform for Windows that enables developers, consumers, and content providers to embrace the new wave of premium content with enhanced robustness, unparalleled quality, and seamless interoperability.DirectX Video...
Please Sign up or sign in to vote.
19 Sep 2012
brownii
g_pDirect3...
Please Sign up or sign in to vote.
26 Sep 2012
Espen Harlinn
Have a look at SlimDX[^], it's pretty feature complete.Best regardsEspen Harlinn
Please Sign up or sign in to vote.
30 Oct 2012
ridoy
You not mentioned what type of application you need to embed it,here's some for you..http://www.dotnetspider.com/resources/42801-How-Play-Videos-C-NET-WinForm.aspx[^]http://www.dreamincode.net/forums/topic/111181-adding-video-to-an-application/[^]
Please Sign up or sign in to vote.
30 Oct 2012
Thomas Daniels
You don't need to use DirectX. You can add a Windows Media Player control[^].If you do that, you don't need to add a reference to the DirectX library.
Please Sign up or sign in to vote.
5 Nov 2012
lukeer
You should have an underlying data structure with methods to change the data. Usually that is called the business logic layer.It should also declare and fire the appropriate events to inform your UI of any changes.[Edit]It's done something like that:public static class...
Please Sign up or sign in to vote.
2 Feb 2013
Matthew Faithfull
You might want to look up the Windows MediaFoundation API if you're a COM/C++ developer which is the way DirectX works best. There is a sample media player that goes with it that is really small and simple and plays swf files. I know I have it somewhere because I was using it as a reference...
Please Sign up or sign in to vote.
2 Feb 2013
Abhishek Pant
DX9 Shockwave Flash Player demo with Eventing with source[^]
Please Sign up or sign in to vote.
28 Mar 2013
Sergey Alexandrovich Kryukov
Please see: http://www.codeproject.com/search.aspx?doctypeid=1&q=%28Webcam+OR+%22Web+camera%22+OR+%22USB+Camera%22%29+%22.NET%22[^].You will find some decent solutions.—SA
Please Sign up or sign in to vote.
17 Dec 2013
SlaneR
"How to draw sprites, lines and texts, etc... more faster in 2D?"I asked this question.Someone told me "Use shader"But I have no any knowledge about shader :SSomeone know how to apply shader to render more faster?Please answer
Please Sign up or sign in to vote.
23 Jan 2014
Krunal Rohit
Did you look at here :Very fast screen capture using DirectX in C#[^]
Please Sign up or sign in to vote.
13 Jun 2014
J.Surjith Kumar
I am trying to create directshow virtual source filter. Which is to deliver the video sample of what the renderer currently displays. Exactly like what e2evcam filters does. I tried using the sample of push source filter example from the sdk, its accessing the image from the particular location...
Please Sign up or sign in to vote.
16 Nov 2014
Andreas Gieriet
Given the plane vector [n] at a given point [p], and you have an object model at the absolute origin, and you want to render the object at point [p] aligned with the plane, then you must find the following transformation:T1 = rotate the absolute x-z plane around the absolute y-axis by the...
Please Sign up or sign in to vote.
21 Feb 2015
CdnSecurityEngineer
How to think like a general
Please Sign up or sign in to vote.
2 Mar 2015
Android on Intel
The Murl Engine is a fresh and free solution for cross-platform development. It is focused on games and multimedia applications and is currently supporting Android, iOS, Windows, OS X and Linux* platforms.
Please Sign up or sign in to vote.
31 Mar 2015
OriginalGriff
Easiest way is to use the WindowsApiCodePack, which will let you just ask windows for the duration - there is a description of how to do exactly that here: How to get the length (duration) of a media File in C# on Windows 7[^]
Please Sign up or sign in to vote.
1 Dec 2015
Android on Intel
As a follow-up to Adaptive Volumetric Shadow Maps for DirectX 11, we present a port of the same algorithm adapted for Android devices that support OpenGL ES 3.1 and the GL_INTEL_fragment_shader_ordering OpenGL extension.
Please Sign up or sign in to vote.
2 Jul 2016
OriginalGriff
Have a look at this: VipsWiki[^]According to the author "It will automatically load, process and write an image in sections using many CPU cores" - so it hopefully should help you. (Libvips - VipsWiki[^])I haven't tried it myself, but it's probably well worth a look.
Please Sign up or sign in to vote.
7 Mar 2017
Ansel Castro
Describes the basic steps to render height maps using the graphics engine of Igneel
Please Sign up or sign in to vote.
16 Jun 2017
Dave Kreskowiak
Ummm...it seems you have no idea how .ZIP files work. Either that or you're doing a terrible job of describing the problem. The original path is not saved in the .ZIP. If you add folders to a .ZIP the RELATIVE path is saved. That means the files are unzipped to a path relative to where the...
Please Sign up or sign in to vote.
11 Sep 2018
EgorYusov
This article describes several strategies to update GPU resources in Diligent Engine (a modern low-level graphic library) as well as important internal details and performance implications related to each method.
Please Sign up or sign in to vote.
22 Dec 2018
EgorYusov
This article introduces the problem of resource state management and synchronization in modern graphics APIs such as Direct3D12 and Vulkan and describes a solution offered by Diligent Engine.
Please Sign up or sign in to vote.
23 Jun 2019
Shao Voon Wong
I notice that you did not set your normals, they are all zeroes. You can try setting the topology as trianglelist before setting input layout. direct3DDeviceContext->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); direct3DDeviceContext->IASetInputLayout(mInputLayout.Get()); ...
Please Sign up or sign in to vote.
27 Nov 1999
Stephane Rodriguez
A DirectDraw Framework made of template classes
Please Sign up or sign in to vote.
18 Oct 2001
Anthony Roach
An extension to the DirectX framework for adding backgrounds
Please Sign up or sign in to vote.
14 Feb 2008
Jarno Burger
How to seek and get the position and duration for your DirectShow movie with VB.NET.
Please Sign up or sign in to vote.
1 Dec 2009
Shivanand Gupta
1 alternative  
audiovideoplay...
Please Sign up or sign in to vote.
11 Dec 2009
lava555
4 alternatives  
RT.Is there a tool 4 this?thanx :)
Please Sign up or sign in to vote.
11 Dec 2009
santoshnagp999
Google it man ..u will get it.. ;P ;P ;P
Please Sign up or sign in to vote.
11 Dec 2009
santoshnagp999
Google it man ..u will get it.. ;P ;P ;P
Please Sign up or sign in to vote.
11 Dec 2009
Cedric Moonen
Your question is totally unclear :confused:. Could elaborate a bit on what you are trying to achieve (and please don't rephrase your question in another, provide additional information).
Please Sign up or sign in to vote.
11 Dec 2009
lava555
that is:there're two storage formats of .x file(txt and binary ),and now i have txt storage format .xfile,which starts as follows:xof 0302txt 0064Header```and what i want to say is:how can i get binary storage format .x file from the txt storage format file?like this:xof...
Please Sign up or sign in to vote.
27 Dec 2009
fantasyMe
1 alternative  
hello, can someone help me with this?i am new in programming :(( now, i try to use directx for my gamei found the problem that the display picture is blurscreen doesn't show clear image.first, i compared with my previous program which doesn't have any problems.i found that my...
Please Sign up or sign in to vote.
27 Dec 2009
fantasyMe
2 alternatives  
hello,can anybodody suggest me about scene's management,please?usually, i use if statement and flag to control scenes.however, when objects are too many, my way is kinda of messy.then, i think of use pointer to point function buti am not good at pointer, kinda of confusing.in...
Please Sign up or sign in to vote.
27 Dec 2009
CPallini
You may choose an object oriented approach, making a well pondered class hierarchy, expoiting polymorphism. However you do need to know OOP. :)
Please Sign up or sign in to vote.
1 Jan 2010
David Lebee
1 alternative  
extern IDirect3DDevice9* g_pd3dDevice;void MainFrame::TakeScreenShot(){ // f***ing find a way to do this alreadY GRR O_O IDirect3DSurface9* pSurface; g_pd3dDevice->CreateOffscreenPlainSurface(800, 600,D3DFMT_A8R8G8B8, D3DPOOL_SCRATCH, &pSurface, NULL); ...
Please Sign up or sign in to vote.
8 Jan 2010
Mijnendatum
1 alternative  
Hi, I'm working on a small project C# project where I want to play MP3 files on a specific output device. I already found a project here where this was possible for WAV files using DirectSound (The ultimate Managed DirectSound 9 Tutorial. Part 1: a full introduction to Playback[^]) but this...
Please Sign up or sign in to vote.
8 Jan 2010
Kythen
I don't think DirectSound has any built-in MP3 decoder. You'll have to use a third-party library to do that. The BASS audio library[^] has a good reputation and a .Net version that you can use.
Please Sign up or sign in to vote.
11 Jan 2010
Graham Breach
For D3DX* functions, you need the d3d9x* includes (and to link with the d3dx9.lib).Try: #include
Please Sign up or sign in to vote.
18 Jan 2010
Graham Breach
It could be that your pixel coordinates are off by 0.5 - try reading through this:Directly Mapping Texels to Pixels[^]
Please Sign up or sign in to vote.
29 Jan 2010
John Mealing
1 alternative  
downloaded the VideoCapture tutorials, opened tutorialDS3.zip, but cannot build it because the csPlayCap.resx file is missing. Any help locating it will be deeply appreciated.Thanks in advance.jmealing3@verizon.net
Please Sign up or sign in to vote.
29 Jan 2010
John Mealing
My bad! There are no controls on the form, so just create a dummy project with an empty form, move the form to the correct directory and rename it to csPlayCap.resx. The tutorial grabs the camera output and streams it straight onto the form. :sigh:
Please Sign up or sign in to vote.
19 Feb 2010
ondesly
1 alternative  
Hello!I have texture from png-file with alpha channels. I draw these texture as sprite.On the emulator everything works very well, but on the device i get full transparency or non-transparency. Alpha values larger than certain value (about 30) will all interpreted as...
Please Sign up or sign in to vote.
20 Feb 2010
ondesly
I checked DirectX on WM 6.5 emulator. DirectX works bad on it too.It means that Sprite don't draw alpha on WM 6.5.Does anybody know how to solve this problem?
Please Sign up or sign in to vote.
3 Mar 2010
TRPatil
you can use scene graphs to manage your scene..this can be helpful for you to render specific objects..you can use libs like open scene graph and many available on interenet.
Please Sign up or sign in to vote.
20 Mar 2010
pelly Tang
1 alternative  
I am having with this code. Any idea?using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using Microsoft.DirectX;using Microsoft.DirectX.Direct3D;namespace RailwaySimulator{ public partial...
Please Sign up or sign in to vote.
20 Mar 2010
OriginalGriff
Where is the error actually occurring?Is there any more information with the message, or just "Error in the application"?Is it on any particular line? Or does it just happen as soon as you start to run the app?Have you tried putting a break point at the start of Main, and single stepping...
Please Sign up or sign in to vote.
21 Mar 2010
yingkou
I want to know whether directx support to play sd audio file?for details: DirectSound has a interface of IBaseFilter that support to play WMA file(by CLSID_CAsfAcmHandlerObject)、support to play Wave file(by CLSID_WAVEParser),then support to play sd audio file(by what???)
Please Sign up or sign in to vote.
25 Mar 2010
aquanar
I actually just have a rather small question, but I have had the HARDEST time finding information about it.Assuming we have a 3-axis joystick being connected via USB to a Windows XP computer, and it is being handled by directx, my question is how is the data for the axes...
Please Sign up or sign in to vote.
26 Mar 2010
Sharjith
This is a problem commonly called as Hidden Line Removal (HRL). There there are trivial tricks to simulate HLR (in OpenGL), one of which is using polygon offset and drawing the offseted object with background color in solid mode and the original object in wireframe mode. However this will...
Please Sign up or sign in to vote.
4 Apr 2010
Rod Kemp
To find information regarding the DirectX SDK and Windows Media Format SDK a quick Google (or Bing) search finds the MSDN pages for them which also contain sample code;Windows Media Format 11 SDK[^]DirectX Developer Center[^]Also a quick search of this site found;Various methods for...
Please Sign up or sign in to vote.
9 Apr 2010
Steven Foxton
Hi All,Basically im trying to make something the same as the below project.Play Audio Files with DirectSound and Display its Spectrum in Real Time - Part 3The main difference is that where he plays an mp3, wav etc file. I want to capture the Audio Output and use that instead (while...
Please Sign up or sign in to vote.
27 Apr 2010
Xeqtr
Try to add this line:g_pd3dDevice->SetRenderState( D3DRS_STENCILPASS, D3DSTENCILOP_INCR );
Please Sign up or sign in to vote.
23 May 2010
umesh.joshi5
2 alternatives  
. "BADIMAGEFORMATEXCEPTION". is not a valid Win32 application. (Exception from HRESULT: 0x800700C1). this exception occurs when i m trying to run my code. i m using visual studio 2005. i have included all namespaces required. but i m not able to include certain dlls i.e ...
Please Sign up or sign in to vote.
23 May 2010
#realJSOP
Is this a .Net app? What language? What platform (32 or 64-bit)? What OS? Without that info, we can't possibly help you.
Please Sign up or sign in to vote.
28 May 2010
pawelcio
1 alternative  
Hi,I have written a simple app using DirectX 10. Everything works fine. But I have moved my app to other computer and try to run it. Then info has popped up that I need a D3DX10d_42.dll file. I don’t want to install DirectX on that computer. So I have copied this dll and it's fine. My...
Please Sign up or sign in to vote.
4 Jun 2010
muralekarthick
1 alternative  
Hi I am new to C++ world, I am trying to compile a project which is developed in 2000, which works in directx9.0.I am getting fatal errors c1083:fatal error C1083: Cannot open include file: 'dxerr9.h': No such file or directory fatal error C1083: Cannot open include file:...
Please Sign up or sign in to vote.
8 Jun 2010
salocinx
2 alternatives  
HelloI am trying to make a fullscreen DirectX application with C#. In my mainloop I call Application.DoEvents() that Windows can process the KeyEvents... If I do so, I get a "InvalidCallException". I don't have the problem when I run the application in non-fullscreen-mode.Could anyone...
Please Sign up or sign in to vote.
8 Jun 2010
Andrew Rissing
Can you take out the Application.DoEvents() call and have it work in full screen?It you can't, then you need to change your present parameters.Ex.presentParams.Windowed = false;See the following link[^].It might help if you provide more information on the exception as well.
Please Sign up or sign in to vote.
8 Jun 2010
salocinx
If I ommit the Application.DoEvents() call, the app is working in fullscreen mode, but the OnKeyPress(KeyPressEventArgs e) is not working anymore since windows seems not to have any resources left vor event-handling.If I turn on the Application.DoEvents() call, I get this...
Please Sign up or sign in to vote.
10 Jun 2010
muralekarthick
1 alternative  
Hi, I am trying to work in project which was developed in 2000, in VC++, when I try to build the project in VS2008, I get multiple error related to directx, i added path to directx through tools-> project and options-> VC++ directories, adding path to directx. Stil I get numerous errors...
Please Sign up or sign in to vote.
10 Jun 2010
Richard MacCutchan
muralekarthick wrote:Error: 108 fatal error C1083: Cannot open source file: '.\dsutil.cpp': No such file or directory c1xxWhich part of this message do you have a problem with? You have the expected path, the name of the file and the fact that it is not where the compiler expects it. Take a...
Please Sign up or sign in to vote.
21 Jun 2010
sdyy
1 alternative  
In Win7 touching edit box on screen then I can get a small picture to let me call osk (on screen keyboard). But in DirectX app all objects are pictures not true edit box, so I get nothing. I can just call osk by ShellExecute, but I want like an usual app in win7. So how can I call osk in DirectX...
Please Sign up or sign in to vote.
23 Jun 2010
parthapal
2 alternatives  
Can i use OGRE3D without DirectX SDK?I want to use OGRE3D with OpenGL as i don't have DirectX SDK installed.
Please Sign up or sign in to vote.
23 Jun 2010
OriginalGriff
Wiki[^] says yes:Wikipedia wrote:OGRE is fully multi-platform, with OpenGL and Direct3D support. It can render the same content on different platforms without the content creator having to take into consideration the different capabilities of each platform. This reduces the complexity of...
Please Sign up or sign in to vote.
29 Jun 2010
sdyy
Use Text Input Panel and setup InPlaceVisibleOnFocus and SetInPlaceHoverTargetPosition.http://msdn.microsoft.com/en-us/library/ms700673(v=VS.85).aspx
Please Sign up or sign in to vote.
3 Jul 2010
btap_644
1 alternative  
Hi, I tried to recreate the BitmapMixer sample from Directshow.NET in VS 2010 (The original sample works fine) and got the following errors in the Form1.csError 1 The name 'MainForm_ResizeMove' does not exist in the current context C:\Documents and Settings\TLNA\my documents\visual studio...
Please Sign up or sign in to vote.
3 Jul 2010
btap_644
1 alternative  
I got the code below from the bitmapmixer sample (DirectShow.NET) and i tried to reimplement it. The original sample works fine. In my version when I try to compile i get errors.private void AddHandlers() { // Add handlers for VMR purpose this.Paint += new...
Please Sign up or sign in to vote.
3 Jul 2010
Estys
Your previous question already covered the problem.All the methods and/or names present in the error messages need to be reachable by the compiler either through definition in your code or by reference to the assembly and namespace.Cheers
Please Sign up or sign in to vote.
3 Jul 2010
btap_644
Answer can be found at http://stackoverflow.com/questions/3171507/the-name-marshal-does-not-exist-in-the-current-context/3171515#3171515
Please Sign up or sign in to vote.
18 Jul 2010
CoolC22
1 alternative  
Ive tried out using the direct3d classes for the first time. My goal is to create a 3 dimensional land where you can basically walk around (what they call camera views). How do I initialize a class in where I can just write a code like the Gdi drawing surface actions? You dont need to give me...
Please Sign up or sign in to vote.
20 Jul 2010
net3g
1 alternative  
I want to Hook the Snapshot Key Message that the Webcam sent to the system by the driver, so I can do something when the Message is arrival, thanks.
Please Sign up or sign in to vote.
21 Jul 2010
E.F. Nijboer
SetWindowsHook...
Please Sign up or sign in to vote.
30 Jul 2010
Steven Foxton
1 alternative  
Hi Everyone.Im building an project using Visual studio 2008 express c#. Basically im trying to catch audio via directsound on Window 7 x64 using the below code but it is giving me the error:BadImageFormatException is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)Can...
Please Sign up or sign in to vote.
2 Aug 2010
Jan Kluson
1 alternative  
Hi Daniel, I would like very much to try your DirectShowTutorials but the file which I have downloaded from codeproject.com I cannot open, probably it is corrupted. Please could you send it me. Many thanksJano Kluson[Email-id removed to avoid spam]
Please Sign up or sign in to vote.
2 Aug 2010
Sandeep Mewara
It looks like you want to ask this question to an author related to his/her article. I would suggest you to please use the forum present at the end of the article in order to reach author and get quick response. Rarely you will find authors reading this forum. Please post the same at the...
Please Sign up or sign in to vote.
3 Aug 2010
Jarno Burger
you use slimdx : http://slimdx.org/you have to get the handle of the form / usercontrolyou couple the eventsyou then create the device using that handleyou have made a gameloop (build/render/messages/handle events)you have create a custom interface for each object (like a 3d...
Please Sign up or sign in to vote.
5 Aug 2010
AlexlyBlue De Lu
2 alternatives  
evening,I'm not good in english, so I try to explain my question as simple as I can.I got a .x format mesh which was exported from 3ds max, and used uvw onwarp mapping.Could I get the w value from vertex buffer when I load this x file into memory?or any other way to get...
Please Sign up or sign in to vote.
11 Aug 2010
Thomas Krojer
You said so, but did you set the "Target Platform" property in the property page or the Combobox on the mainform of the ide?
Please Sign up or sign in to vote.
19 Aug 2010
spikedragonking
1 alternative  
how do i switch the lights ?? the code for this proj is below.//main.cpp#include "base.h"int starttime = 0;bool btype= true;bool btorus = false;bool bsphere = false;bool bcube = false;bool bteapot = false;bool bcylinder = false;int dirx;int diry;int...
Please Sign up or sign in to vote.
30 Sep 2010
rwg
In reference to Rob Graham: Hmmm, I googled this "attempting managed execution inside OS Loader lock" problem and found this answer in CodeProject!!!!!Anyway, I had the error message on another third product DLL. My program had been compiling and working fine. Then I did a full build and...
Please Sign up or sign in to vote.
5 Oct 2010
lrroberb
3 alternatives  
Hi,I want to program a simple card game in VB.NET. When I first did it in 2003 (In regular VB) I used PictureBox. But now a want a bit more advanced version were cards can rotate. The more I look into the subject the more I get confused. GDI is more advanced but does not have rotation....
Please Sign up or sign in to vote.
20 Oct 2010
Kozlov_Sergey
4 alternatives  
I have read presentation from NVidio about NVidia 3D Vision.I have got monitor, video board, glasses.I use the render video filter to display video in full screen with the simple video player.In this filter the image is drawing using Direct3D surfaces.I load it from IMediaSample to two...
Please Sign up or sign in to vote.
12 Oct 2010
Richard MacCutchan
See my answer to your question about bezier curves.
Please Sign up or sign in to vote.
12 Oct 2010
Richard MacCutchan
See my answer to your bezier curve question.
Please Sign up or sign in to vote.
12 Oct 2010
Sauro Viti
You have a sample about doing it just inside the DirectX SDK: see THIS[^] for more details...
Please Sign up or sign in to vote.
12 Oct 2010
Sandeep Mewara
Here is what is expected by enquirers:1. TRY first what you want to do!2. Formulate what was done by you that looks like an issue/not working. Try them and tell if you face issues.Members will be more than happy to help like this.
Please Sign up or sign in to vote.
12 Oct 2010
Sandeep Mewara
Please dont repost and make some effort from your side instead of asking for code/sample.
Please Sign up or sign in to vote.
12 Oct 2010
The Manoj Kumar
This should help you :) Bezier Curve DirectX[^]
Please Sign up or sign in to vote.
17 Oct 2010
Khaniya
1 alternative  
There are Primitives types enum in DirectX that contains Point, Line, LineList, LineStrip, Triangle, TriangleFan, TriangleStrip...I can find only Triangle in WPF 3D.Then how to draw point, line , or wired object using WPF.If I do not supply material then I cannot see anythingThanks
Please Sign up or sign in to vote.
20 Oct 2010
Kozlov_Sergey
My second filter displays stereo image, when video consist of two images: left and right together.The question is: "Why sometimes aplication hangs when switching mode to windowed on the line with gImageSrc->Release();?"The code of rendering function is here:HRESULT...
Please Sign up or sign in to vote.
20 Oct 2010
Kozlov_Sergey
1 alternative  
Hello.I have an error, when switching to winowed mode, in the line, where the surface is releasing:gImageSrc->Release();Can you help me?The surface is IDirect3DSurface9* gImageSrc = NULL; local_handle_result = direct_3D_device->CreateOffscreenPlainSurface( ...
Please Sign up or sign in to vote.
24 Oct 2010
Kozlov_Sergey
Program begun work. I think someone removed errors from Direct 3D. Becouse i only build project at home and test it.
Please Sign up or sign in to vote.
26 Oct 2010
vithalgk
Hi,Thanks for suggestions. I checked all the rules for stretchrect and following them also. Here after creating the plain surface i tried to write as image file, its also not coming correct as the main screen. some junk data is coming with the main screen data. Not getting where i am doing...
Please Sign up or sign in to vote.
26 Oct 2010
vithalgk
hi,ss i checked the surface modification and i was able to see the changes by saving to the .jpg file also. ones i come to stretchrect method i am getting the error.One more doubt I have if I take a plain surface object, is that object contains the updated surface or its an just a plain...
Please Sign up or sign in to vote.
26 Oct 2010
Kozlov_Sergey
2 alternatives  
I make video renderer filter with saving video resolution of video film. In windowed mode it works fine. In fullscreen mode (NVidia 3D Vision) image is rendering in the center of screen with source video resolution of video film with half of the width of source video film, when the images are...
Please Sign up or sign in to vote.
27 Oct 2010
Kozlov_Sergey
NVidia does something after me with back buffer.
Please Sign up or sign in to vote.
28 Oct 2010
Kozlov_Sergey
1 alternative  
How can i stretch one IDirect3DSurface9 to other?Function IDirect3DDevice9::StretchRect does not work with offscreen surfaces.
Please Sign up or sign in to vote.
29 Oct 2010
vithalgk
1 alternative  
Hi,I am using directx graph plotting in my wpf application. I am using using D3DIMAGE for using the directx screen in wpf window. But i am facing the flickering issues for the Menu's that fall under directx area.If any of you faced and solved this problem please give me suggesion.Thanks...
Please Sign up or sign in to vote.
1 Nov 2010
Kozlov_Sergey
I have used local_handle_result = direct_3D_device->CreateRenderTarget( local_view_port_size.cx*2*ratio_x, local_view_port_size.cy*ratio_y, D3DFMT_A8R8G8B8, D3DMULTISAMPLE_NONE, 0, TRUE,...
Please Sign up or sign in to vote.
1 Nov 2010
Kozlov_Sergey
I have used source surface stretch if(1.0*(cxImage/2)/cyImage ...
Please Sign up or sign in to vote.
27 Nov 2010
Cedrickdeorange
Have a look at the cardgame starter kit on Microsoft. It might help, but at least you have the playing card pics.Hope it helpsRegards Zelacat
Please Sign up or sign in to vote.
27 Nov 2010
jamadeusx
3 alternatives  
Hi,I am developing a DirectX application in C# and I want to draw a Mesh object which is composed of about 240 vertices. I use DirectX 9.0c. Although, I have enabled AutoDepthStencil, and I clear my ZBuffer properly, I get an incorrect visual result. Some of the surfaces, that must reside...
Please Sign up or sign in to vote.
27 Nov 2010
xcorporation
Get Microsoft XNA Game Studio.Drop DirectX when you use C# - it'll be the best thing you'll ever done for yourself.
Please Sign up or sign in to vote.
28 Nov 2010
Jefis
Nonsense. Use SlimDX.Check for CullMode. I think that your vertices isn't properly setted up.
Please Sign up or sign in to vote.
28 Nov 2010
jamadeusx
Actually, cull mode is CCW. And I ve created mesh data and normals for that cull mode. There are two images which show the screenshots of problematic render. Below are the links:The front view of the object : http://img152.imageshack.us/i/frontb0.jpg/The rotated view (which is obviously...
Please Sign up or sign in to vote.
3 Dec 2010
Member 3880839
3 alternatives  
Hi Guys,I'm porting a video capture project from c# to vbnet, but i've some problem to understand this code and i can't to translate to VBNet.I'm using DirectX.Capture and DShowNET librariesThe original code and sample is...
Please Sign up or sign in to vote.
3 Dec 2010
#realJSOP
Should go something like this:private Sub button1_Click(object sender, System.EventArgs e) handles button1.Click AddHandler me.capture.FrameEvent2, Capture.HeFrame(this.CaptureDone) me.capture.GrapImg()End Subprivate Sub CaptureDone(System.Drawing.Bitmap e) ...
Please Sign up or sign in to vote.
3 Dec 2010
Member 3880839
Hi John, i tried your solution but the debug says this error:AddHandler .CaptureInfo.FrameEvent2, AddressOf.CaptureInfo.HeFrame(Me.CaptureDone)'HeFrame' is a type in 'DirectX.Capture.Capture'Argument not specified for parameter 'e' of 'Private Sub CaptureDone(e As...
Please Sign up or sign in to vote.
3 Dec 2010
CRayGoodwin
Custom windows control that mimics Windows 7 diming & asynchronous aero progress animation
Please Sign up or sign in to vote.
9 Dec 2010
Kozlov_Sergey
1 alternative  
Why IDirect3DSurface9::LockRect works very slow?What parameters should i use to make IDirect3DSurface9::LockRect work fast?I use Render Target surfaces because of StretchRect.
Please Sign up or sign in to vote.
13 Dec 2010
Kozlov_Sergey
I have used DYNAMIC texrures (D3DUSAGE_DYNAMIC) for 1 call. So i have got 34 % speed increase.local_handle_result = direct_3D_device->CreateTexture( cxImage, cyImage, 1, D3DUSAGE_DYNAMIC, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, ...
Please Sign up or sign in to vote.
15 Dec 2010
Manfred Rudolf Bihy
Your issue has to do with the instance of class video. You have tell it where it can render the video (video.Owner = ). Second the code you posted looks a bit weird as the declaration and initialization of Video v is inside the class and not inside a method. I don't know if that was what you...
Please Sign up or sign in to vote.
20 Dec 2010
Kozlov_Sergey
Dynamic tecture must be created to lock.
Please Sign up or sign in to vote.
20 Dec 2010
Kozlov_Sergey
All data should be stored in dynamic texture and then i can be stretched.
Please Sign up or sign in to vote.
30 Dec 2010
Espen Harlinn
Fast gdi animation:http://www.daniweb.com/code/snippet241875.html[^]If that doesn't help you can try to create a wpf UserControl and use System.Windows.Forms.Integration.ElementHost to integrate that with your forms application. Slide.Show[^] could be used as a starting pointIf you...
Please Sign up or sign in to vote.
8 Jun 2011
Kozlov_Sergey
1 alternative  
How can i present 2 video images with NVidia 3D Vision for DirectX 10 and 11?For DirectX 9 it works.Stereo 3D NVidia 3D Vision is enabled in control panel.For 3D Video with DirectX 9 there is a presentation.What about presentation about 3D Video with DirectX 10 and 11?
Please Sign up or sign in to vote.
5 Feb 2011
ifithegr8
1 alternative  
I am using DirectX.Capture and DirectShow. Using existing project DirectX.Capture Class Library[^].I want to add water mark in it. Is it possible? If yes, how?
Please Sign up or sign in to vote.
8 Feb 2011
Sergey Alexandrovich Kryukov
There is no such thing as "crashing". What exactly happens and when? Catch exception, dump exception information, make sure you indicate in what line(s) exception is thrown. What do you mean "again"? Release is not called when m_3d_device is NULL; when it's called on already released problem,...
Please Sign up or sign in to vote.
17 Feb 2011
LaxmikantYadav
Please check the following link it might help youhttp://www.gamedev.net/topic/312957-lost-device-in-d3d/
Please Sign up or sign in to vote.
3 Mar 2011
thefiloe
Hey i m using this project DLL Source For Buffer-based MP3 Decoding[^]to decode a mp3 in a livestream and so i want to play it. but how can i write the output to a stream in directsound. Please help i cant find anything... have been using google 4 four days now
Please Sign up or sign in to vote.
20 Mar 2011
Sergey Alexandrovich Kryukov
I suggest you use pure WPF 3D capabilities instead.It is not clear why using interoperability (System.Windows.Interop.D3DImage). However, if your still need it (legacy or other reasons), you need to show your code.—SA
Please Sign up or sign in to vote.
21 Mar 2011
CDP1802
And another good link:http://www.riemers.net/[^]
Please Sign up or sign in to vote.
21 Mar 2011
XNAndroid
3 alternatives  
HiI'm beginner in game programming and I need some good resources to start(some books or video tutorials and examples). I need the fastest way to learn it(XNA and DirectX games or even something else). So if you can give me something to start with fast I'll be grateful. Yeah and I would like...
Please Sign up or sign in to vote.
21 Mar 2011
fjdiewornncalwe
For XNA stuff I would go here. You can download sample games to learn from and has a pretty good user community as well.
Please Sign up or sign in to vote.
25 Mar 2011
Lasse TM
1 alternative  
I need a function that return if a certain point is inside a directx 3d model(.x)...I have tried but i can´t get it to work so i need some help.Something like this:public bool IsInsideModel(Vector3 point, Model model){ //This would of course be nice but i don't think such...
Please Sign up or sign in to vote.
21 Mar 2011
sardar.nale
Can i capture video through website application
Please Sign up or sign in to vote.
21 Mar 2011
JBenhart
1 alternative  
Hello all,I have search everywhere. I am trying to create a joystick event similar to a mouse click etc but all I can find is joystick polling (using a timer to check the state of the joystick.)I am using vb.net and DirectX input. Is it possible to create a class that can create a...
Please Sign up or sign in to vote.
21 Mar 2011
CDP1802
The good news: it can be done. The bad news: A precise test is computationally expensive and therefore probably too slow to be of any use in real time rendering.First off, it works only on convex objects. Concave objects would have to be broken down into two or more convex objects and then...
Please Sign up or sign in to vote.
22 Mar 2011
Sergey Alexandrovich Kryukov
DirectX input for joystick work is a different way. You can create an Event (EventWaitHandle for .NET API) object which is set by the joystick driver interrupt on every input event. You can write code which fires events.Here is how: Create the input event object. Create a thread; in this...
Please Sign up or sign in to vote.
22 Mar 2011
mbue
Its a long time ago at DX7. At this time we have to gain a new back- and frontbuffer if the viewport size has changed. But thats no problem: the meshes and textures still exist anyway.But dont ask me for code, im afraid that i couldnt find it.Regards.
Please Sign up or sign in to vote.
26 Mar 2011
Dotan Asselmann
How can I add custom metadata to my IMediaSample buffer on the same pin, without having problems to connect with commercial filters ?
Please Sign up or sign in to vote.
26 Mar 2011
vishnulalr
private void openMJEPGFileItem_Click( object sender, System.EventArgs e ) { URLForm form = new URLForm( ); form.Description = "Enter URL of an MJPEG video stream:"; form.URLs = new...
Please Sign up or sign in to vote.
9 Apr 2011
drkwlf
The only feesible solution I was able to find was to combine the two classes. If anyone else finds a better way PLEASE let me know I like to keep my code compartmentalized(or however you spell it).Thanks again for taking a look at my situation and thank you Richard for your help.--Steve
Please Sign up or sign in to vote.
18 Apr 2011
Sergey Chepurin
I should only add to the post of krmed that this linking libraries are called: - static link library - MSDN: When an application uses a function from a static-link library, the linker copies the code for that function into the application's executable file, and - dynamic link library (DLL) -...
Please Sign up or sign in to vote.
25 Apr 2011
Himansu sekhar bal
http://msdn.mi...
Please Sign up or sign in to vote.
28 Apr 2011
chris4562
yes, but with a different approach. A pixel shader from what I have read takes 1 pixel in and provides either none or some pixels out, whereas your function modifies a whole surface at once. The actual pixel shader function would effectively do one iteration of the outer loop; and global...
Please Sign up or sign in to vote.
28 Apr 2011
Kozlov_Sergey
Here is the function HLSL shader from c++ funtion[^]
Please Sign up or sign in to vote.
3 May 2011
Member 4013784
Hi, I wanted to find a way to capture DVD/CD playing video data before actually it gets displayed. I have read some where that using direct-x we can achieve this but not sure. Please let me know if it is possible.Any pointer or hint will be highly appreciable.
Please Sign up or sign in to vote.
8 May 2011
Sergey Alexandrovich Kryukov
How can Direct2D and Direct3D can be alternative to each other? (Yes, I would recommend usign Direct2D and/or Direct3D.) It depends on character of graphics you want to create. Of course you can always model 3D objects and render them as 2D projections; depending on the problem, it may or may...
Please Sign up or sign in to vote.
8 May 2011
ronhash
1 alternative  
Hello,We had an application that used DirectDraw for drawing many pixels directly to the video memory at a high rate.As there is no more MS support for DirectDraw, we want to refresh this code.Does anyone any suggestion what is the best replacement? Direct2D? Dierct3D? DIB?We are in...
Please Sign up or sign in to vote.
9 May 2011
Andows
A friend of mine found the problem. The bytes in the stereo signature were in reversed order. Here is the correct order: byte[] data = new byte[] {0x4e, 0x56, 0x33, 0x44, //NVSTEREO_IMAGE_SIGNATURE = 0x4433564e; 0x00, 0x0F, 0x00, 0x00, //Screen width * 2 = 1920*2 = 3840 =...
Please Sign up or sign in to vote.
18 May 2011
venkyrv143
1 alternative  
I need to load a mesh(.x) file in vc++windows forms and display in the form window. Can any one guide me how to load and display (.X) files in vc++ windows formsThanks,Venky
Please Sign up or sign in to vote.
22 May 2011
vithalgk
2 alternatives  
Hi all,I am using directx to plot graph in WPF. Here D3dIMAGE i am using to render directx interface. My plotted graph is correctly visible in normal CRT monitor but same is not visible properly in Touchscreen monitor. Here vedio driver is same and board is same and only monitor is giving...
Please Sign up or sign in to vote.
22 May 2011
Sergey Alexandrovich Kryukov
Do you use raw DirectX in WPF? Why? WPF itself provides you with everything to do plotting; its implementation is already based on DirectX. Just use WPF imaging capabilities and stay out of trouble.Plotting is a routine type of problems for WPF; WPF is perfectly equipped to solve...
Please Sign up or sign in to vote.
31 May 2011
ryan20fun
1 alternative  
Hi All.all of a sudden IDirect3D9::CheckDeviceType fails no matter what fomrat i give to it, even D3DFMT_UNKOWN.even if it says not supported, i set it to the format i gave to it aand it works.anybody know how to fix this?Many Thanks in Advance---edit---i tried using a slightly...
Please Sign up or sign in to vote.
3 Jun 2011
Anshul R
Use WPF. Set ForeColor Property.
Please Sign up or sign in to vote.
5 Jun 2011
Holc
Hi allI was wondering and I know it is stupid but is there a way to make DirectX (directinput) not to see my mouse and/or keyboard, and I do not mean code wise like to code an app that doesn't use Directinput. I mean OS wise, to sabotage my PC so that any app using directinput can't see the...
Please Sign up or sign in to vote.
7 Jun 2011
Pramslam
1 alternative  
I am trying to add a tiled texture to the floor. The texture does not show up, instead all the vertices are showing, and the ball now has a floor that follows it's bounce. Any help would be appreciated.//within winmain pGrid->CreateDirectXMesh(pd3dDevice); ...
Please Sign up or sign in to vote.
7 Jun 2011
Anthony Mushrow
I can't see what's happening inside of DrawDirectXMesh but If you can only see the vertex points instead of the actual faces that I can only assume it's rendering with D3DPT_POINTLIST instead of D3DPT_TRIANGLELIST. It might be easier to set up the vertices for the floor yourself and then render...
Please Sign up or sign in to vote.
16 Jun 2011
pucx
1 alternative  
I set private Video MyVideo=null; .......(Omit some of the irrelevant) MyVideo.Owner = panel1; I want to play full screen by double-clicking to play goal, so with panel1_MouseDoubleClick () function to achieve, but in a real play, panel1 double-click event has been impossible, it...
Please Sign up or sign in to vote.
16 Jun 2011
ambarishtv
try this waypublic partial class Form1 : Form { public Form1() { InitializeComponent(); panel1.Dock = DockStyle.Fill; } private void panel1_DoubleClick(object sender, EventArgs e) { if (this.WindowState...
Please Sign up or sign in to vote.
16 Jun 2011
pucx
I set the video's owener to a panel control.When I change the size of the control panel when I want the video aspect ratio remains the same.For example, the original ratio of 4:3 video to video, then I resize the control after the video playback screen size is still 4:3.Not filled part of the...
Please Sign up or sign in to vote.
17 Jun 2011
joe628aa
Hi there,I've just started using directx for my windows mobile application and i ran into a little problem that i could not solve so far.I'm trying to draw a polygon with complex coloring (like linear gradient) and i thought that if i create a rectangle 'behind' the polygon with the wanted...
Please Sign up or sign in to vote.
19 Jun 2011
pucx
1 alternative  
C # video player by using directx, set its owener to a form panel control.I want to use the mouse hook to capture mouse double click event, but I do not know how to restrict in the playback screen when I double-click for the appropriate action.No matter where I am now double-click will perform...
Please Sign up or sign in to vote.
7 Jul 2011
bat3a
2 alternatives  
OK i got a viewport3d and i have slimDX sdk, i searched through the code to know how to render the viewport3d using slimDX, and found nothing, basically i'm trying to hardware render a viewport3d which has some 3d object, to an image to save.or if anyone got a better solution than slimDX,...
Please Sign up or sign in to vote.
23 Jun 2011
pucx
I use C# and directx to develop a video player, I want to achieve the rotation, such as 90 degrees, 180 degrees so that how to achieve it? Thank you. I put the video owener set inside a panel control.
Please Sign up or sign in to vote.
29 Jun 2011
Member 8027520
1 alternative  
Hello everyoneHow do i access the TRANSFORMED pixel data for a texture, after it has been transformed by D3DXMatrixTransformation2D() and texture->SetTransform()?I'm trying to do 2D pixel perfect collision detection and it's impossible if you can only access the untransformed pixel data...
Please Sign up or sign in to vote.
30 Jun 2011
S Houghtelin
D3DXVECTOR2 trans(0, 0);Where trans(X,Y)
Please Sign up or sign in to vote.
1 Jul 2011
Member 8027520
Let's put it this way: is it even possible to D3DXSPRITE->Draw to an off-screen surface? or just to the backbuffer?if somebody can link a tut or post complete code that'd rule
Please Sign up or sign in to vote.
1 Jul 2011
S Houghtelin
Here...http://www.toymaker.info/Games/html/sprites.html[^]Regards
Please Sign up or sign in to vote.
6 Jul 2011
no_-_namee
1 alternative  
The Article is:DirectX.Capture Class Library[^]I could't find the DirectX.Capture.dll and DShowNET.dll dlls.Where can I fid it ?Thanks for your answers in advance..
Please Sign up or sign in to vote.
6 Jul 2011
fjdiewornncalwe
You should post your question at the bottom of the article in question. It is good that you have linked to it, but the author will not see your question here unless they just happen across it.You may or may not get a response from him though, as the last time Brian left a message was back in...
Please Sign up or sign in to vote.
6 Jul 2011
RedDk
Alt+PrtSc? Possibly SendKeys{} in a script? wscript or vbscript ...
Please Sign up or sign in to vote.
29 Sep 2011
scocioba
1 alternative  
Whats the best way to make a crosshair that is bounded by the size of the image box it is on top of? Its will be moved using a joystick. Its for the HUD of an ROV im working on. The crosshair needs to be able to return an x and y coordinate and its location to be determined by the joystick x and...