|
|
|
When do ID3D10Device::OMGetDepthStencilState() output an NULL poin
Sun, 18 May 2008 23:47:02 -0700
Hi,
Recently, I need to store the original depth stencil state, turn off the
depth test, and then restore the state back after some rendering tasks. So I
wrote the following code:
//somewhere in the global scope
ID3D10DepthStencilState *gpDstDefault, *gpDstNoDepth;
ID3D10Device *gpDev;
//in a function
...
|
making a d3d.dll
Thu, 15 May 2008 08:33:02 -0700
hi im making a d3d.dll adding a .cpp to it containing this source,,,
HRESULT APIENTRY hkIDirect3D8::CreateDevice(UINT Adapter,D3DDEVTYPE
DeviceType,HWND hFocusWindow,DWORD BehaviorFlags,D3DPRESENT_PARAMETERS*
pPresentationParameters,IDirect3DDevice8** ppReturnedDeviceInterface)
{
HRESULT hRet = m_pD ...
|
Drawing cuboids with DirectX
Thu, 15 May 2008 12:13:24 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm quite unexperienced with DirectX and want to write a simple C#
program which is able to draw some cuboids in a 3D environment. All
cuboids have the same size.
- - How can I draw the cuboids in wireframe mode? (One should be able to
see the cuboids lo ...
|
Two Independent windows on dual monitors
Wed, 14 May 2008 01:44:01 -0700
Hi
I have an application that uses DirectX 9 to draw a complex image in a
windowed application.
Now I want that window to be duplicated on the second monitor in a dual
monitor system.
How do I most efficiently do that?
I think the best way is to render the image to a texture and then use
StrechRect to co ...
|
how do I convert "vso, pso, fxo" back to asm code ?
Tue, 13 May 2008 01:41:02 -0700
how do I convert "vso, pso, fxo" back to asm code ?
I want to analize vso, pso, fxs files of some games.
some kind of reverse engineering !
is there any way to do this ?
thanks. ...
|
how to replace DrawSubset function by DrawIndexedPrimitiveUP or DrawPrimitiveUP function
Mon, 12 May 2008 18:06:01 +0700
hi all,
I want try to change function use to render object load from X file.
last time i use : DrawSubset now i want to use
DrawIndexedPrimitiveUP or DrawPrimitiveUP to render mesh, following is my code:
LPD3DXMESH pDrawMesh = (meshContainer->pSkinInfo) ? meshContainer->exSkinMesh: meshContainer->MeshData.pM ...
|
D3DXCreateText and underline and strikethru
Sun, 11 May 2008 20:47:27 -0700 (PDT)
Does D3DXCreateText work when the LOGFONT specifies underline and/or
strikethru. I am having trouble gettting it to work. ...
|
|
|
keeping a surface even when display mode changes
Sat, 10 May 2008 12:19:02 +0200
Hello,
I have an rather unusual issue. There are defects in the video RAM of my
graphics card (visible under certain cirumstances, checked with VRAM
testing program). Now I'm trying to reserve the defect region (only a
very small portion) via DirectX.
It seems to work since I observe getting some differenc ...
|
Locking a surface with a locklevel
Fri, 09 May 2008 19:55:42 -0500
The book I've been using to get the basics on DirectX glosses over the
use of the locklevel when locking a surface. Could someone please
tell me what the purpose of this parameter is? Does it reflect
multiple locking of different areas by the same program?
--
TIA
Lilith ...
|
Drawing on top of video
Fri, 9 May 2008 03:23:52 -0700 (PDT)
Hi,
I am playing video in Direct X 9, using AudioVideoPlayback.Video, I
would like to be able to draw a line on top of the video. I cant
get .Net drawing class to paint on top of the video, I have had a look
around the various Direct X classes, including the drawing one, but
cant see anything that would draw a ...
|
|
|