First Version: 5fps
New Version: 23-30 fps
For my system too slow for using it in games, but maybe for a good menu-effekt...
Realtime bumpmapping in 2D
-
- PureBasic Expert
- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Ok,
First version 5 - 9 FPS
Second Version - 33 - 50 Fps
Taking in consideration that the purebasic plot is not the fastest i've seen (windows itself has 2 versions of plot -"SetPixelV is faster than SetPixel" )and that DrawText is also extremly slow so these are very good results!
Also i believe a full screen version might give a few extra FPS!
First version 5 - 9 FPS
Second Version - 33 - 50 Fps
Taking in consideration that the purebasic plot is not the fastest i've seen (windows itself has 2 versions of plot -"SetPixelV is faster than SetPixel" )and that DrawText is also extremly slow so these are very good results!
Also i believe a full screen version might give a few extra FPS!
When used with a Screen, the Plot(x,y,COLOR) is accelerated and is as fast as possible (hundred times faster than the SetPixelV() 'fast' windows version). Most of the time is spend by calculation on this example, so the Plot() speed isn't really relevent (You could always use the DSA (Direct Screen Access with DrawingBuffer()) with a pointer to have the fastest plot() ever).Num3 wrote:Taking in consideration that the purebasic plot is not the fastest i've seen (windows itself has 2 versions of plot -"SetPixelV is faster than SetPixel" )