lec4 - Scan Conversion Computer Graphics Lecture 4 Scan...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Scan Conversion Computer Graphics Lecture 4 Scan Conversion The general problem of scan conversion is which pixels to turn on. • In this lecture we will see a few basic algorithms to solve the problem for: – Lines – Circles • We will see how to fill an obgect Drawing a line • A line defined by it’s two end points • To draw a line all pixels between the two endpoint pixels must be illuminated. • On raster devices we must calculate exactly which pixels in the frame- buffer are to be set. • Note: this conversion is usually done in hardware Drawing a line (cont) • Lines must appear straight of gently curving, we must use points close (<=1 pixel) away from the true position of the line • The line must end accurately, so lines can be joined. • The line should have a constant brightness (thickness) along its length (# of pixels per unit distance is constant) Drawing a line (cont) • All lines should have the same density (brightness, thickness) irrespective of their length or orientation • All lines should be drawn rapidly Incremental Line Drawing Methods • The equation for a line is: y=mx+c...
View Full Document

This note was uploaded on 04/14/2011 for the course CS 61118 taught by Professor Alexfrid during the Fall '11 term at Technion.

Page1 / 18

lec4 - Scan Conversion Computer Graphics Lecture 4 Scan...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online