Thread View: comp.sys.amiga.tech
1 messages
1 total messages
Started by Daniel Martin
Sat, 05 Jan 1991 21:08
Animation techniques
Author: Daniel Martin
Date: Sat, 05 Jan 1991 21:08
Date: Sat, 05 Jan 1991 21:08
40 lines
2503 bytes
2503 bytes
[-]
I'm trying to make a smooth multidirectionnal scrolling on a 640x400
HIRES (need 16 colors) screen using an A3000. I have four questions.
1) Is it possible to scroll vertically, without seeing flicker
(I'll use the term "gitter" to minimize confusion) on screen.
This question relates to the fact that interlace is drawn with
two separate fields of 200 lines each (two copper lists). When you
move your image up or down, for 1/60th of a second, one field will
contain the image after scroll, and the other field the image before
the scroll. Works great only for scroll=2 (no garbage).
2) Any techniques to minimise the gitter?
3) What is the difference between these two animations techniques:
(a) Use a large bitmap, say 1280x800 with a scrolling area
of 640x400. Use one copper list. Poke values in the
copper list each VBLANK. Make modifications in the
off screen bitmap area.
(b) Use two 640x400 screens, with two copper lists. Make
modifications on off screen, and LoadView it when ready
(I.e. double buffered screen).
(Obvious differences: memory used, and scroll smoothness)
4) How can you modify the copper list directly (technique a),
and still be able to support draggable screens?
Currently if you simply poke values in the active display copper
list during VBLANK (contained in Gfxbase->ActiView or in your View)
you can't support draggable screens. Should I do a MrgCop/LoadView
each VBLANK? In an interrupt routine???
--
// Daniel Martin Universite de Montreal \\
// MediaLab, ca vous regarde! C.P. 6128, Succursale A, \\
\\// Mail: martin@IRO.UMontreal.CA Montreal (Quebec), CANADA, \\//
\/ Tel.: (514) 343-6111 poste 3494 H3C 3J7 \/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads