Author Topic: splitraster+ v8  (Read 4816 times)

0 Members and 1 Guest are viewing this topic.

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
splitraster+ v8
« on: 00:38, 01 June 19 »
usage -> splitsdl.exe <pngimage>

the software is supposed to handle PNG pictures of 384 pixels width and any height from 16 to 273 pixels

IF not, a crappy resize will be done (NOT recommended)


Keyboard in quantization mode:

+/- to change current hardware sprite selection
T to enable/disable squares around hardware sprites
G to generate scr and asm files
L -> lock the bitmap and go to pixel edition mode
ESC to quit

Keyboard in pixel edition mode:

U -> unlock the bitmap, all handdrawings are lost
cursor to move current pixelleft shift + cursor to speed up a little
space to apply current selected color
keypad . and 0 (OCP style) to change current selected color
and again G to generate scr and asm files
B to put a background pixel over a sprite hard (enable transparency and put background color when inside an HSP)

ESC to quit

The software was presented during a Twitch live session


https://youtu.be/3TYCM4GQCts

Here is a capture of the tool and two CPC+ cartridges so you may test yourself the performance


outputed files with a <file>.png image:
- <file>.xml settings file
- <file>.sc1 & <file>.sc2 binaries for screen files
- <file>.spr file for HSP data (packed 4+4bits)
- <file>.asm file for raster code
- <file>cpr.asm in ordre to generate a ready to use cartridge (use RASM to compile it!)
« Last Edit: 19:04, 20 June 19 by roudoudou »
use RASM, the best assembler ever made :p

I will survive

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 555
  • Country: fr
  • Team Impact
  • Liked: 220
  • Likes Given: 838
Re: splitraster+ v3
« Reply #1 on: 11:45, 01 June 19 »
Looks promising !!!  :o

Offline gurneyh

  • CPC464
  • **
  • Posts: 10
  • Country: fr
  • Liked: 47
  • Likes Given: 74
Re: splitraster+ v3
« Reply #2 on: 14:37, 01 June 19 »
The results are stunning !
Great work roudoudou !
« Last Edit: 17:05, 01 June 19 by gurneyh »

Offline Maniac

  • CPC6128
  • ****
  • Posts: 222
  • Country: gb
  • Liked: 82
  • Likes Given: 223
Re: splitraster+ v3
« Reply #3 on: 17:00, 01 June 19 »
This looks astounding!

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 1.974
  • Country: de
  • Reincarnation of TFM
    • FutureOS - The quickest OS for the CPC and Plus
  • Liked: 891
  • Likes Given: 2222
Re: splitraster+ v3
« Reply #4 on: 17:44, 01 June 19 »
Hope it gets to be released to all CPC users one day.  :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2019.08.07)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2019.08.14)

Offline Solorenzero

  • Speccy
  • *
  • Posts: 1
  • Country: fr
    • Solorenzero Retrocomputing Youtube Channel
  • Liked: 1
  • Likes Given: 1
Re: splitraster+ v3
« Reply #5 on: 22:44, 02 June 19 »
I was there !
That was awesome  :o The Plus palette really does the job with a the pastel / yellowish colours of the Assassin Creed overview  8)
I'm wondering if you can use it in its full strength to convert a picture particularly optimized for your algorithm, with a slow gradient in hue (I'm thinking about a sunset).
Also, have you tried it with some graphics tailored for "scientific" value (if not for aesthetics ^^), changing 4 colours every line to a total exceeding 1000 in full screen ? (which shall be only a quarter of the Plus capabilities !)
Great job !

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v3 (beta release available for download)
« Reply #6 on: 10:30, 04 June 19 »

HUGE Thanks to Thomas/Lone for windows compilation tips!
win64 exe in the first post and a small documentation
This is a perfectible version, i'm still on a better compensation for HSP ;)
Have fun and do not hesitate to post your own CPR in this topic! 8)
use RASM, the best assembler ever made :p

I will survive

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #7 on: 16:04, 04 June 19 »
new v4 in the first post  ;D
color compensation in HSP, debug, debug, debug...
thanks to early users
use RASM, the best assembler ever made :p

I will survive

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #8 on: 21:44, 04 June 19 »
Had a memory overrun during the day, there is a new version fixing this random bug  :picard:
use RASM, the best assembler ever made :p

I will survive

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #9 on: 22:31, 04 June 19 »
As Beb said, do not make boring slideshows with this   ;D
use RASM, the best assembler ever made :p

I will survive

Offline Token

  • 464 Plus
  • *****
  • Posts: 387
  • Country: fr
  • Liked: 144
  • Likes Given: 372
Re: splitraster+ v4 (beta release available for download)
« Reply #10 on: 00:54, 05 June 19 »
I hope for a slideshow with such gorgeous pics.

