Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: spectrum 512 sprites
Posted by: earx Aug,02.2007-08:14 

paulo replied and basically said he used color 15 and rasters. he also mentioned some stuff i didn't quite understand (yet :))

the original message:

---- snip ---- snip ---- snip ----

Hi !

Sorry, but i have not too much time for ST nostalgy at the moment.
So i will give you a very short answer.
None of my demos uses spectrum 512 sprites in the strict spectrum 512 palette technique: i think it would not be possible unless you have your adapted palettes pre-computed for each of the animation steps but that takes a lot of memory.
To understand how dificult that calculation is, you can try to take a spectrum pic, convert it to BMP like format (24 bit) and then back to spectrum 512 format: the color allocation / selection algorithm is really dificult to build. Most probably, with some pics and your first try at the algorithm, you will get diferent color pixels compared to the original spectrum pic because you will lack colors for them. Even Spectrum program itself disables the palette and takes up to several seconds to adapt the image each time you draw something.
Now, what you can do is to reserve part of the logical colors to remain unchanged or to limit the horinzontal and may be vertical area where your sprite will move, but this will not be spectrum 512 anymore if you except logical colour 0 and 15.
Spectrum 512 is just one of the solutions to display more than 16 colours at once, as you can even change up to 53 colors per scan line. It is us to you to decide with logical color (MMU register content) you want to change at each precise group of 4 pixels and for each line.
In the screen 6 of the Overscan Demos where some Spectrum pics are sliding up and down, the display is not 100% compatible with the Spectrum standard because of the needed synch switches, but it is so close that you donīt "see" it. That is an example of a costum color display mode. The sprite is a color 15 sprite with some rasters.

Cheers,
Paulo.









[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
spectrum 512 sprites earx Jul,20.2007-15:06
  Re: spectrum 512 sprites Bod/STAX Jul,20.2007-21:38
    Re: spectrum 512 sprites Bod/STAX Jul,20.2007-21:43
      Re: spectrum 512 sprites Bod/STAX Jul,20.2007-21:46
        Re: spectrum 512 sprites Bod/STAX Jul,20.2007-21:54
          Re: spectrum 512 sprites earx Jul,20.2007-22:34
            Re: spectrum 512 sprites gloky Jul,27.2007-17:21
            Re: spectrum 512 sprites Peter Jul,30.2007-13:02
        Re: spectrum 512 sprites earx Jul,20.2007-22:37
          Re: spectrum 512 sprites Carbon Jul,21.2007-21:13
  Re: spectrum 512 sprites Alien / ST-CNX Jul,25.2007-04:29
    Re: spectrum 512 sprites earx Jul,25.2007-09:33
      Re: spectrum 512 sprites calimero Jul,31.2007-12:18
        Re: spectrum 512 sprites earx Aug,02.2007-08:14
          Re: spectrum 512 sprites Mr. E Sep,06.2007-18:54
            Re: spectrum 512 sprites Bod/STAX Sep,07.2007-20:20
              Re: spectrum 512 sprites Bod/STAX Sep,07.2007-20:26
              Re: spectrum 512 sprites Mr. E Sep,08.2007-13:35
                Re: spectrum 512 sprites/rays Mr.E Sep,08.2007-14:09


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson