|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
High Speed GraphicsGreetings,
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 Perhaps you should use the DirectX library.
http://msdn.microsoft.com/directx 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 > 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 >> > > 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 I am writing an application which will need to move around 50 bitmapsnews:4250c62a$1@news.comindico.com.au... Greetings, 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 "David Pendrey" <fairyd***@dodo.com.au> schrieb: Some additional links on OpenGL:>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 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/> |
|||||||||||||||||||||||