Home All Groups Group Topic Archive Search About
Author
4 Apr 2005 4:44 AM
David Pendrey
Greetings,
     I am writing an application which will need to move around 50 bitmaps
on the form at a speed high enough that it appears smooth. I am currently
using some custom controls to contain the bitmap and the logic for the
movement in the same location and have have a loop which updates all bitmaps
each 50ms (20fps). Unfortunatly the time taken to render this is too great
and my application does not function correctly. The solution does not need
ot be confined to a custom control but does need to be fast and can be
complicated. The bitmaps are small (about 30 pixels square) and there are
only 8 different bitmaps to display in multiple locations. Thanks for the
advice people

Author
4 Apr 2005 7:44 AM
Steve C. Orr [MVP, MCSD]
Perhaps you should use the DirectX library.
http://msdn.microsoft.com/directx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"David Pendrey" <fairyd***@dodo.com.au> wrote in message
news:4250c62a$1@news.comindico.com.au...
> Greetings,
>     I am writing an application which will need to move around 50 bitmaps
> on the form at a speed high enough that it appears smooth. I am currently
> using some custom controls to contain the bitmap and the logic for the
> movement in the same location and have have a loop which updates all
> bitmaps each 50ms (20fps). Unfortunatly the time taken to render this is
> too great and my application does not function correctly. The solution
> does not need ot be confined to a custom control but does need to be fast
> and can be complicated. The bitmaps are small (about 30 pixels square) and
> there are only 8 different bitmaps to display in multiple locations.
> Thanks for the advice people
>
Author
4 Apr 2005 12:47 PM
David Pendrey
Thanks!

Show quoteHide quote
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:u3nfLnOOFHA.2384@tk2msftngp13.phx.gbl...
> Perhaps you should use the DirectX library.
> http://msdn.microsoft.com/directx
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "David Pendrey" <fairyd***@dodo.com.au> wrote in message
> news:4250c62a$1@news.comindico.com.au...
>> Greetings,
>>     I am writing an application which will need to move around 50 bitmaps
>> on the form at a speed high enough that it appears smooth. I am currently
>> using some custom controls to contain the bitmap and the logic for the
>> movement in the same location and have have a loop which updates all
>> bitmaps each 50ms (20fps). Unfortunatly the time taken to render this is
>> too great and my application does not function correctly. The solution
>> does not need ot be confined to a custom control but does need to be fast
>> and can be complicated. The bitmaps are small (about 30 pixels square)
>> and there are only 8 different bitmaps to display in multiple locations.
>> Thanks for the advice people
>>
>
>
Author
4 Apr 2005 10:49 AM
Ken Tucker [MVP]
Hi,

        In addition to Directx there also is opengl

http://www.ondotnet.com/pub/a/dotnet/2003/04/28/opengl.html

Ken
--------------------
"David Pendrey" <fairyd***@dodo.com.au> wrote in message
news:4250c62a$1@news.comindico.com.au...
Greetings,
     I am writing an application which will need to move around 50 bitmaps
on the form at a speed high enough that it appears smooth. I am currently
using some custom controls to contain the bitmap and the logic for the
movement in the same location and have have a loop which updates all bitmaps
each 50ms (20fps). Unfortunatly the time taken to render this is too great
and my application does not function correctly. The solution does not need
ot be confined to a custom control but does need to be fast and can be
complicated. The bitmaps are small (about 30 pixels square) and there are
only 8 different bitmaps to display in multiple locations. Thanks for the
advice people
Author
4 Apr 2005 11:21 AM
Herfried K. Wagner [MVP]
"David Pendrey" <fairyd***@dodo.com.au> schrieb:
>I am writing an application which will need to move around 50 bitmaps on
>the form at a speed high enough that it appears smooth. I am currently
>using some custom controls to contain the bitmap and the logic for the
>movement in the same location and have have a loop which updates all
>bitmaps each 50ms (20fps). Unfortunatly the time taken to render this is
>too great and my application does not function correctly. The solution does
>not need ot be confined to a custom control but does need to be fast and
>can be complicated. The bitmaps are small (about 30 pixels square) and
>there are only 8 different bitmaps to display in multiple locations. Thanks
>for the advice people

Some additional links on OpenGL:

Using OpenGL in .NET applications
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=opengl&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>