473,721 Members | 2,235 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

High Speed Graphics

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
Nov 21 '05 #1
4 1418
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" <fa*******@dodo .com.au> wrote in message
news:42******** @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

Nov 21 '05 #2
Hi,

In addition to Directx there also is opengl

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

Ken
--------------------
"David Pendrey" <fa*******@dodo .com.au> wrote in message
news:42******** @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

Nov 21 '05 #3
"David Pendrey" <fa*******@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/>

Nov 21 '05 #4
Thanks!

"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:u3******** ******@tk2msftn gp13.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" <fa*******@dodo .com.au> wrote in message
news:42******** @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


Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

52
3841
by: Neuruss | last post by:
It seems there are quite a few projects aimed to improve Python's speed and, therefore, eliminate its main limitation for mainstream acceptance. I just wonder what do you all think? Will Python (and dynamic languages in general) be someday close to compiled languages speed? What will be the future of Psyco, Pypy, Starkiller, Ironpython and all the other projects currently on development?
18
2039
by: HerrLucifer | last post by:
I am each day becoming more and more addicted to the new .Net framework because of its cool RAD facilities. However, performance and speed is extremely important for my application development. I have done many various tests to compare the performance speed of applications written in C++ 6.0 V.S. the same ones in VB.Net or VC#.Net . The result were quiet the same( i am not sure if i have go the right path!). But I know C++ exe files use...
1
1457
by: Robert Ludewig | last post by:
Hello, I recently started to develop my own little high level, easy to use 3D API on top of managed directx for .net. The idea behind it is having a generic API that lets me create (simpler) 3D-applications in the shortest possible time in .net. It involves implementing things like a node structure for the scenegraph, a console, device configuration manager etc. Just like we know it from other APIs, like java3d or openinventor or from...
2
733
by: Michael Evans | last post by:
First, we rely on a stable update rate so that our physics and dynamics calculations and integrations are based on a known interval and therefore are true-to-life. Second, the graphics positions in our image generators are updated by this dynamics application, and we need to update them at the rate they are being refreshed so that we don't get any stutter from frames being used twice or having to be thrown out. Without microsecond...
5
1569
by: Ron Mexico | last post by:
I have written a graphing engine (very similar to what BigCharts.com offers). Basically, it's an ASPX page that accepts parameters and calls back-end business objects (dlls) to create a graph. When the graph is created as a jpeg, it is returned to the browser as binary data. When it is used at a low volume, it performs great and returns correctly drawn graphs in a timely manner. However when the amount of traffic is increased to a high...
4
6565
by: dean.greg | last post by:
Im looking for a way to generate thumbnails from an image as fast as possible. Currently I'm using GDI+ however going from 1024x768 to 100x100 takes too long. I'd imagine the whole process can be optimized by using hardware acceleration (ie DirectX), however I am not all that familar with the DirectX API. What I'm looking for is some direction, or even some sample/psuedo code, that might point me in the right direction. If not...
1
2490
by: Alexander.Oot | last post by:
I think the speed function may be broken from the turtle graphics package "from turtle import * speed('fastest') forward(50)"
47
1429
by: Mike Williams | last post by:
I'm trying to decide whether or not I need to move to a different development tool and I'm told that VB6 code, when well written, can be ten times faster than vb.net, but that if its badly written it can be ten times slower. Is that correct? I'm quite competent at writing code myself and so most of my code will be quite well written, and I don't want to move to vb.net if well written VB6 code is ten times faster. Have I been told the...
0
3029
by: raylopez99 | last post by:
Hi, I'm getting into GDI+ Forms 2.0 graphics for C#3 using Visual Studio 2008. One thing I notice: the graphics are really slow and flicker on a Pentium IV, with 2 GB RAM, even with doublebuffering turned on. I did learn tricks such as not invalidating everything, but just the control that is part of the form you are working on (i.e.,
0
8840
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8730
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9131
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.