New Post
Output Primitives in Computer Graphics
- Get link
- Other Apps
Basic Output Primitives are:
- Point Positions [ pixel ].
- Lines
- Line Drawing Algorithm
- Circle and Ellipse generating algorithms
- Pixel addressing and object geometry
- Filled area primitives
1.) Point or pixel
Point/Pixel means smallest element of Picture. A Point contain location using x and y coordinates. Size of pixel = size of pixel on display monitor. Point Attributes: Size and Color. 2 points represent Line/Edge.
2.) Line function
Line function is used to generate straight lines between any two points. Line Function Provide Straight Line with the location of 2 pixel points. line representation Set of pixels between 2 end points. Line attributes: Color, Thickness and type.
3.) Line drawing algorithm
Line Generation = Process of turning on pixels for a line segments.
Line drawing algorithms is required when computer needs to determine positions of pixel between 2 end points [ to generate a straight line].
Requirements of Line drawing Algorithm
- Line should appear as a Straight line.
- It should be start and end accurately.
4.) Different Lines
Horizontal, Verical and Diagonal.
Video Link: https://youtu.be/qxcCWrm5AbU
#computer #graphics #computerGraphics
- Get link
- Other Apps
Comments
Post a Comment