AminetAminet
Search:
84491 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/src/FSditheringW3D.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Warp3D: Floyd Steinberg dithering (src)
Author:thellier at free.fr (Alain Thellier)
Uploader:thellier free fr
Type:dev/src
Version:1
Requires:Warp3D or Wazp3D library,68020+881
Architecture:m68k-amigaos >= 3.0.0
Date:2011-01-05
Download:http://aminet.net/dev/src/FSditheringW3D.lha - View contents
Readme:http://aminet.net/dev/src/FSditheringW3D.readme
Downloads:807

DESCRIPTION 
Sources for doing Floyd Steinberg dithering 

1) Implement the Floyd Steinberg dithering (Alain Thellier)
From a 24 bits picture can convert to
W3D_A4R4G4B4,W3D_A1R5G5B5,W3D_R5G6B5,W3D_CHUNKY
Features: 
	Floyd Steinberg algo error diffusion to the five currents 'neighbors' pixels
	Smart float rounding to nearer color
	Manage the special case 'neighbors' pixels are out of screen
	Manage color overflow to next error diffusion
	Change coefs for odd/even lines = serpentine method
So this implementation give certainly the better possible result 

2) Demonstrate how to use Floyd Steinberg dithering with Warp3D's textures
(Kas1e)
Load a Limodorum (European Orchid) 24bits picture and dither it nicely to 16
bits

Only usefull for programmers that want high quality textures

LICENSE 
GNU General Public License (GNU GPL) 
Alain Thellier & Kas1e - 2008



Contents of dev/src/FSditheringW3D.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 8673   14680  59.1% -lh5- 5cd3 Jan  4  1980 dithering
[generic]                 2152    5867  36.7% -lh5- 2da3 Jan  4  1980 dithering.c
[generic]                  790    1193  66.2% -lh5- 1db1 Jan  4  1980 dithering.info
[generic]                 2351    6565  35.8% -lh5- fe81 Jan  4  1980 FloydSteinbergForWarp3dv7.h
[generic]                  669    1190  56.2% -lh5- abc0 Jan  4  1980 FSditheringW3D.readme
[generic]               182240  196608  92.7% -lh5- 1cca Jan  4  1980 Limodorum_256X256X24.RAW
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files  196875  226103  87.1%            Jan  5 18:42

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>