paint event on picturebox
Hy,whithout help i never had imagined to use the "draw one line each tick on bitmap"and all its code.Thanks and regards, Enzo
View Articlepaint event on picturebox
It is faster to draw one point than to draw 1,000,000 points even in directx.You MUST agree or you dont understand the concept.It is faster when you draw on a Screen DC/GraphicsDirect2D Render Target...
View Articlepaint event on picturebox
It is faster to draw one point than to draw 1,000,000 points even in directx.You MUST agree or you dont understand the concept.It is faster when you draw on a Screen DC/GraphicsDirect2D Render Target...
View Articlepaint event on picturebox
Yes Castor your are correcct DirectX is faster. That is not the question. A bit when I see other posts from OP :-)Like visual basic is slow, ...Castor,It is faster to draw one point than to draw...
View Articlepaint event on picturebox
Yes Castor your are correcct DirectX is faster. That is not the question. A bit when I see other posts from OP :-)Like visual basic is slow, ...
View Articlepaint event on picturebox
Hy tommy2train, i have checked your code setting 100000 points, the refreshing speed seems to be the same.If i have well understood, at every tick all points are drawn; notwistanding this, it seems to...
View Articlepaint event on picturebox
See the Direct2D sample : it is more than 10 times faster than VB6... Yes, this animation without jerks is impossible with GDI+, and of course with VB6
View Articlepaint event on picturebox
Hy tommy2train, i have checked your code setting 100000 points, the refreshing speed seems to be the same.If i have well understood, at every tick all points are drawn; notwistanding this, it seems to...
View Articlepaint event on picturebox
HiI must be outof step with things. The highest resolution computer monitor that I could find has a horizontal pixel count of 7680The OP ralks of 1000000 data points AND that he was able to see all of...
View Articlepaint event on picturebox
Anyway it is not a directx forum it is a vb.net forumThe code is VB.NET, I used P/Invoke mainly to call ID2D1RenderTarget.DrawLine in a loop to draw the sineIt was to show the OP that VB6 is not...
View Articlepaint event on picturebox
Ok I ran it out longer and after 20,000 pts then the draw all in paint event lags to 50 fps and the bitmap add one point each tick is staying at 64 fps.Again graphicsbuffer and of course directx are...
View Articlepaint event on picturebox
Show the code with a timer and image then.But timer is not needed, the animations are "automatic" (InvalidateRect => the GPU draws the scene => that's why the scrolling of the sine is very...
View Articlepaint event on picturebox
Show the code with a timer and image then.But timer is not needed, the animations are "automatic" (InvalidateRect => the GPU draws the scene => that's why the scrolling of the sine is very smooth)
View Articlepaint event on picturebox
In the Direct2D sample I posted, I could plot 1 Millions of points, it will be as fast.It does not use a timer, everything is drawn by the GPU, so a lot faster than GDI+ Show the code with a timer and...
View Articlepaint event on picturebox
In the Direct2D sample I posted, I could plot 1 Millions of points, it will be as fast.It does not use a timer, everything is drawn by the GPU, so a lot faster than GDI+
View Articlepaint event on picturebox
See the Direct2D sample : it is more than 10 times faster than VB6...Laurent,Go ahead and show the directx code for the example with 10000 points including the code timer and etc.I think you are...
View Articlepaint event on picturebox
I can do the same with Visual Studio, the difference is that with VB6 i write only:form1.PictureBox.PSet (x,y)With Visual Studio I have to write all the drawing (points). Regards See the Direct2D...
View Articlepaint event on picturebox
Hy, thank for your code that could be used in some other application.Next gif shows a VB6 program that (if you pay attention) add point after point of a physical variable:I can do the same with Visual...
View Articlepaint event on picturebox
Hy, thank for your code that could be used in some other application.Next gif shows a VB6 program that (if you pay attention) add point after point of a physical variable:I can do the same with Visual...
View Article