line rasterizer using bresenham algorithm

버전 1.0.0.0 (10.2 KB) 작성자: Vipin Yadav
graphics pipeline, perpective matrix, clipping, perspective divide, line drawing
다운로드 수: 178
업데이트 날짜: 2015/7/22

라이선스 보기

test_renderlines.m - to draw test lines. Calls renderlines(..) to draw a set of lines.
renderlines.m - for drawing lines
The line drawing process is:
1. lines endpoints (homogeneous co-ordinate system) are specified in north east down co-ordinate system. Refer test_renderlines.m. Points are converted to opengl co-ordinate system (-Z forward axis).
2. view matrix, perspective matrix and viewport matrix are computed.
3. Points transformed to clip space and clipping is done with Liang Barsky algorithm
4. clipped lines are drawn using bresenham algorithm.
5. frame buffer is displayed.
(read from books or search internet before/while reading code: Search Topics: opengl graphics pipeline, perceptive matrix computation, clip space, liang barsky algorithm, perspective divide , opengl view port computation, bresenham algorithm, quatenion to dcm/euler angles conversion, matrix manipulations like translation, rotation, scaling )

인용 양식

Vipin Yadav (2025). line rasterizer using bresenham algorithm (https://kr.mathworks.com/matlabcentral/fileexchange/51552-line-rasterizer-using-bresenham-algorithm), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Updated description.