D3DFunc is a user plugin for Dark Basic Professional. The plugin originated from the desire to improve on the speed of DBP's native text commands.
Anyone who has used these commands knows how hard they can hit your framerate.
On investigation I discovered a way of accessing DirectX from within DBP.
Drawing text using DirectX directly can increase the frame rate by 500%+.
It has expanded somewhat and now adds a number of
new Direct3D related commands to DBP, including:-
- Fast antialiased text
- New object creation commands for 3D Text, Teapot, Torus, and Pyramid
- 2D & 3D Line, dot, & circle
- 2D box
- 2D & 3D polygons
- Isometric Camera
- Batch operations for improved performance
Many thanks must go to Scylnt for tidying up the code and adding the new batch processing commands.