<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Creator_Chen's Dream Island</title><link>http://www.creatorchen.net/</link><description></description><generator>RainbowSoft Studio Z-Blog 1.8 Walle Build 100427</generator><language>zh-CN</language><copyright></copyright><pubDate>Tue, 31 Jan 2012 21:06:42 +0800</pubDate><item><title>中点圆扫描转换算法</title><author>a@b.com (CreatorChen)</author><link>http://www.creatorchen.net/post/3.html</link><pubDate>Thu, 19 Jan 2012 22:12:22 +0800</pubDate><guid>http://www.creatorchen.net/post/3.html</guid><description><![CDATA[<p>中点圆扫描转换算法跟中点直线扫描转换算法使用相同的像素选择策略。即对于圆周上一点，要从两个候选像素中选择一个作为其光栅化结果，而选择的依据是这两个候选像素连线的中点跟圆的位置关系。可以像分析<a href="http://www.creatorchen.net/post/2.html">中点直线扫描转换算法</a>那样来分析中点圆扫描转换算法的执行过程。由于圆的对称性，可以只对圆周的1/8进行光栅化，其他部分的光栅化结果可以利用其对称性简单的求出。对于宽度为1，圆心在原点的1/8圆弧的光栅化，假设现在正处于算法的执行过程中，并假设算法的当前步选中了像素P（如下图所示），那么算法的下一步将从像素E和像素SE中选择一个作为光栅化结果。</p><p><img width="256" height="256" alt="" src="http://www.creatorchen.net/IMAGE/ARTICLE/MidpointCircleAlgorithm01.png" /></p>]]></description><category>图形算法</category><comments>http://www.creatorchen.net/post/3.html#comment</comments><wfw:comment>http://www.creatorchen.net/</wfw:comment><wfw:commentRss>http://www.creatorchen.net/feed.asp?cmt=3</wfw:commentRss><trackback:ping>http://www.creatorchen.net/cmd.asp?act=tb&amp;id=3&amp;key=afc6a193</trackback:ping></item><item><title>中点直线扫描转换算法</title><author>a@b.com (CreatorChen)</author><link>http://www.creatorchen.net/post/2.html</link><pubDate>Sun, 08 Jan 2012 21:36:03 +0800</pubDate><guid>http://www.creatorchen.net/post/2.html</guid><description><![CDATA[<p>给定一条直线，如何在光栅上将这条直线画出来？解决这个问题最直接的想法就是将光栅上离该直线最近的像素标记出来，这样会得到一个像素集合，这个像素集合就是这条直线的光栅化结果。但是，如何确定离直线最近的像素呢？考虑这样一条直线AB，其斜率在区间(0, 1)内，宽度为1（如下图所示）。</p><p><img width="530" height="250" alt="" src="http://www.creatorchen.net/IMAGE/ARTICLE/MidpointLineAlgorithm01.png" /></p><p>...</p>]]></description><category>图形算法</category><comments>http://www.creatorchen.net/post/2.html#comment</comments><wfw:comment>http://www.creatorchen.net/</wfw:comment><wfw:commentRss>http://www.creatorchen.net/feed.asp?cmt=2</wfw:commentRss><trackback:ping>http://www.creatorchen.net/cmd.asp?act=tb&amp;id=2&amp;key=f7087b04</trackback:ping></item></channel></rss>

