04.03.2013 Views

spectrum graphics - OpenLibra

spectrum graphics - OpenLibra

spectrum graphics - OpenLibra

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Animation is the process that<br />

puts life into computer games,<br />

but has far wider uses. The ability<br />

of a computer to create, move<br />

and display visual information<br />

has only reached the home<br />

market fairly recently,and is<br />

becoming a very popular and interesting<br />

application for users at<br />

all levels.<br />

Computer <strong>graphics</strong> is a term<br />

that means different things to<br />

different people, but generally<br />

covers images that are com<br />

puter generated, modified,<br />

stored and displayed but need<br />

not necessarily be animated. To<br />

a businessman, '<strong>graphics</strong>'<br />

means histograms, graphs and<br />

other methods of presenting<br />

financial information visually; to<br />

a railway signalman the mimic<br />

display showing train moves is a<br />

form of computer graphic; to a<br />

student pilot on an aircraft<br />

simulator the realistic images<br />

are computer generated. Com<br />

puter aided design perhaps involves<br />

the most complicated im<br />

agery of all, think about car<br />

design as an example. A good<br />

deal of computer <strong>graphics</strong> is<br />

merely static images that can be<br />

displayed when required,<br />

animation is the art of making<br />

those images appear to move in<br />

such a way that the impression<br />

of a lifelike object is created.<br />

Animation is an art that predates<br />

the computer revolution by quite<br />

a long time and its application is<br />

a practised skill. Cartoons are a<br />

much loved example of film<br />

animation and such films have<br />

given pleasure to millions, but<br />

few of these millions have ever<br />

given much thought to the sheer<br />

effort involved in producing<br />

those cartoons. In one second of<br />

film there will be twenty four<br />

frames and each frame is an in<br />

dividual picture showing a stage<br />

in the motion of the animated<br />

object. It doesn't take much<br />

mental arithmetic to work out<br />

how many individual pictures<br />

there are likely to be in a ten<br />

minute cartoon feature.<br />

Cartoons are an example of<br />

drawn animation that uses the<br />

skill of an animator to draw a sequence<br />

of individual pictures<br />

which, when filmed, give the impression<br />

of motion. There are<br />

other techniques of animationmodel,<br />

cutout and rostrum (con<br />

trolled camera) animation are<br />

examples.These techniques are<br />

more suitable to the use of computers<br />

to aid such activity,<br />

drawn animation is more directly<br />

applicable to using computers to<br />

replace manual techniques and<br />

thid is the main topic of discussion<br />

here.<br />

Animators in the film industry<br />

are skilled people and the sue-<br />

32<br />

GRAPHICS<br />

Wise Moves<br />

Michael Spencer shows us some ways of<br />

getting things moving around the<br />

screen.<br />

cess of the work depends on<br />

their grasp of two factors-timing<br />

and realism. Correct timing can<br />

convey the impression of animation<br />

well and that timing ought<br />

to reflect the behaviour in the<br />

real world of the object being<br />

animated. Realism ensures that<br />

the object and its behaviour<br />

reflect the laws of motion and<br />

the presence of gravity. These<br />

techniques have been built up<br />

over many years and it is only<br />

their application in the use of<br />

computers that is new — the<br />

computer screen is only another<br />

medium on which to display images<br />

(it may be called electronic<br />

paper). The computer may also<br />

be a means to an end, com<br />

puters as animators' tools are<br />

having an impact on the film industry.<br />

Remember the Walt<br />

Disney film TRON about a computer<br />

programmer and his battle<br />

against a wayward super computer?<br />

A good deal of that film<br />

was made by using computer<br />

animation and still <strong>graphics</strong> a<br />

novel approach that created a<br />

stunning impact. Computers<br />

can take the tedium out of the<br />

process of producing images for<br />

animation a single image<br />

can be manipulated to a new<br />

position, size or shape by applying<br />

mathmatical routines. Taken<br />

to an extreme it may be possible<br />

to produce a complete film in a<br />

few years time, and indeed a<br />

Hollywood film company is using<br />

a CRAY super computer to<br />

cope with the fantastic number<br />

of calculations involved in such<br />

processes. This machine made<br />

its debut code cracking in<br />

American for the Government<br />

and has since made contributions<br />

in many other fields.<br />

Animation itself involves<br />

three basic processes<br />

preparation of the image,<br />

manipulation and display. It is<br />

the manipulation that is at the<br />

heart of the technique of anima<br />

tion. The computer offers the<br />

electronic paper for us to exploit<br />

and the characteristics of that<br />

paper determine what sort of<br />

animation is possible. There are<br />

three sorts of <strong>graphics</strong> that can<br />

be created on most home computers<br />

block, pixel and line<br />

<strong>graphics</strong>. Block <strong>graphics</strong> involve<br />

the use of character sized<br />

shapes (see the top row of the<br />

Spectrum keyboard} which may<br />

be used individually or as part of<br />

larger shapes which can be moved<br />

around the screen. The pro<br />

gram in figure one creates such a<br />

shape and moves it around. The<br />

program is reasonably effective<br />

and shows some of the basics of<br />

simple animation. An image<br />

drawn on the screen is erased<br />

and a new image created in a different<br />

place which gives the apperance<br />

of motion. A variation<br />

a very reasonable resolution of<br />

176 by 256 pixels each of<br />

which can be individually set<br />

and tested. In case of a single<br />

pixel being moved around the<br />

screen the technique is similar to<br />

block <strong>graphics</strong>, the pixel is set<br />

and unset (erased) and moved to<br />

a new position after appropriate<br />

delay. Groups of pixels make up<br />

the high resolution screens that<br />

form the bulk of a computer<br />

games attractions. These<br />

shapes can be animated by dealing<br />

with the individual pixelsthat<br />

make them up. Collision deted-<br />

t0 R£M BLOCK GRAPH . C ANIMATION<br />

2SS CLS<br />

LET<br />

4 0 LET<br />

FOR 1-0 TO 21<br />

60 PRINT AT I,12|A*<br />

7 0 PAUSE 3<br />

60 PRINT AT I,121B*<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!