Sunday, April 10, 2016

What is lookup table? What are the steps to plot a point using a lookup table?

Lookup table : A lookup table is an array of numbers that may be referred to by subscript, thus avoiding the recalculation of values each time a number in a table must be referred to. In computer graphics, lookup tables are used to store the starting addresses of each line and the values corresponding to the placement of pixels within a byte.

The following four steps are required to plot a point using a lookup table -

1. Locate the starting address corresponding to the line on which the point is to appear.

2. Locate the address of the byte in which the point will be represented.

3. Locate the bit which will represent the correct pixel (i.e., compute the value for the byte that will correctly represent the point.)

4. Logically OR the calculated value with the present value of the byte.
 
Learn More from Blog :  

Expert Web Engineering

Expert Computer Networking

Talent Programming Language C

Logical Discrete Mathematics

Expert Compiler Design

Expert Data Structure

Professional Algorithm Design

Professional Responsive Web Page Design By Bootstrap

Talent Software Engineering
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE