[comp.sys.amiga.programmer] How to increase grayscale levels?

Harvey_Taylor@mindlink.UUCP (Harvey Taylor) (03/10/91)

[Thank you Alex M. & Peter K. for previous answers in this discussion]

    Background: I want to display some large 256 level greyscale
 video samples. The standard Amiga will output only 16 levels.

    So, I am trying to figure out the best way to increase the number of
 greyscale levels viewable on the (my) Amiga. So far the candidates are:

    1) Dithering
    2) GreyScale to HAM  [SHAM, SHAMM, Dynamic whatever]
    3) A colour board

    Are there any other options?

    Has anybody written an n-bit sample to dithered bitmap routine?

    Will HAM (and dynamic brethren) be any use?

    What greyscales do the popular 24 bit boards put out?
    (ie. DCTV, ColorBurst, HAM-E, A2140, Firecracker 24)
    -het

 "The ghost of electricity howls through the bones of her face"
                                                    - Visions of Johanna
      Harvey Taylor      Meta Media Productions
      uunet!van-bc!rsoft!mindlink!Harvey_Taylor
               a186@mindlink.UUCP

oliphant@telepro.UUCP (Mike Oliphant) (03/12/91)

In article <5082@mindlink.UUCP> Harvey_Taylor@mindlink.UUCP (Harvey Taylor) writes:
>
>[Thank you Alex M. & Peter K. for previous answers in this discussion]
>
>    Background: I want to display some large 256 level greyscale
> video samples. The standard Amiga will output only 16 levels.
>
>    So, I am trying to figure out the best way to increase the number of
> greyscale levels viewable on the (my) Amiga. So far the candidates are:
>
>    1) Dithering
>    2) GreyScale to HAM  [SHAM, SHAMM, Dynamic whatever]
>    3) A colour board
>
>    Are there any other options?

I've achieved some rather nice results by usings shades of purple to emulate
32 shades of grey.  Here are the colors I use:

UWORD colortable[32]={0x000,0x102,0x111,0x213,0x222,0x324,0x333,0x435,0x444,
        0x546,0x555,0x657,0x666,0x768,0x777,0x879,
        0x888,0x98a,0x999,0xa9b,0xaaa,0xbac,0xbbb,0xcbd,0xccc,
        0xdce,0xddd,0xedf,0xeee,0xfef,0xfff,0xfff};

--
Mike Oliphant	herald!telepro!oliphant or telepro!oliphant@herald.usask.ca
		FidoNet: (1:140/91) - ZMH only
*
* Call TelePro, the development system for DLG Professional
*
*   Phone: +1 306 249 2352	2400/9600/14400 bps HST - FidoNet: (1:140/90)
*	   +1 306 652 2084	300/1200/2400 bps
*

peterk@cbmger.UUCP (Peter Kittel GERMANY) (03/15/91)

In article <5082@mindlink.UUCP> Harvey_Taylor@mindlink.UUCP (Harvey Taylor) writes:
>
>    Background: I want to display some large 256 level greyscale
> video samples. The standard Amiga will output only 16 levels.
>
>    So, I am trying to figure out the best way to increase the number of
> greyscale levels viewable on the (my) Amiga. So far the candidates are:
>
>    1) Dithering
        Should work. Remember, you can take a HiRes screen, so your
        resolution is still at least LoRes. (Don't know from heart
        how many grey scales you can get from this, sure not 256 :-)
>    2) GreyScale to HAM  [SHAM, SHAMM, Dynamic whatever]
        If you don't have extra hardware connected: NO solution.
>    3) A colour board
        If it's 24 bits, then yes.
>
>    Will HAM (and dynamic brethren) be any use?
        NO, sorry.

>    What greyscales do the popular 24 bit boards put out?
>    (ie. DCTV, ColorBurst, HAM-E, A2140, Firecracker 24)
        Those which really provide 8 bits per color component RGB,
        give you exactly 256 grey shades.

-- 
Best regards, Dr. Peter Kittel  // E-Mail to  \\  Only my personal opinions... 
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk

steve@wildcat.UUCP (Steve Holland) (03/17/91)

>In article <961@cbmger.UUCP> peterk@cbmger.UUCP (Peter Kittel GERMANY) writes:
>In article <5082@mindlink.UUCP> Harvey_Taylor@mindlink.UUCP (Harvey Taylor) writes:
>>
>>    Background: I want to display some large 256 level greyscale
>> video samples. The standard Amiga will output only 16 levels.
Assuming you have an A500/A2000(/3000?), you can use the little "mono" jack
at the back to get 4096 grey scales in HAM mode. You can also use EHB
mode for 64 colors+dithering.
--
----------->Steve Holland<-----------
Internet: wildcat!steve@alfalfa.com  | "I never let my schooling get in the
USENET:  ...!alphalpha!wildcat!steve | way of my education" -Mark Twain
<if alfalfa doesn't work, try alphalpha>