DWMaxx: Back to business

May 14, 2008 on 8:28 am | In DWMaxx, Development, Projects |

It’s been a solid 3 months since I’ve last worked on DWMaxx. I am just posting this quick post to tell everyone that I’m resuming work on it. I’ve had a LOT of computer problems (my 2 computers died), and a lot of real life stuff to take care of.
Moreover, after my computer died and I pretty changed everything in it (cpu, mobo, ram), my second computer died too. Which left me unable to work on DWMaxx at all (2 computers needed, as one is for debug).
So what’s to be expected?

First of all, moving to uDWM.dll from Vista SP1. DWMaxx will be distributed with it’s own uDWM.dll because finding RVAs using a PDB download process of msdl.microsoft.com is a pain in the ass. And let’s not even talk about compiler optimizations.
Second, I’ve been trying to have 3D transformations on windows working, as well as improving stability. 3D transformations is pretty tricky: for instance, CWindow3D::ValidateVisual() forces the 3D version to be displayed ONLY when doing the minimize/maximize animations. If it finds it’s not animating, it will force the original 2D window to show and hide itself. It’s hard in the code. That’s also why Flip3D has it’s own 3D window class. But I can’t use it since the class asks for a CFlip3D object.
So what can I do? Well, do it the hard way in the MIL protocol itself.
At the moment, here’s what I have:

  • Creating a new 3D object (not CWindow3D)
  • Tying it to the original 2D CVisual Window
  • Creating the 3D viewport
  • Setting the 3D viewport view matrices

What’s missing is the command to tell MIL to display the viewport. And of course everytime I test I have to restart the DWM because it crashes (hence the 2nd computer).
Anyway, I’ll keep you guys informed of how everything falls into place, and release a DWMaxx demo pretty soon.

10 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Great to know that there is a progress on DWMaxx :)

    Comment by Nesher — May 14, 2008 #

  2. Can you see if it is possible to also transform input on hit test?
    For example if a window is rotated (Z-axis) make mouse hit right position on rotated window.

    Comment by Nesher — May 14, 2008 #

  3. Yeah input correction will be a huge help, but its probably a pain in the ass.

    Comment by Pleh — May 19, 2008 #

  4. Well this sounds FANTASTIC! I can’t wait to see the results.

    Comment by Braeden — May 25, 2008 #

  5. Hello siwu. I have made a new video of MultiTouchVista project that uses DWMaxx. Also I have checked it in at http://www.codeplex.com/MultiTouchVista. If you have time to look at it would be greate if you could give your feedback :)

    As you may be know Microsoft made WPF source code available for all. Do you think it is possible to use WPF MIL commands as a replacement for DWMAxx code injection?

    Comment by Nesher — June 8, 2008 #

  6. How stabile is this direct texture acces between Windows updates? :) I need this stuff for a completly different task (grab window content) but it seems to be quite fragile …

    Comment by Brown — June 10, 2008 #

  7. Ash soma….

    Ash soma….

    Trackback by Ash soma. — July 9, 2008 #

  8. Any progress on DWMaxx?

    Comment by Nesher — July 12, 2008 #

  9. Hello siwu,

    I’m looking for a way to apply a permanent keystone transform to a xp or vista desktop. It can be achieved with a rotation on x of a quad with a perspective view.
    I’ve read somewhere that the desktop (since DWM) is a quad with a final texture. Do your library is able to access this feature?

    thx

    Comment by thiv — July 24, 2008 #

  10. Any info on a release date for the DWMaxx demo app, Siwu?

    Comment by Kyle '1/4 Life' G — August 15, 2008 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^