Iex 0.3 Coding Progress

as long as it's smooth (Y)

#98800

Siwu, I am glad you like DirectDraw! (Y) :who's your daddy:

Make sure to also check out the DDBLT_ROTATIONANGLE flag and the other flags for some surprising effects.

IDirectDrawSurface7::Blt() does the resizing for you using the hardware if available, pretty cool ain't it :)

Also there is a IDirectDrawSurface7::BltFast() method, but there is only difference in speed when software emulation is used, not when the hardware is used.

Good luck with your project and feel free to PM me if you need anymore help.

Andreas

#98818

hey i'd like to take this time and thank siwu for his contribution to the aqua community,

your work is appreciated so much.

idicula :D

#98872

this is great news siwu :woot:. I cant wait to see this in action, it sounds like its moving forward pretty fast. Good luck and thanks

#98916

Hi there !

Okay, I am no posting the DirectDraw test app I made. :)

This app is a TEST app, in order to see what would simultaneous window resizing would be.

It simply make a shoot of all your windows and keep them the way they are on your desktop.

It's a replication we could say :)

Then it simply resize them in and out :)

And don't worry for the speed, there is a sleep instruction which insert a 5ms delay between every resizing, so the DirectDraw engine can do WAY faster :)

Well, enjoym try to make it slow down and remember it's a test prog and it might not work on your pc :)

DirectX 7 or greater required :)

siwu

DDrawTest.zip

Attachment: DDrawTest.zip

#98917

:cry: It's says I need DirectX 7, but I am pretty sure I have it (dx9 installed with a dx8 capable card).

Are you sure you checked it like this?

LPDIRECTDRAW lpDD;
retVal = DirectDrawCreateEx(0, &lpDD, IID_IDirectDraw7, 0);
if(retVal == DD_OK)
{
   // success:
   // lpDD is valid.
}
else
{
   // no success:
   // lpDD is not valid.
}

#98919

Originally posted by AndreasV@Jan 12 2004, 06:17 PM

:cry: It's says I need DirectX 7, but I am pretty sure I have it (dx9 installed with a dx8 capable card).

same here

#98920

Hmm, what resolution do you have ?

Coz there are multiples error checking in the DirectX init process that makes the same error message.

I personally think it's because I hardcoded the resolution to 1280x1024x32.

So I changed it to maintain your current desktop size.

If it's not working, I'll make a more precise error message.

DDrawTest.zip

Attachment: DDrawTest.zip

#98930

That did the trick! Animation is very smooth, good job! (Y)

One remark: Layered Windows are not captured right for now (they are black) but I am sure you will fix that :)

#98937

I just noticed that it uses about 3% CPU and 2mb in system memory :)

I'm simply happy :)

#98940

Isn't DirectX wonderfull :smartass:

#98949

It's fast even on my slow computer. Good work SIWU, keep it up I look forward to this application. (Y)

#98961

truly amazing. I love the look already. siwu= :smartass:

EDIT: I didn't check this earlier, but while it only uses 2mb memory, it uses 98-99% of my cpu!

#98962

very promising indeed!

I was wondering if you will make this compat with dual monitors? Winexpose does not and hopefully you will implement it! :rock:

#98980

i downloaded the .zip file, extracted the exe to the desktop, and ran it, and this is the error message that came up

post-6747-1073938899_thumb.jpg

error.jpg
error.jpg

#98982

rooskee: unzip this to c:\windows\system32\ http://www.ismusic.ne.jp/slim_slow_slider/vst/msvcr71.zip (siwu is using vc7 )

#98984

Question should this be happening:

Runs program.

Everything goes black exceptthe windows that are resizing.

Windows resize normal, to small, normal to small in an endless cycle.

Has to click on one of the windows to stop and see the taskbar to close it.

Have to do a force quit to exit and Windows wants me to send a report to Microsoft.

If so, IT WORKS GREAT! (no sarcasm, seriously.)

#98992

Originally posted by wizard@Jan 12 2004, 10:37 PM

Question should this be happening:

Runs program.

Everything goes black exceptthe windows that are resizing.

Windows resize normal, to small, normal to small in an endless cycle.

Has to click on one of the windows to stop and see the taskbar to close it.

Have to do a force quit to exit and Windows wants me to send a report to Microsoft.

If so, IT WORKS GREAT! (no sarcasm, seriously.)

Well, just do a ALT-F4 to close it :)

And remember it's not iEx 0.3, it's just a test I made to see how smooth simultaneous resizing would be :)

#98997

I know, that's why I was wondering if that is what it was supposed to do. Cool. Very fast even on my 500MHz P3!

I think the depot will be out of smilies by the end of the day. :D

#98999

thanks AndreasV, it works now, but i have to follow the same process as Wizard. and like Wizard said, if thats how it is supposed to work, then great job siwu :bow:

#99001

OMG !!!!!

I´m using an AMDk6 500MHZ , 192MB , Mx440 64MB, and it works amazing! Smooth ! (Y)

#99024

Great work, siwu! :lol:

Seems like everything's going as planned! Keep it that way! :woot:

Way smooth... ^_^

#99033

Hi ! It's me again :)

Just to tell you that things are going very well: I just finished the "move to place" effect :)

Just to tell you that the test program is just there to test my class that iEx will use :)

So, now the program organize the windows in a grid, like iEx 0.2, but with animation :)

DDrawTest.zip

Attachment: DDrawTest.zip

#99064

@Siwu: I like the pace you're moving at... :lol: Keep them coming! (Y)

#99067

hoyl cow that is AMAZING!! the animation is so smooth, and the quality of the resizing on the windows is perfect, i hardly see any quality loss amazing!! cant wait for the real thing!!

-bolero

#99068