Computer Graphics

Generating Animations Using Raster Operations

  •  We can also generate real-time raster animations for limited applications using block transfers of a rectangular array of pixel values.
  •  A simple method for translating an object from one location to another in the xy plane is to transfer the group of pixel values that define the shape of the object to the new location
  • Sequences of raster operations can be executed to produce realtime animation for either two-dimensional or three-dimensional objects, so long as we restrict the animation to motions in the projection plane.

[wp_ad_camp_1]

  • Then no viewing or visible-surface algorithms need be invoked.
  • We can also animate objects along two-dimensional motion paths using color table transformations.
  •  Here we predefine the object at successive positions along the motion path and set the successive blocks of pixel values to color-table entries.
  • The pixels at the first position of the object are set to a foreground color, and the pixels at the other object positions are set to the background color .
  •  Then the animation is then accomplished by changing the color-table values so that the object color at successive positions along the animation path becomes the foreground color as the preceding position is set to the background color

Leave a comment

Your email address will not be published. Required fields are marked *