What is it?
The scanline library can defer rendering of complex shapes, so that only the visible portions of the scene will be drawn to the screen. This is required by the pycro compiler, as simple com files cannot use more then 64kb of memory (meaning it is not possible to create a back-buffer).
By only rendering once a frame with no overlap, a flicker free display can be achieved without the use of a back buffer. An additional advantage is that it can have high performance (with respect to both CPU and memory bandwidth), as complex per-pixel rendering only occurs for visible surfaces.
News
5 March 2007
Added a z-buffer implementation. An updated download is available.
21 December 2006
Add compiled 'cube' sample for download.
What can it do?
So what can it do?
- Draw flat filled triangles
- Draw flat filled rectangles
- Render simple 3d scenes
- Z-buffering
What can't it do?
- Render textures
- Goroud shading
Download
-
Release 0.10 (4 kB), 5 March 2007
Changes: z-buffer implementation. Makes it look a lot more 'solid'. -
Release 0.01 (3 kB), 21 December 2006