News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_roudoudou

splitraster+ v8

Started by roudoudou, 22:38, 31 May 19

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roudoudou

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!)
use RASM, the best (and fastest) assembler ever made

Kris

Looks promising !!!  :o

gurneyh

#2
The results are stunning !
Great work roudoudou !

Maniac

This looks astounding!

GUNHED

Hope it gets to be released to all CPC users one day.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2022.03.09)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

Solorenzero

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 !

roudoudou


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 (and fastest) assembler ever made

roudoudou

new v4 in the first post  ;D
color compensation in HSP, debug, debug, debug...
thanks to early users
use RASM, the best (and fastest) assembler ever made

roudoudou

Had a memory overrun during the day, there is a new version fixing this random bug  :picard:
use RASM, the best (and fastest) assembler ever made

roudoudou

As Beb said, do not make boring slideshows with this   ;D
use RASM, the best (and fastest) assembler ever made

Token

I hope for a slideshow with such gorgeous pics.


roudoudou

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
use RASM, the best (and fastest) assembler ever made


roudoudou

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

use RASM, the best (and fastest) assembler ever made

Golem13

Arf, you lost me on the way!

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

;D

Hwikaa

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

roudoudou

new release in the first post
Less leaks, moar chic!
use RASM, the best (and fastest) assembler ever made

krusty_benediction

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.


CraigsBar

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

roudoudou

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  >:(
use RASM, the best (and fastest) assembler ever made

Kris

Crazy cars II



roudoudou

working on levels (more agressive than contrast but sometime useful)

also new realtime histograms + outputed color map

use RASM, the best (and fastest) assembler ever made

roudoudou

use RASM, the best (and fastest) assembler ever made

norecess464

My personal website: https://norecess.cpcscene.net
My current project is Sonic GX, a remake of Sonic the Hedgehog for the awesome Amstrad GX-4000 game console!
I also maintain occasionally the HxC Manager for the Amstrad CPC/Plus (V4.0 released in August 2023).
Finally, in September 2023 I released a new small tool called CatRun to fasten the CAT+RUN process.

Powered by SMFPacks Menu Editor Mod