accessing constant buffers, shader resources, etc.
Fri, 29 Feb 2008 04:14:02 +0100
Hi all,
I'm new to D3D10 and am having some trouble/confusion resolving some of
the basic functionality with shader resources (documentation appears
incomplete and unclear to me).
I'd like to have a texture array and a constant buffer (array also)
available from the vertex shader, then another texture ar ...
|
Accessing Texture set with device.SetTexture, from shader
Thu, 28 Feb 2008 13:47:19 +0100
The shaders I have seen and the ones I have written all have a texture
variable inside and that variable is set before using the shader.
That is ofcourse if the shader actually uses a texture.
It would seem more natural to do something like
device.SetTexture(...
run shader
rather than
Shader.setvariable( ...
|
DirectX in a Dialog Box with other Controls - Possible?
Wed, 27 Feb 2008 20:33:11 -0800 (PST)
Hi,
I'm new to DirectX. Is it possible to write a directx application
where you have a directx image AND other controls like buttons..etc in
a dialog box in C#.NET? I don't mean click on a button and launch a
directX window. I mean both existing simultaneously in the same
dialog box.
Is there any exam ...
|
Unable to Hue (DirectDraw)
Thu, 28 Feb 2008 02:29:42 GMT
Anyone know how the hue "control" in DirectDraw works?
I've tried the following but havent been able to get it working:
'Create sprite from bitmap
'-- A blank SurfaceDescription suffices.
sprite = New Surface("c:\test.bmp", New SurfaceDescription,
GraphicsCard)
'Make all ...
|
My app - Magnifier shows blank in Vista but work fine in XP. Why?
Wed, 27 Feb 2008 13:15:01 -0800
I am not sure this is the right place to post this question. I am working on
a product using DirectX (version 7 API) for displaying graphic. In XP, the
magnifier works fine. But in Vista, magnifier displays blank.
Anyone has any info on why and any lead on how to fix this?
Thank you for our help.
-Thanh ...
|
doing a surface
Wed, 27 Feb 2008 15:58:15 +0100
I made a surface with SolidWorks, and import the IGS's to 3ds max 2008, and
finally I want to show it with a material throught the material editor. I've
got a problem because if I choose for example Marble texture, I can't assign
it to my surface.
After that I will save it as a .X file and show through my appl ...
|
Render an offscreensurface
Tue, 26 Feb 2008 09:06:06 -0800 (PST)
Hello
I have and offscreen surface, my problem is this code don't work
void *pContainer = NULL;
IDirect3DTexture9 *pTexture = NULL;
HRESULT hr = RenderOffscreenSurface ->
GetContainer(IID_IDirect3DTexture9, &pContainer);
/* hr return NoInterface
if (SUCCEEDED(hr) && pContainer)
{
m_lpD3D_Device-> ...
|
|
|
VMR9 CVMR9Allocator
Tue, 26 Feb 2008 09:02:26 -0800 (PST)
to render hello
i render a video to a directx9 surface.
the problem is that VMR9 render the video in unit size
So with full HD video the surface is very big and it slow the rest of
my application
When i enter in CVMR9Allocator::InitializeDevice(...), i cant, in this
function force VMR9 change the surfac ...
|
MultiAnimation
Tue, 26 Feb 2008 12:14:39 +0400
Hello
I need Direct3D Multi Animation Tutorial. With explanations of every step.
Thanks ...
|
A noob question
Mon, 25 Feb 2008 15:57:01 -0800
I'm trying to learn c++ and directx. I've already learned alot of
Actionscript 2.0 so c++ concecpts came along pretty easy. Now I'm trying to
learn how to use direct draw but I can't even figure out how to import the
library in Visual C++ 2008 Express. Please be as descriptive as possible.
Knowing how linkin ...
|