Offline krusty_benediction

  • CPC664
  • ***
  • Posts: 143
  • Country: fr
  • Liked: 104
  • Likes Given: 37
Re: splitraster+ v4 (beta release available for download)
« Reply #11 on: 04:05, 05 June 19 »
Seems great. have you planned a CPC old version ? Or the number of available colors is a limitation ?

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #12 on: 09:12, 05 June 19 »
Seems great. have you planned a CPC old version ? Or the number of available colors is a limitation ?
I already have a huge algo for the regular CPC but the latest IMPdraw version discouraged me to finalize the code generator.
With only 27 différents colors it's more a graphist job
use RASM, the best assembler ever made :p

I will survive

Offline Golem13

  • CPC664
  • ***
  • Posts: 50
  • Country: fr
  • Liked: 199
  • Likes Given: 177
Re: splitraster+ v4 (beta release available for download)
« Reply #13 on: 10:53, 05 June 19 »
Is it magic ? :-*

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #14 on: 11:10, 05 June 19 »
Is it magic ? :-*
It's science b1tch ! And maybe a little empiricism (for the color decision algo especially designed for 12 to 16 color reduction!)
For the record i did not use octree like all existing softwares
It's a mix of Voronoi with max distance and all maths are done in a "supercube" of 4K cells but every cells of this supercube contains one or more "superpixels" with 16M precision

use RASM, the best assembler ever made :p

I will survive

Offline Golem13

  • CPC664
  • ***
  • Posts: 50
  • Country: fr
  • Liked: 199
  • Likes Given: 177
Re: splitraster+ v4 (beta release available for download)
« Reply #15 on: 11:13, 05 June 19 »
Arf, you lost me on the way!

So if I properly understood, it's magic that's it?

 ;D

Offline Hwikaa

  • Supporter
  • CPC464
  • *
  • Posts: 37
  • Country: es
  • Liked: 30
  • Likes Given: 143
Re: splitraster+ v4 (beta release available for download)
« Reply #16 on: 12:55, 05 June 19 »
Arf, you lost me on the way!

So if I properly understood, it's magic that's it?

 ;D
This is not magic. THIS. IS. MADNESS!!!  :laugh:
Very impressive job, Roud'.

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #17 on: 13:33, 05 June 19 »
new release in the first post
Less leaks, moar chic!
use RASM, the best assembler ever made :p

I will survive

Offline krusty_benediction

  • CPC664
  • ***
  • Posts: 143
  • Country: fr
  • Liked: 104
  • Likes Given: 37
Re: splitraster+ v4 (beta release available for download)
« Reply #18 on: 01:51, 06 June 19 »
I already have a huge algo for the regular CPC but the latest IMPdraw version discouraged me to finalize the code generator.
With only 27 différents colors it's more a graphist job
it is not incompatible ;) The graphist draw with these constraints and your tool make the transfer.I'm pretty sure that it is impossible to do an easy to use/ergonomic painting program that take into account rasters/split rasters.


Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.313
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1186
  • Likes Given: 83
Re: splitraster+ v4 (beta release available for download)
« Reply #19 on: 21:53, 06 June 19 »
As I am too stupid (And do not speak french) I cannot work out how this works... I mean I am unable to get it to save any ASM files for compilation. so I have to live with other peoples image conversions. and those are just WOW!
IRC:  #Retro4All on Freenode

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #20 on: 22:45, 06 June 19 »
As I am too stupid (And do not speak french) I cannot work out how this works... I mean I am unable to get it to save any ASM files for compilation. so I have to live with other peoples image conversions. and those are just WOW!
I will update the first post will ALL keys i forgot to mention  >:(
use RASM, the best assembler ever made :p

I will survive

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 555
  • Country: fr
  • Team Impact
  • Liked: 220
  • Likes Given: 838
Re: splitraster+ v4 (beta release available for download)
« Reply #21 on: 09:59, 07 June 19 »
Crazy cars II


« Last Edit: 10:23, 07 June 19 by Kris »

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v4 (beta release available for download)
« Reply #22 on: 10:17, 07 June 19 »
working on levels (more agressive than contrast but sometime useful)

also new realtime histograms + outputed color map

use RASM, the best assembler ever made :p

I will survive

Offline roudoudou

  • 6128 Plus
  • ******
  • Posts: 877
  • Country: fr
    • urban exploration
  • Liked: 1175
  • Likes Given: 712
Re: splitraster+ v6 (beta release available for download)
« Reply #23 on: 12:46, 07 June 19 »
new evolutions for download in rastamix.zip (first post)
use RASM, the best assembler ever made :p

I will survive

Offline norecess

  • CPC6128
  • ****
  • Posts: 156
  • Country: ca
  • Liked: 319
  • Likes Given: 147
Re: splitraster+ v6 (beta release available for download)
« Reply #24 on: 16:12, 07 June 19 »
Very great project @roudoudou !!