CPCWiki forum

General Category => Applications (CPC and CPC-related) => Topic started by: roudoudou on 22:38, 31 May 19

Title: splitraster+ v8
Post by: roudoudou on 22:38, 31 May 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 (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!)
Title: Re: splitraster+ v3
Post by: Kris on 09:45, 01 June 19
Looks promising !!!  :o
Title: Re: splitraster+ v3
Post by: gurneyh on 12:37, 01 June 19
The results are stunning !
Great work roudoudou !
Title: Re: splitraster+ v3
Post by: Maniac on 15:00, 01 June 19
This looks astounding!
Title: Re: splitraster+ v3
Post by: GUNHED on 15:44, 01 June 19
Hope it gets to be released to all CPC users one day.  :)
Title: Re: splitraster+ v3
Post by: Solorenzero on 20: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 !
Title: Re: splitraster+ v3 (beta release available for download)
Post by: roudoudou on 08: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)
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 14:04, 04 June 19
new v4 in the first post  ;D
color compensation in HSP, debug, debug, debug...
thanks to early users
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 19:44, 04 June 19
Had a memory overrun during the day, there is a new version fixing this random bug  :picard:
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 20:31, 04 June 19
As Beb said, do not make boring slideshows with this   ;D
Title: Re: splitraster+ v4 (beta release available for download)
Post by: Token on 22:54, 04 June 19
I hope for a slideshow with such gorgeous pics.
Title: Re: splitraster+ v4 (beta release available for download)
Post by: krusty_benediction on 02:05, 05 June 19
Seems great. have you planned a CPC old version ? Or the number of available colors is a limitation ?
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 07:12, 05 June 19
Quote from: krusty_benediction on 02:05, 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
Title: Re: splitraster+ v4 (beta release available for download)
Post by: Golem13 on 08:53, 05 June 19
Is it magic ? :-*
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 09:10, 05 June 19
Quote from: Golem13 on 08:53, 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

Title: Re: splitraster+ v4 (beta release available for download)
Post by: Golem13 on 09:13, 05 June 19
Arf, you lost me on the way!

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

;D
Title: Re: splitraster+ v4 (beta release available for download)
Post by: Hwikaa on 10:55, 05 June 19
Quote from: Golem13 on 09:13, 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'.
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 11:33, 05 June 19
new release in the first post
Less leaks, moar chic!
Title: Re: splitraster+ v4 (beta release available for download)
Post by: krusty_benediction on 23:51, 05 June 19
Quote from: roudoudou on 07:12, 05 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.

Title: Re: splitraster+ v4 (beta release available for download)
Post by: CraigsBar on 19: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!
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 20:45, 06 June 19
Quote from: CraigsBar on 19: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!
I will update the first post will ALL keys i forgot to mention  >:(
Title: Re: splitraster+ v4 (beta release available for download)
Post by: Kris on 07:59, 07 June 19
Crazy cars II


(https://cdn.discordapp.com/attachments/454619697485447169/586264120853135417/ccpreview.png)
Title: Re: splitraster+ v4 (beta release available for download)
Post by: roudoudou on 08:17, 07 June 19
working on levels (more agressive than contrast but sometime useful)

also new realtime histograms + outputed color map

Title: Re: splitraster+ v6 (beta release available for download)
Post by: roudoudou on 10:46, 07 June 19
new evolutions for download in rastamix.zip (first post)
Title: Re: splitraster+ v6 (beta release available for download)
Post by: norecess464 on 14:12, 07 June 19
Very great project @roudoudou (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1714) !!
Title: Re: splitraster+ v6 (beta release available for download)
Post by: CraigsBar on 18:42, 07 June 19
OK, Not the greatest but I am having fun :)



Title: Re: splitraster+ v6 (beta release available for download)
Post by: CraigsBar on 00:00, 09 June 19
OK Guess who this one was done for?
Title: Re: splitraster+ v6 (beta release available for download)
Post by: roudoudou on 16:14, 16 June 19
future version will handle screens up to 273 lines for full full full screen and also tiny screens low to 16 lines (for logos, title, ...)



I'm currently working on an editor. When all settings are done, the screen may be locked to run bitmap editor then...

each time the cursor is changing line, the screen palette (at the upper-right of the screen) is updated
the sprite palette is active when there is at least one HSP on the line
the green cursor outside HSP (represented by blue squares) has obviously mode 0 size
Title: Re: splitraster+ v6 (beta release available for download)
Post by: GOB on 22:55, 18 June 19
Roud: don't miss to used cursor keys to move pixel editor cursor ;)
Title: Re: splitraster+ v6 (beta release available for download)
Post by: roudoudou on 06:47, 19 June 19
Quote from: GOB on 22:55, 18 June 19
Roud: don't miss to used cursor keys to move pixel editor cursor ;)
it's ONLY keyboard to move the current pixel because there is one palette per line. Using mouse is too confusing.
still a last bug to fix with backups before release
Title: Re: splitraster+ v7
Post by: roudoudou on 13:52, 19 June 19

new version with pixel editor in the first post - thank you to READ again the first post for new keys
this is still beta and there is no palette edition (until the next version)



Title: Re: splitraster+ v8
Post by: roudoudou on 17:05, 20 June 19

better ergonomics in the new executable  8)
you may use cursor key to move current sprite and space to toggle zoom sprite positionning view or sprite mask edition
Title: Re: splitraster+ v8
Post by: Deckard on 21:24, 12 December 19
Quote from: roudoudou on 22:38, 31 May 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 (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!)
Je dois être idiot, je ne trouve pas le lien de téléchargement du logiciel...
Title: Re: splitraster+ v8
Post by: Arnaud on 21:28, 12 December 19
Quote from: Deckard on 21:24, 12 December 19
Je dois être idiot, je ne trouve pas le lien de téléchargement du logiciel...

Il est à la fin du premier post, mais je te mets le lien directement  :D

http://www.cpcwiki.eu/forum/applications/splitraster-v3/?action=dlattach;attach=28997
Title: Re: splitraster+ v8
Post by: Deckard on 01:04, 31 December 19
Quote from: Arnaud on 21:28, 12 December 19
Il est à la fin du premier post, mais je te mets le lien directement  :D

http://www.cpcwiki.eu/forum/applications/splitraster-v3/?action=dlattach;attach=28997 (http://www.cpcwiki.eu/forum/applications/splitraster-v3/?action=dlattach;attach=28997)
Merci à toi ! Je viens de le trouver sur le post cité également !Maintenant, il buggue chez moi... Il se lance, puis disparait instantanément...Etrange...
Title: Re: splitraster+ v8
Post by: roudoudou on 07:39, 31 December 19
Quote from: Deckard on 01:04, 31 December 19
Merci à toi ! Je viens de le trouver sur le post cité également !Maintenant, il buggue chez moi... Il se lance, puis disparait instantanément...Etrange...
The solution is the 1st line of this topic: splitsdl.exe <pngimage>You may drag'n'drop a png image into it, if you are not familiar with command line
Powered by SMFPacks Menu Editor Mod