Re: A simple solution for a common problem

From: Jack Hoxley (Jack.Hoxley_at_DirectX4VB.Com)
Date: 07/14/04


Date: Wed, 14 Jul 2004 14:46:46 +0100

I think there are a few tricks you can use to get a DC/HWND type window
(forget the exact terms) into a D3D sample... It's not that smooth, but it
works. There was a DirectDraw sample that did it in the DX7 SDK iirc.

Jack

"Jon Davis" <jon@REMOVE.ME.accentra.net> wrote in message
news:ezD2H4TaEHA.2792@TK2MSFTNGP09.phx.gbl...
> I'm not much of a D3D / OGL programmer, though I have tinkered.
>
> Okay. I have what's probably a very dumb, uneducated question, but this
> SEEMS like a no-brainer solution to me, and as such I am clueless as to
why
> the heck this problem has not been solved by this planet of people yet.
>
> Problem: OpenGL and Direct3D windows fit snugly in a 2D window, but 2D
> windows don't work in OpenGL / D3D space.
>
> So why on earth hasn't Microsoft exported the rendering of a window into a
> speed-optimized texturable memory-mapped bitmap that can be referenced as
a
> dynamic texture within an OGL/D3D environment?? As for mouse movement,
> keyboard input, etc., all that stuff can be transferred. What's the
deal?!!
>
> Jon
>
>