Welcome, Guest. Please login or register.

Author Topic: Amiga Vs Neo-Geo (scaling and rotation)  (Read 12913 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show all replies
Re: Amiga Vs Neo-Geo (scaling and rotation)
« on: June 18, 2008, 07:12:15 PM »
Even though the Amiga chipsets have no real hardware support for rotating BOBs, you can trick the Blitter's line function into doing exactly that:
- calculate the start and end coordinates for the BOBs first scanline
- set the BOB's graphic data as line pattern(!) and draw a line from start to end coordinate
- repeat with 2nd line, and so on
- coordinate offsets can be precalculated for various rotation angles

Probably not very fast on a fast system (wastes lots of chipset bandwidth), but a better-than-software solution on basic 68000 systems.

:-)