- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
* F(x,y)=ax+by+c=0 F(x+1,y+0.5) =0 (x+1,y+1) 或(x+1,y) F(x+1,y+0.5) 0 中点在直线上方,选(x+1,y) F(x+1,y+0.5) 0 中点在直线下方,选(x+1,y+1) * * * * Def. A world-coordinate area selected for display is called a window. Def. An area on a display device to which a window is mapped is called a viewport. Def. In general, the mapping of a part of a world-coordinate scene to device coordinate is referred to as a viewing transformation * 6.2 2D Clipping Operations Definition of Clipping any procedure that identifies those portions of a picture that are either inside or outside of a specified region of space is referred to as a clipping. Clipping time window clipping viewport clipping * This is one of the oldest and most popular line-clipping procedures. Generally, the method speeds up the processing of line segments by performing initial tests that reduced the number of intersections that must be calculated. Lines are defined by their endpoints, so it should be possible just to examine these, and not every pixel on the line Most applications of clipping use a window that is either very large, I.e. nearly the whole scene fits inside, or very small, I.e. most of the scene lies inside the window Hence, most lines may be either trivially accepted or rejected * IDEA -- Faster line clipping algorithm, based on analysis of the parametric equation of a line segment Parametric Equation two endpoints (x1,y1), (x2,y2) x=x1+(x2-x1)u y=y1+(y2-y1)u, 0=u=1 * Algorithm Description Computing Pk, Qk, k=1~4 Judge if there any Pk= 0, then the line is parallel to one of the clipping boundaries. If, for that value of k, we also find Qk 0, then the line is completely outside the boudary, otherwise the line is inside the boudary for case Pk0, calculate the value of u that corresponds to the intersection point as Qk/Pk For each line, calculate two parameters u1u2 that define the section inside the clipping window. u1=Max{0, Qk/Pk}, Pk 0 u2=Min{1, Qk/Pk}, Pk 0 if u1 u2, then line is outside the
您可能关注的文档
最近下载
- 公司票据管理办法.docx VIP
- 双语 -【白皮书】新时代的中国绿色发展.docx VIP
- 2024年高中政治合格性考试主观题知识点汇总.pdf VIP
- 部编版小学 五年级语文上 册同步作文第 三单元范文(8篇).pdf VIP
- 雅马哈船外机二冲程E60H英文维修手册.pptx VIP
- (精品word)河道清淤疏浚资料.pdf VIP
- 2022年内蒙古自治区高等职业院校对口招收中等职业学校毕业生单独考试数学试卷.docx VIP
- 中考几何5大最值问题(解析版).pdf VIP
- 某工程边坡支护工程施工组织设计.docx VIP
- 2026及未来5-10年中国燃气报警器市场调查数据分析及竞争策略研究报告.docx
原创力文档


文档评论(0)