Jump to content
IGNORED

Images generated by RastaConverter


Philsan

Recommended Posts

  • 3 weeks later...
  • 2 weeks later...
  • 3 weeks later...
  • 4 weeks later...

Hello there,

 

I converted an image of EuroBasket 2013 mascot called Lipko. EuroBasket 2013 is/was hosted in my homeland Slovenia. Our Slovenian team took 5th place. We wanted a medal, but France was better. Better luck for us next time. Maybe on World Cup Basketball 2014 in Spain ;-)

 

RastaConverter picture:

post-7301-0-38125300-1379806262_thumb.png

 

Original picture:

post-7301-0-28846200-1379806304_thumb.jpg

 

Lipko got name from the tree called lipa. Nice mascot.

 

 

 

lipko.xex

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Agreed - one of the problems with VBXE colour changes is that there are 3 load/store operations minimum to change a colour. Make that 4 or 5 if palette and/or entry # needs to be changed.

 

Ideally an addition to the Blit to allow palette loading would have been nice but the core is somewhat full and not much can be added.

 

Next best solution is to use the colour map which allows all 4 palettes to be in use in a display. Then you reload a palette while the other 3 are being cycled through.

It can be a somewhat expensive operation re Ram and CPU although of course VBXE Ram could run the code. 6 cycles * 3 components * 256 colour entries = 4,608 cycles to reload a palette which equates to about 44 scanlines if there's no DMA stealing going on by Antic other than Refresh.

 

But realistically the expenditure vs gain is somewhat high. You can get pretty good realistic representation by simply putting the image into Photoshop or equivalent, posturizing the pic down to 6 or 7 bits per RGB component then reducing to a 256 colour palette, then use that palette for the entire pic on VBXE.

 

I guess if you wanted to put in the effort you could razor the pic into chunks and use a seperate palette for each part, e.g. something like a mountain + plains + water type of scene might lend itself well to such a technique.

 

But it's somewhat out of scope with what Rastaconverter does and would be deserving of a seperate utility.

Edited by Rybags
Link to comment
Share on other sites

Agreed - one of the problems with VBXE colour changes is that there are 3 load/store operations minimum to change a colour. Make that 4 or 5 if palette and/or entry # needs to be changed.

 

Ideally an addition to the Blit to allow palette loading would have been nice but the core is somewhat full and not much can be added.

 

Next best solution is to use the colour map which allows all 4 palettes to be in use in a display. Then you reload a palette while the other 3 are being cycled through.

It can be a somewhat expensive operation re Ram and CPU although of course VBXE Ram could run the code. 6 cycles * 3 components * 256 colour entries = 4,608 cycles to reload a palette which equates to about 44 scanlines if there's no DMA stealing going on by Antic other than Refresh.

 

But realistically the expenditure vs gain is somewhat high. You can get pretty good realistic representation by simply putting the image into Photoshop or equivalent, posturizing the pic down to 6 or 7 bits per RGB component then reducing to a 256 colour palette, then use that palette for the entire pic on VBXE.

 

I guess if you wanted to put in the effort you could razor the pic into chunks and use a seperate palette for each part, e.g. something like a mountain + plains + water type of scene might lend itself well to such a technique.

 

But it's somewhat out of scope with what Rastaconverter does and would be deserving of a seperate utility.

 

 

RybagsConverter anyone?

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 3 months later...

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...
×
×
  • Create New...