Welcome, Guest. Please login or register.

Author Topic: Subpixel-corrected lines and polygons on Amiga  (Read 8344 times)

Description:

0 Members and 4 Guests are viewing this topic.

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show all replies
Re: Subpixel-corrected lines and polygons on Amiga
« on: February 01, 2012, 11:14:04 PM »
this is awesome, I am going to try this.

The planets on Damocles/Mercenary III are subpixel correct circles, which I remember thinking was rather neat.
Signature intentionally left blank
 

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show all replies
Re: Subpixel-corrected lines and polygons on Amiga
« Reply #1 on: February 02, 2012, 12:59:43 PM »
One thing I might try next is to use the HAM screen mode as a polygon filler.  You'd only need HAM5 as well, not full HAM6.

The theory is, fill the whole screen with $10 which copies the pixel to the left but changes the blue component, then you can fill any shape instantly by using the paletted colours $0-$F (as long as these colours only use red and green components), simply plot the colour you want down the left hand edge and make sure to set it back again on the other edge.  One could render something like a tunnel fairly easily.
Signature intentionally left blank
 

Offline Mrs Beanbag

  • Sr. Member
  • ****
  • Join Date: Sep 2011
  • Posts: 455
    • Show all replies
Re: Subpixel-corrected lines and polygons on Amiga
« Reply #2 on: February 19, 2012, 10:47:53 PM »
Quote from: bbond007;681035
Anyway, here are the results so far. As you can see its not perfect. I have also found that HAM5 mode does seem to work correctly on my Amiga 1200, however does work on my WinUAE and my Minimig 1.1.

Hey!  Nice!
Signature intentionally left blank