New "higheSTcolor" mode better than Photochrome & Spectrum
Moderator: Moderator Team
New "higheSTcolor" mode better than Photochrome & Spectrum
Hi there !
It is a few days since I work on a new hicolor algorithm I called "higheSTcolor" to encode pictures compliant with my 55 colors per line display and here are some first promising results.
I will soon release a demo including some pictures based on this algorithms and the most important is its ability to produce very interesting effets. Any hicolor artist is welcome to participate to its design...
I added an average error % (luminance based, 19% R, 55% V, 26% B) compared to the original 256 R,V,B levels picture. No flicker option yet, some few improvements could still be possible (but with a flicker sensation). Theorical average error with a 16 levels perfect pixel per pixel conversion (320 colors per line) is : (16/2/2) / 256 = 1.625%
Enough talking, here are the results, screenshots made with steem, size doubled to have more details: Other samples will follow...
Best regards,
Cyg / BLaBla
It is a few days since I work on a new hicolor algorithm I called "higheSTcolor" to encode pictures compliant with my 55 colors per line display and here are some first promising results.
I will soon release a demo including some pictures based on this algorithms and the most important is its ability to produce very interesting effets. Any hicolor artist is welcome to participate to its design...
I added an average error % (luminance based, 19% R, 55% V, 26% B) compared to the original 256 R,V,B levels picture. No flicker option yet, some few improvements could still be possible (but with a flicker sensation). Theorical average error with a 16 levels perfect pixel per pixel conversion (320 colors per line) is : (16/2/2) / 256 = 1.625%
Enough talking, here are the results, screenshots made with steem, size doubled to have more details: Other samples will follow...
Best regards,
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.
-
- Disk Imager Supreme
- Posts: 2831
- Joined: Mon Aug 11, 2003 11:53 pm
- Location: just outside bristol
- Contact:
Re: New "higheSTcolor" mode better than Photochrome & Spectr
neat looking forward to the demo
Re: New "higheSTcolor" mode better than Photochrome & Spectr
This is impressive stuff! Looking forward to the demo
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's
Re: New "higheSTcolor" mode better than Photochrome & Spectr
55 colors per line? good result. does it work on STfm?Cyg wrote:It is a few days since I work on a new hicolor algorithm I called "higheSTcolor" to encode pictures compliant with my 55 colors per line display and here are some first promising results.
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Cyprian_K wrote:55 colors per line? good result. does it work on STfm?Cyg wrote:It is a few days since I work on a new hicolor algorithm I called "higheSTcolor" to encode pictures compliant with my 55 colors per line display and here are some first promising results.
Third picture down is ST512
Is there a possibility of an animated screen using this technique?
There once was the Genesis demo... a 512 GFA Raytrace anim with Sample loop
Atari STFM 512 / STe 4MB / Mega ST+DSP / Falcon 4MB 16Mhz 68882 - DVD/CDRW/ZIP/DAT - FDI / Jaguar / Lynx 1&2 / 7800 / 2600 / XE 130+SD Card // Sega Dreamcast / Mega2+CD2 // Apple G4
http://soundcloud.com/nativ ~ http://soundcloud.com/nativ-1 ~ http://soundcloud.com/knot_music
http://soundcloud.com/push-sounds ~ http://soundcloud.com/push-records
http://soundcloud.com/nativ ~ http://soundcloud.com/nativ-1 ~ http://soundcloud.com/knot_music
http://soundcloud.com/push-sounds ~ http://soundcloud.com/push-records
Re: New "higheSTcolor" mode better than Photochrome & Spectr
true,nativ wrote:Third picture down is ST512Cyprian_K wrote:55 colors per line? good result. does it work on STfm?Cyg wrote:It is a few days since I work on a new hicolor algorithm I called "higheSTcolor" to encode pictures compliant with my 55 colors per line display and here are some first promising results.
Cyg, how do you reach 55 colors per line on pure STfm?
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
Re: New "higheSTcolor" mode better than Photochrome & Spectr
This is impressive...
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Indeed impressive, i can't wait to see it displayed on my ST!
Is the screenshot ST or STe?
Is the screenshot ST or STe?
-= Personal pages hub = YM-Rockerz =-
Re: New "higheSTcolor" mode better than Photochrome & Spectr
You have 512 clock cycles per scan line. Use them like this for 58 colors per line:Cyprian_K wrote:Cyg, how do you reach 55 colors per line on pure STfm?
Code: Select all
lea $ff8244,a7
lea colors,a6
repeat loop starts here ; clock: pixelpos: comment
movem.l (a6)+,d0-d7/a0-a5 ; 124
movem.l d0-d6,(a7) ; 64 14 start colors, there are two fixed colors
; here starts the displaying of the line
movem.l d7/a0-a5,(a7) ; 64 0 to 64 14 new colors, total 28 colors, first color change at pixel no 8
movem.l (a6)+,d0-d7/a0-a5 ; 124 64 to 188
movem.l d0-d6,(a7) ; 64 188 to 252 14 new colors, total 42 colors
movem.l d7/a0-a5,(a7) ; 64 252 to 316 14 new colors, total 56 colors
nop ; 4
nop ; 4
total ; 512 56 + 2 fixed colors
Re: New "higheSTcolor" mode better than Photochrome & Spectr
thanks Nyh, that's looks very interesting.
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
Re: New "higheSTcolor" mode better than Photochrome & Spectr
I think that displaying self is just one half of progams quality. How well usable, popular will it be depends much from how conversion self will be made. And it may be pretty much work ...
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Hi there,
Sorry for the delay in replying but I am currently on holidays and wifi spots are rare.
SofiST is right, the displaying rout is far easier than the conversion routine.
I missed a thing, my displaying rout is 55 different colors per line + 2 global colors.
Yes it works on STFm, see higheSTcolor_STF512-Floyd, there is no use of the blitter (I don't like "hardware" acceleration )
Nyh, your display routine is better than mine, +1 color per line, but the colors are not as regularly distributed (in the 2nd quarter and middle of the screen) which could lead to a bad conversion with some pictures.
I added a new sample with a RGB test picture : See you soon,
Cyg / BLaBla
Sorry for the delay in replying but I am currently on holidays and wifi spots are rare.
SofiST is right, the displaying rout is far easier than the conversion routine.
I missed a thing, my displaying rout is 55 different colors per line + 2 global colors.
Yes it works on STFm, see higheSTcolor_STF512-Floyd, there is no use of the blitter (I don't like "hardware" acceleration )
Nyh, your display routine is better than mine, +1 color per line, but the colors are not as regularly distributed (in the 2nd quarter and middle of the screen) which could lead to a bad conversion with some pictures.
I added a new sample with a RGB test picture : See you soon,
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.
- Scarlettkitten
- Captain Atari
- Posts: 262
- Joined: Thu Mar 19, 2009 11:42 am
- Location: Northamptonshire, UK
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Great stuff, Looking forward to seeing the demo
My musical dribbles https://sophie-rose.bandcamp.com
Mega ST4, 520STM.
Mega ST4, 520STM.
Re: New "higheSTcolor" mode better than Photochrome & Spectr
mmmmm colours....
Atari STFM 512 / STe 4MB / Mega ST+DSP / Falcon 4MB 16Mhz 68882 - DVD/CDRW/ZIP/DAT - FDI / Jaguar / Lynx 1&2 / 7800 / 2600 / XE 130+SD Card // Sega Dreamcast / Mega2+CD2 // Apple G4
http://soundcloud.com/nativ ~ http://soundcloud.com/nativ-1 ~ http://soundcloud.com/knot_music
http://soundcloud.com/push-sounds ~ http://soundcloud.com/push-records
http://soundcloud.com/nativ ~ http://soundcloud.com/nativ-1 ~ http://soundcloud.com/knot_music
http://soundcloud.com/push-sounds ~ http://soundcloud.com/push-records
Re: New "higheSTcolor" mode better than Photochrome & Spectr
WOW the 4096 colour gradient don't look too bad, even better than photochrome.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Yes, I know, it was just an answer to a question how to display many colors. It seems my routine gave you some inspiration to improve on yours. That is great.Cyg wrote:Nyh, your display routine is better than mine, +1 color per line, but the colors are not as regularly distributed (in the 2nd quarter and middle of the screen) which could lead to a bad conversion with some pictures.
Can you show us your routine?
You should use .png format pictures instead of .jpg. We are looking at pixel level to so how good the pictures are. The .jpg format will introduce pixel errors and distort the picture a bit. That is not what we want in this case.
What routine are you using for color quantization? I think that is a very interesting subject: color quantization whit a variable color set.
Hans Wessels
Re: New "higheSTcolor" mode better than Photochrome & Spectr
I'm interested in a such algorithm too. I'd like to add convert option BMP to SPC/SPS file, but I have no idea how to manage color quantization with variable color set.Nyh wrote:What routine are you using for color quantization? I think that is a very interesting subject: color quantization whit a variable color set.
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Hi again,
Nyh, no improvement between the Vallejo and the RGB test, but flicker methods are under construction with 2 quantization methods already done, improving again the result, I still have to do the display, few minutes of ASM work...
The simplest method is based on 32 levels of colors instead of the 16 of the STE (resp. 16 instead of 8 for STFM)
The more advanced method generate another "original" picture, taking the original pictures and adding the inverse of the errors produced by the quantization. So that by flicking you have an average picture closer to the orifinal. It seems to be the best method (and it includes a 32 level of colors).
caps are converted in JPG 100%, no visible quality is lost and it's smaller than PNG.
The routs and a sample displaying of the results for better understanding (helpful to me, for the quantization algorithm):
Best regards,
Cyg / BLaBla
Nyh, no improvement between the Vallejo and the RGB test, but flicker methods are under construction with 2 quantization methods already done, improving again the result, I still have to do the display, few minutes of ASM work...
The simplest method is based on 32 levels of colors instead of the 16 of the STE (resp. 16 instead of 8 for STFM)
The more advanced method generate another "original" picture, taking the original pictures and adding the inverse of the errors produced by the quantization. So that by flicking you have an average picture closer to the orifinal. It seems to be the best method (and it includes a 32 level of colors).
caps are converted in JPG 100%, no visible quality is lost and it's smaller than PNG.
The routs and a sample displaying of the results for better understanding (helpful to me, for the quantization algorithm):
Code: Select all
; HigheSTcolors display rout. 1992-2011 Cyg / BLaBla
; colors 0 and 1 are global
lea $ff8244,a6
lea colors,a7
rept 199 ; 199 lines only, first line is lost because of the synchronisation, possibility for a lower border removal
movem.l (a7)+,d0-d7/a0-a5 ; load 28 colors
movem.l d0-d6,(a6) ; display 14 colors at the beginning of the right border
movem.l (a7)+,d0-d6 ; load 14 colors
movem.l d7/a0-a5,(a6) ; display 14 colors right after the end of the left border
movem.l (a7)+,a0-a5 ; load 12 colors
movem.l d0-d6,(a6) ; display 14 colors
movem.l a0-a5,(a6) ; display 12 colors
move.w (a7)+,(a6) ; display 1 last color (3 nop)
endr
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.
- Zorro 2
- Administrator
- Posts: 2305
- Joined: Tue May 21, 2002 12:44 pm
- Location: Grenoble (38) - France
- Contact:
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Very happy to see you and welcome on this board mister Cyg
Your last production is Oldiez and I want to know how you did that
Thanx for the new challenge on ATARI ST
Your last production is Oldiez and I want to know how you did that
Thanx for the new challenge on ATARI ST
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Hi,
I have a 15sec animation, I would like to use this 'colour process' to play it! Is that possible? Do you have any source code?
Many thanks
/nativ
I have a 15sec animation, I would like to use this 'colour process' to play it! Is that possible? Do you have any source code?
Many thanks
/nativ
Atari STFM 512 / STe 4MB / Mega ST+DSP / Falcon 4MB 16Mhz 68882 - DVD/CDRW/ZIP/DAT - FDI / Jaguar / Lynx 1&2 / 7800 / 2600 / XE 130+SD Card // Sega Dreamcast / Mega2+CD2 // Apple G4
http://soundcloud.com/nativ ~ http://soundcloud.com/nativ-1 ~ http://soundcloud.com/knot_music
http://soundcloud.com/push-sounds ~ http://soundcloud.com/push-records
http://soundcloud.com/nativ ~ http://soundcloud.com/nativ-1 ~ http://soundcloud.com/knot_music
http://soundcloud.com/push-sounds ~ http://soundcloud.com/push-records
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Hi,
Zorro2 : look at my quick answer about the tunnel effect in Oldiez on ATB forum. Wait for my next tunnel routine which will explode the quality of this one...
Nativ : you're served, see my attachments for a little surprise featuring 2 versions (for 1Mo and 2Mo memory computers). The video has been screencap frame per frame from a fullHD trailer, using no compression (I don't think it is possible to decompress a fullscreen picture fast enough...).
It could have been displayed in fullscreen but I wanted to preserve the aspect ratio and avoid some extra memory & diskspace, the framerate could also be higher.
2 Mo version displays 40 frames at 12.5Hz, 3 seconds at all. 15 seconds seems very difficult to achieve (is it something like a raytrace?)
Each frame weigth 55Ko in 320x199 (32Ko for the pixels, 23Ko for the colors).
I will not release the encoding process because it still needs many manual actions... You can send me your video and I will generate a preview of it => PM me
A preview: See U
Cyg / BLaBla
Zorro2 : look at my quick answer about the tunnel effect in Oldiez on ATB forum. Wait for my next tunnel routine which will explode the quality of this one...
Nativ : you're served, see my attachments for a little surprise featuring 2 versions (for 1Mo and 2Mo memory computers). The video has been screencap frame per frame from a fullHD trailer, using no compression (I don't think it is possible to decompress a fullscreen picture fast enough...).
It could have been displayed in fullscreen but I wanted to preserve the aspect ratio and avoid some extra memory & diskspace, the framerate could also be higher.
2 Mo version displays 40 frames at 12.5Hz, 3 seconds at all. 15 seconds seems very difficult to achieve (is it something like a raytrace?)
Each frame weigth 55Ko in 320x199 (32Ko for the pixels, 23Ko for the colors).
I will not release the encoding process because it still needs many manual actions... You can send me your video and I will generate a preview of it => PM me
A preview: See U
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.
Last edited by Cyg on Thu Jul 07, 2011 8:10 am, edited 1 time in total.
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Wow, really amazing rendering-wise, congrats again on your routs!
-= Personal pages hub = YM-Rockerz =-
Re: New "higheSTcolor" mode better than Photochrome & Spectr
This is very very cool.
PhotoChrome was a revelation to me for raytracing on the ST. And unfortunately I could never find a working copy of Spectrum 512 ( I did find a boxed one at a flea market for a couple of quid, but the disks were corrupt ). I would love to see this complete, but also with an interface and not just for demos, so we can load up raytrace images into it etc.
This is amazing work!
PhotoChrome was a revelation to me for raytracing on the ST. And unfortunately I could never find a working copy of Spectrum 512 ( I did find a boxed one at a flea market for a couple of quid, but the disks were corrupt ). I would love to see this complete, but also with an interface and not just for demos, so we can load up raytrace images into it etc.
This is amazing work!
My company website http://www.thebigconsultant.com[/i][/color]
Re: New "higheSTcolor" mode better than Photochrome & Spectr
Looks really great. I thinkered little about making hard disk version, which could run longer animations even with 512K RAM only . Someone proposed it earlier for Photochrome images . Then I said that it is not possible due high transfer rate needed.
Still, I say that it is possible with limited res (so not full screen ST low) and limited framerate - less than 25 fps.
Main problem is that multicolor presentation (to call it so) eats about 65% of CPU time. So, for hard disk load is left not much. It limits tranfer rate to max 600KB/sec aprox - and only with fastest hard disk adapters, what not much people have. Someone may say: 'use DMA' . Well, it works not, actually DMA is pretty useless here - although I have IF which can 2MB/sec on DMA, it is not good, as DMA transfer screws multicolor displaying (stops CPU during transfer, about 2.5% for each 100 KB/sec. ) . So, DMA should work only when no line scan, what is max 37% of CPU time. And it would require some very advanced code, loading not via regular GEMDOS, as it not provides sync with video.
What would be possible is 12.5 fps and lower res - let say some 200 x 120 px. But it still needs special loading from HD to avoid screen screwing, at least with ACSI. With IDE it should be easier, as V interrupt can stop IDE transfers.
Still, I say that it is possible with limited res (so not full screen ST low) and limited framerate - less than 25 fps.
Main problem is that multicolor presentation (to call it so) eats about 65% of CPU time. So, for hard disk load is left not much. It limits tranfer rate to max 600KB/sec aprox - and only with fastest hard disk adapters, what not much people have. Someone may say: 'use DMA' . Well, it works not, actually DMA is pretty useless here - although I have IF which can 2MB/sec on DMA, it is not good, as DMA transfer screws multicolor displaying (stops CPU during transfer, about 2.5% for each 100 KB/sec. ) . So, DMA should work only when no line scan, what is max 37% of CPU time. And it would require some very advanced code, loading not via regular GEMDOS, as it not provides sync with video.
What would be possible is 12.5 fps and lower res - let say some 200 x 120 px. But it still needs special loading from HD to avoid screen screwing, at least with ACSI. With IDE it should be easier, as V interrupt can stop IDE transfers.