This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Questions on....dithering....


Questions on....dithering....

Postby (TSC)Bender » Apr 17, 2002 @ 2:27am

User avatar
(TSC)Bender
pm Insider
 
Posts: 1983
Joined: Feb 16, 2002 @ 7:10am
Location: Maryland


Postby billcow » Apr 19, 2002 @ 1:40am

I wrote a dithering program for VGA Mode13h (a 320x200x8 bit linearly accessed graphics mode in dos) which I can send you, just send me an email. It implements a couple different algorithms, which work at different speeds, and the dithering is seperate from the rendering (I also have a program that fakes truecolor using a fixed palette, by having two real pixels per game pixel, kinda like reverse ClearType. The only problem is that it is highly display dependent, also like ClearType).

Another source for code would be the PocketFrog library, which can be found at . You may even want to use this directly, but If you are modifying a program that already uses another GAPI implementation, this may not be the best approach.

The only problem with run-time dithering is that unless you redesign the rendering algorithm to dither as it renders (doability depends on the type of rendering) it is really slow. The Mode13h program I wrote runs at about 50fps on a 1400 mHz athalon, give or take a bit depending on the dithering method.
Most people don't know that "A highly technical term" is actually a highly technical term used to describe something that doesn't mean anything
User avatar
billcow
pm Member
 
Posts: 81
Joined: Jan 6, 2002 @ 12:22am
Location: Dryden, NY


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron