Graphic conversion for any 256x192 into MSX1 graphics (Source code in Blitz Basic).

Page 6/14
1 | 2 | 3 | 4 | 5 | | 7 | 8 | 9 | 10 | 11

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

04-04-2019, 11:07

MsxKun wrote:

It still takes about 80secs to convert. I'd need to find how to improve that.

Create a giant file with all RGB possibilities and their respective Lab values. Read this file at the beginning of the conversion routine and you won't need to convert it to Lab in the main loop. Wink

By Parn

Champion (400)

Parn's picture

04-04-2019, 17:14

I see the converted images are being displayed on MSX2 emulated machines. Is the conversion taking into account the difference between MSX1 and MSX2 color palettes?

By MsxKun

Paladin (919)

MsxKun's picture

04-04-2019, 21:08

Parn wrote:

I see the converted images are being displayed on MSX2 emulated machines. Is the conversion taking into account the difference between MSX1 and MSX2 color palettes?

So far, I didn't check the images on any MSX emulated machine, MSX1 or MSX2.
The converter converts (heh) from RGB to the MSX palette provided. You can use any palette you want (16 colors).
So you can use MSX1 Pal or MSX1 NTSC or MSX2 or your custom palette. I want to make that last thing someday. Pretty easy.

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

05-04-2019, 02:16

Parn wrote:

I see the converted images are being displayed on MSX2 emulated machines. Is the conversion taking into account the difference between MSX1 and MSX2 color palettes?

No, it isn't. My routine is just reading RGBs values that I gave it. But it would be easy to change these RGB values, or simple include an option to load palettes.

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

05-04-2019, 03:51

Another test...

Something that always bothered me on the MSX, is that most illustrations don't have contours, due to the color limitations. I decided to try something, I got a MSX1 drawing (Rumy from Gall Force), added contours to it completely ignoring color clashes, and then used my converting routine (no manual editing after it).

The converter works decently in photos, so I'd expect it to be pretty good in a drawing that uses exactly the same MSX colors. The converted image with contours still has flaws, of course, but IMHO it looks great and more visible than the original. Definitely this could be a useful tool for graphic design on the MSX.

Left: original image.
Center: manually retouched image with contours (not possible on MSX1).
Right: image with contours after it passed through the converter (possible on MSX1).

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

06-04-2019, 01:47

Quick tests with manual drawing and the conversion...

By ray2day

Champion (452)

ray2day's picture

06-04-2019, 09:30

Super! Keep up the good work! Cool

By Rogerup

Resident (38)

Rogerup's picture

06-04-2019, 17:47

Here your beautiful art being displayed in full in MSX1.

Show online

By alexito

Hero (536)

alexito's picture

06-04-2019, 21:46

Top left --> Leandro Correia (Blitz Basic Tolerance=0)
Top Right --> Tursi (Dither=NONE)
Botton Center --> Rogerup (Screen 2 with Sprites Contour Trick)

If you re-size the small image you don't need sprites trick just apply the right converter is my humble opinion. That make me think if Leandro decide to include contour with resizing feature would be great for enhancing MSX 1 games.

By LeandroCorreia

Paladin (944)

LeandroCorreia's picture

06-04-2019, 21:50

alexito wrote:

Top left --> Leandro Correia (Blitz Basic Tolerance=0)
Top Right --> Tursi (Dither=NONE)
Botton Center --> Rogerup (Screen 2 with Sprites Contour Trick)

If you re-size the small image you don't need sprites trick just apply the right converter is my humble opinion. That make me think if Leandro decide to include contour with resizing feature would be great for enhancing MSX 1 games.

That contour was handdrawn. Not possible to do it automatically. :(

Page 6/14
1 | 2 | 3 | 4 | 5 | | 7 | 8 | 9 | 10 | 11