 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tony McGrath Guest
|
Posted: Fri Feb 13, 2004 1:55 am Post subject: Nice Delphi Graphics Demonstration |
|
|
Apparently this demo was written with Delphi. The author says DirectX is not
used but it really flies. How has this been achieved. The effects look like
nothing i have seen before.
www.dsol.fsnet.co.uk/delbin/delbin.html
Does anyone know where I can find a routine to copy the contents of the
clipboard onto a form?
Thanks for your help
Tony
|
|
| Back to top |
|
 |
ferrin Guest
|
Posted: Fri Feb 13, 2004 1:57 am Post subject: Re: Nice Delphi Graphics Demonstration |
|
|
"Tony McGrath" <tony (AT) hometry (DOT) fsnet.co.uk> wrote
| Quote: | Apparently this demo was written with Delphi. The author says DirectX is
not
used but it really flies. How has this been achieved. The effects look
like
nothing i have seen before.
www.dsol.fsnet.co.uk/delbin/delbin.html
Does anyone know where I can find a routine to copy the contents of the
clipboard onto a form?
Thanks for your help
Tony
It runs very fast on my P3-500. I've sent the author an |
email asking for the source but he hasn't replied yet. How do you think this
demo was coded. Was delphi used or something else?
;)
|
|
| Back to top |
|
 |
Rob Kennedy Guest
|
Posted: Fri Feb 13, 2004 5:46 am Post subject: Re: Nice Delphi Graphics Demonstration |
|
|
Tony McGrath wrote:
| Quote: | Apparently this demo was written with Delphi.
|
Apparently. It doesn't import nearly as many functions as I would have
expected. Seems that the author loads nearly all functions via
GetProcAddress. The file contains all the TBitBtn glyphs in its resource
section.
It also uses another DLL, which I doubt was made with Delphi since it
links to msvcrt.dll, a Visual C++ library. I suspect the DLL is just for
the audio, though.
| Quote: | The author says DirectX is not used but it really flies. How has this
been achieved.
|
One trick is to use as few pixels as you can. Note how it switches your
display dimensions to 640x480 and only uses the middle third of the
screen. MMX assembler instructions can aid in doing fast color calculations.
| Quote: | The effects look like nothing i have seen before.
|
Then you haven't seen WhiteCap, an impressive plug-in for Winamp and
other audio programs. Originally, I think it did all its own graphics
operations internally, but nowadays I think it enlists the help of
OpenGL, but maybe that's just to make it work on both Window and
Macintosh. (One nice thing about WhiteCap is that it doesn't screw up
the layout of the rest of my windows the way this demo of yours did.)
| Quote: | Does anyone know where I can find a routine to copy the contents of
the clipboard onto a form?
|
Am I correct in assuming that this question has nothing to do with the
first part of your message? What are the clipboard contents, and how do
you want them "on the form"? Have you read in the help file yet about
the Clipbrd unit, and the Clipboard object it contains? Have you asked
your favorite search engine for any pointers?
--
Rob
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|