Article View: comp.sys.amiga.tech
Article #7875Animation techniques
From: 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 \/
Technical Details
Message-ID:
<1991Jan5.210812.448@IRO.UMontreal.CA>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!uunet!sobeco!onfcanim!zap!matrox!IRO.UMontreal.CA!kovic.IRO.UMontreal.CA!martinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!uunet!sobeco!onfcanim!zap!matrox!IRO.UMontreal.CA!kovic.IRO.UMontreal.CA!martin From: martin@IRO.UMontreal.CA (Daniel Martin) Newsgroups: comp.sys.amiga.tech Subject: Animation techniques Keywords: animate, hires, copper, Message-ID: <1991Jan5.210812.448@IRO.UMontreal.CA> Date: 5 Jan 91 21:08:12 GMT Sender: news@IRO.UMontreal.CA Reply-To: martin@IRO.UMontreal.CA (Daniel Martin) Organization: Universite de Montreal Lines: 40