• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Crystal2

Started by Patrice Terrier, October 17, 2007, 06:12:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Patrice Terrier

Crystal

This is a variation of the GDImage 4.00 Carousel demo that I did to check altogether with the BassBox OpenGL visual plug-in.

I am very excited by the composited feature of VISTA's DWM, it opens so many perspectives to create amazing graphics.

To see what I mean, start BassBox then drag the Crystal window hover it, then play with the command setup, do you get the picture?
:o


...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Kent Sarikaya

Patrice does this need Vista in order to run? I am curious to see what happens, is there a screenshot in case I can't run it?

Patrice Terrier

Well I didn't check it on XP.

The speed of GDImage should be same.
But probably extra work to do, to display the composited GDImage control hover a running OpenGL animation, and to save CPU usage both OpenGL and GDImage must share the same TIMER resource (for example, all drawings could be done from the RenderOpenGL procedure)

GDImage alone should work already in "XP AERO GLASS" mode (as shown in the "SDK Programming" section).
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Kent Sarikaya

Crystal itself is working well under XP. What is neat is, I can move the window while the animation is playing and it is being updated the whole time the window is moving. No dark screen or frozen image as with OpenGL doing this sort of thing. The speed can go super fast that is for sure too!

Patrice Terrier

#4
I did some changes to the Crystal demo, especialy when it works on XP (with the new futuristic background),
and the same change also apply to the VISTA version.

By the way, are you aware that you can move the sprites around with the mouse while in pause mode.
GDImage knows at any time which object has the focus, and which one is hover by the mouse.
You can also select several objects altogether, holding down the left CTRL key while you select the object with left mouse, once done you can drag the selection to another location, or retrieve the selection to do what ever you want with it.
Version 4.00 is able to manipulate 1024 objects per control.

The new Crystal version is attached to this message.
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Kent Sarikaya

Oh wow, very very nice Patrice, thanks!

Kent Sarikaya

That looks very cool Patrice!

Patrice Terrier

The first post of this thread has been updated, to fix the ZIP file corruption caused by the "Server Collapse".

...
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com