New "higheSTcolor" mode better than Photochrome & Spectrum

Discuss your favourite artists, styles, art packages and much more in this section

Moderator: Moderator Team

Cyg
Atariator
Atariator
Posts: 25
Joined: Fri Apr 29, 2011 2:03 pm

New "higheSTcolor" mode better than Photochrome & Spectrum

Postby Cyg » Mon Jun 13, 2011 11:11 pm

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:
original_vallejo.jpg

higheSTcolor_STE4096-Floyd.jpg

higheSTcolor_ST512-Floyd.jpg

spectrum 4096.jpg

PCS 4096.jpg

Photchrome a.jpg


Other samples will follow...

Best regards,
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.

User avatar
spiny
Disk Imager Supreme
Disk Imager Supreme
Posts: 2332
Joined: Mon Aug 11, 2003 11:53 pm
Location: just outside bristol
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby spiny » Tue Jun 14, 2011 7:43 am

neat :) looking forward to the demo :)

Dal
Administrator
Administrator
Posts: 4066
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Dal » Tue Jun 14, 2011 9:23 am

This is impressive stuff! Looking forward to the demo
TT030: 4MB/16MB + Crazy Dots, Mega"SST" 12, STacy 2, MegaSTE, STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

User avatar
Cyprian
Atari God
Atari God
Posts: 1398
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyprian » Tue Jun 14, 2011 10:06 am

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.

55 colors per line? good result. does it work on STfm?
Jaugar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Aranym / Steem / Saint
http://260ste.appspot.com/

User avatar
nativ
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4087
Joined: Mon Jul 30, 2007 10:26 am
Location: South West, UK

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby nativ » Tue Jun 14, 2011 10:17 am

Cyprian_K wrote:
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.

55 colors per line? good result. does it work on STfm?



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

User avatar
Cyprian
Atari God
Atari God
Posts: 1398
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyprian » Tue Jun 14, 2011 10:32 am

nativ wrote:
Cyprian_K wrote:
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.

55 colors per line? good result. does it work on STfm?

Third picture down is ST512

true,
Cyg, how do you reach 55 colors per line on pure STfm?
Jaugar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Aranym / Steem / Saint
http://260ste.appspot.com/

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11924
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby wongck » Tue Jun 14, 2011 11:36 am

This is impressive... :thumbs:
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+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 for sale - click here for list

User avatar
dma
Atari Super Hero
Atari Super Hero
Posts: 817
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby dma » Tue Jun 14, 2011 4:58 pm

Indeed impressive, i can't wait to see it displayed on my ST!
Is the screenshot ST or STe?

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Nyh » Wed Jun 15, 2011 12:34 am

Cyprian_K wrote:Cyg, how do you reach 55 colors per line on pure STfm?

You have 512 clock cycles per scan line. Use them like this for 58 colors per line:

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


Hans Wessels

User avatar
Cyprian
Atari God
Atari God
Posts: 1398
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyprian » Wed Jun 15, 2011 10:46 pm

thanks Nyh, that's looks very interesting.
Jaugar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Aranym / Steem / Saint
http://260ste.appspot.com/

SofiST
Atari Super Hero
Atari Super Hero
Posts: 591
Joined: Tue Apr 28, 2009 12:25 pm

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby SofiST » Thu Jun 16, 2011 12:44 pm

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 ...

Cyg
Atariator
Atariator
Posts: 25
Joined: Fri Apr 29, 2011 2:03 pm

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyg » Fri Jun 24, 2011 4:11 pm

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 :
RGB_24bits_palette_color_test_chart.jpg

RGB_hicolor_STE4096_Floyd.jpg

RGB_hicolor_STFM512_Floyd.jpg

rgb test pcs spectrum 4096.jpg

rgb test pcs.jpg

rgb test Photochrome.jpg


See you soon,
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.

User avatar
Scarlettkitten
Captain Atari
Captain Atari
Posts: 259
Joined: Thu Mar 19, 2009 11:42 am
Location: Northamptonshire, UK

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Scarlettkitten » Sun Jun 26, 2011 10:52 pm

Great stuff, Looking forward to seeing the demo :)
Music gear
Falcon 030 14MB, Cubase Audio, Soundpool FA8,FDI, MAudio 88 keystation, Roland S750, Yamaha A5000, Roland JV1080, Yamaha MG10, 1040STE, ZX Spectrum 128k.

User avatar
nativ
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4087
Joined: Mon Jul 30, 2007 10:26 am
Location: South West, UK

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby nativ » Mon Jun 27, 2011 9:33 am

mmmmm colours.... 8)
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

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11924
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby wongck » Mon Jun 27, 2011 11:25 am

WOW the 4096 colour gradient don't look too bad, even better than photochrome.
My Stuff: FB/Falcon CT63+CTPCI_ATI_RTL8139 14+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 for sale - click here for list

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Nyh » Mon Jun 27, 2011 4:17 pm

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.

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.

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

User avatar
Cyprian
Atari God
Atari God
Posts: 1398
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyprian » Tue Jun 28, 2011 12:33 am

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.


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.
Jaugar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
SDrive / PAK68/3 / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Aranym / Steem / Saint
http://260ste.appspot.com/

Cyg
Atariator
Atariator
Posts: 25
Joined: Fri Apr 29, 2011 2:03 pm

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyg » Tue Jun 28, 2011 1:05 am

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):

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

Steem__005 Copie.gif

Best regards,
Cyg / BLaBla
You do not have the required permissions to view the files attached to this post.

User avatar
Zorro 2
Administrator
Administrator
Posts: 2190
Joined: Tue May 21, 2002 12:44 pm
Location: Saint Cloud (France)
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Zorro 2 » Tue Jul 05, 2011 10:32 am

Very happy to see you and welcome on this board mister Cyg :D

Your last production is Oldiez and I want to know how you did that :mrgreen:

Thanx for the new challenge on ATARI ST :D
Member of NoExtra Team

User avatar
nativ
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 4087
Joined: Mon Jul 30, 2007 10:26 am
Location: South West, UK

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby nativ » Wed Jul 06, 2011 11:03 am

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
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

Cyg
Atariator
Atariator
Posts: 25
Joined: Fri Apr 29, 2011 2:03 pm

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Cyg » Wed Jul 06, 2011 9:46 pm

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 :D 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:
Steem__017.png

HighAvat.zip


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.

User avatar
dma
Atari Super Hero
Atari Super Hero
Posts: 817
Joined: Wed Nov 20, 2002 11:22 pm
Location: France
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby dma » Thu Jul 07, 2011 7:57 am

Wow, really amazing rendering-wise, congrats again on your routs!

User avatar
bid
Atari Super Hero
Atari Super Hero
Posts: 712
Joined: Fri Feb 18, 2011 2:04 pm
Location: Rotherham
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby bid » Fri Jul 15, 2011 11:58 am

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!
My company website http://www.thebigconsultant.com[/i][/color]

SofiST
Atari Super Hero
Atari Super Hero
Posts: 591
Joined: Tue Apr 28, 2009 12:25 pm

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby SofiST » Mon Jul 18, 2011 11:42 am

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.

User avatar
Zorro 2
Administrator
Administrator
Posts: 2190
Joined: Tue May 21, 2002 12:44 pm
Location: Saint Cloud (France)
Contact:

Re: New "higheSTcolor" mode better than Photochrome & Spectr

Postby Zorro 2 » Mon Nov 21, 2011 12:15 pm

Bravo Mister Cyg :cheers:

Here the final result : Street Art (http://pouet.net/prod.php?which=58056)
Member of NoExtra Team


Social Media

     

Return to “Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest