Jump to content
IGNORED

Images generated by RastaConverter


Philsan

Recommended Posts

That's awesome - looks as good as a Spectrum512 image on the ST!

 

True, but this is an interlace. Well... Implementing interlace for RC should not be hard... It would be great if somebody could point me some good reading about PAL and NTSC color mixing for interlace ;-)

 

I know an Atari programmer named DearHorse who was writing AtariTools, a PC development utility which is also to feature implementation of my ICE character modes (Super IRG and related). I think he has an algorithm which could calculate the nearest 2 component Atari colors for any given color in a picture.

 

His website is http://www.ataritools.fr.gd/

  • Like 1
Link to comment
Share on other sites

If 4 colors can be displayed perscanline then would it not just be all combo's and error difference measured. for example on the c64 it would be something similar to color 0,1,2,3, color 0,1,2,4.... color 0,1,2,f... color 0,1,3,4.. ensuring that there are no repeated colors

then code can be generated after based on the colors rendered. ofcourse on the atari this would take longer due to more 120 colors instead of 16

 

I dont know anything about how the atari generates its images however. perhaps previous colors have influence on next line etc. But even in interlaced format using combinations of multicolor/hires and all possible combo's, i was able to convert the image via pure brute force and luma masking etc in less than 10 minutes. See attached

 

testimage-supermfli.jpg

That's awesome - looks as good as a Spectrum512 image on the ST!

 

Interlace with tremendous sunburn....

 

The original image as below..

 

saint01.jpg

 

 

Another rendered example below using updated conversion routine.. (interlaced)

 

robo-pic.jpg

Link to comment
Share on other sites

 

Interlace with tremendous sunburn....

Typical response. Care to point to any photo-realistic colour images on the A8 in 320*200?

 

Typical response.... comparing final stuff with work in progress...

 

Imagine this one in interlace....

post-2756-0-67824800-1343243378_thumb.png

 

emkay-demo100.xex

 

C64 needs interlace for more colours.

A8 needs interlace for more details.

 

 

Edited by emkay
  • Like 1
Link to comment
Share on other sites

 

Which has led me to a thought ... could Rastaconverter be improved, by adding inline GTIA mode changes to Graphics 10 or 9? You'd lose on the resolution some, but in some areas of the picture maybe it's not as big an issue? Maybe even introduce 16 level shading in some parts of the picture?

 

It could be done but I doubt it will look good without interlace. I have done those tests in the past:

http://atarionline.p...nID=1514&page=1

http://atarionline.p...tachmentID=1552

 

I think I did download those tests over on atarionline.pl

 

Maybe Graphics 10 might work though ,,, it's paletted, uses all the PF and PM registers, you could shift into it for areas of the picture not so dependent on resolution, and it would enable more colors per scanline.

Link to comment
Share on other sites

Well, i should have put quotes around 'optimum' What i meant was to select 4 colors which give the 'least' error overall in that scanline (ofcourse this is not the best approach) but a quick method of preperation

 

Then those colors are to be chosen by color quantization. It is already implemented in RastaConverter (options /init=smart and /init=less). Starting the optimization process with it results in hard to escape local optimum and while for low colour pictures it works well, for complex pictures it is better not to use it.

Link to comment
Share on other sites

Interlace with tremendous sunburn....

Typical response. Care to point to any photo-realistic colour images on the A8 in 320*200?

 

Typical response.... comparing final stuff with work in progress...

 

Imagine this one in interlace....

post-2756-0-67824800-1343243378_thumb.png

 

emkay-demo100.xex

 

C64 needs interlace for more colours.

A8 needs interlace for more details.

 

Yes C64 requires interlace for more colors (although some additional mixes can be presented non-interlaced via pal blending)

Can the A8 display 320 hires pixels horizontally in interlace however? Not sure if one of the frames can be shifted 1 pixel hires increment. if it cant, it will always be x2 horizontal res maximum.

 

Can you provide me with the original of that picture you put. I just want to see how it looks non-interlaced on the c64 via my converter. :-) I am not trying to have a grudge match etc. C64 is great, so is Atari, each have their strengths and weaknesses.

Link to comment
Share on other sites

Well, i should have put quotes around 'optimum' What i meant was to select 4 colors which give the 'least' error overall in that scanline (ofcourse this is not the best approach) but a quick method of preperation

 

Then those colors are to be chosen by color quantization. It is already implemented in RastaConverter (options /init=smart and /init=less). Starting the optimization process with it results in hard to escape local optimum and while for low colour pictures it works well, for complex pictures it is better not to use it.

 

Great. Yes the local optimum is an issue, but nice to have the feature as you mentioned above regardless

Link to comment
Share on other sites

In two frame interlace, there are three ways to do interlace at 320 pixels:

 

Super 0 (Super 8.) shifts 709 and 710 (background) every scanline. You basically get 4 colors, and the chroma of 709 (graphics) and 710 (background are identical)

 

DIN mode (Graphics 8 + 15) enables 8 colors, every two pixels in mode 8 contains the same color modifier information from Graphics 15. If you do this in text mode (like in my DIN ICE mode) this becomes 10 colors because you can inverse characters and get PF3.

 

PC0 mode enables 18 colors at 320 resolution, but at a 4x1 ratio instead of 2x1 like in DIN, Here's an example PC0 pic from this thead:

 

http://www.atariage....00#entry2555819

 

post-23798-0-79595100-1343244260_thumb.png

 

In some of these modes you maybe could improve the picture using PM overlays.

Edited by Synthpopalooza
Link to comment
Share on other sites

Also... both made with v5.

The light were shifted to a brown, so the red makes more sense.

 

post-2756-0-22797000-1343245557_thumb.png

 

emkay-spidiv5-550.xex

 

And

 

Spidi in a different picture... in the dark ...

 

post-2756-0-56451400-1343245608_thumb.png

 

emkay-spinnev5-860.xex

 

The main "problem" with V5 is that it isn't possible anymore to make needed changes. While the old version ran sometimes in unsolvable solutions, it was possible to give the donkey a kick for walking into a better direction.

The V5 gives better results on many pictures, but also runs into unsolvable solutions, without the possiblity of kicking the donkey.

Edited by emkay
Link to comment
Share on other sites

Can the A8 display 320 hires pixels horizontally in interlace however?

As opposed to C64, the native horizontal resolution of the A8 is 160 colors clocks (multicolor pixel).

As a consequence there is scroll by a single pixel means scrolling by a multicolor pixel. [sigh]

The hires mode is a "delay hack" in the GTIA which double the frequency internally to split the pixel only and leaves you with a single color in 2 luminnances.

 

Link to comment
Share on other sites

Can the A8 display 320 hires pixels horizontally in interlace however?

As opposed to C64, the native horizontal resolution of the A8 is 160 colors clocks (multicolor pixel).

As a consequence there is scroll by a single pixel means scrolling by a multicolor pixel. [sigh]

The hires mode is a "delay hack" in the GTIA which double the frequency internally to split the pixel only and leaves you with a single color in 2 luminnances.

 

Thats a pity. Having scroll offset inbetween would have given dramatic increase in quality when flicking the two fields together (although color mixing would still be a good plus)

Synthpopalooza had mentioned some other possibilities of hires in the previous posts however, even though they are rather limiting, perhaps can be put to good use

Link to comment
Share on other sites

28M on this picture.

 

emkay-output-28M.xex

 

post-2756-0-43208500-1343248992_thumb.png

 

What's missing: real calculations on the A8's palette. Picture isn't preprocessed for optimized palette usage.

And so on.

Looks like the suntan lotion got streaky in an effort to reduce sunburn :)

 

Because the picture -the original- is preprocessed to fit better to the converted result.

 

Exactly this one would almost look like that:

 

post-2756-0-88120000-1343286445_thumb.png

 

... when using Interlace ....

Link to comment
Share on other sites

 

Thats a pity. Having scroll offset inbetween would have given dramatic increase in quality when flicking the two fields together (although color mixing would still be a good plus)

Synthpopalooza had mentioned some other possibilities of hires in the previous posts however, even though they are rather limiting, perhaps can be put to good use

 

I've posted 4 interlace examples of your picture in this thread:

http://www.atariage.com/forums/topic/188370-doing-pictures-using-super-irg-2-and-other-ice-modes/page__st__100?do=findComment&comment=2566746

 

One of these is in DIN mode, which is 320 pixels at 10 colors.

Link to comment
Share on other sites

a magyar Atari user? I only know 3... the guys from HARD. ;) Svevasz.

 

Szevasz

a magyar Atari user? I only know 3... the guys from HARD. ;) Svevasz.

 

Szevasz too ;)

The HARD guys were not just simple Atari users, like me ... Though I haven't knew them personally nor met them.

Edited by jvas
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...