<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 从零开始学习OpenGL ES之六 &#8211; 纹理及纹理映射</title>
	<atom:link href="http://www.iphone-geek.cn/%e7%bc%96%e7%a8%8b/%e4%bb%8e%e9%9b%b6%e5%bc%80%e5%a7%8b%e5%ad%a6%e4%b9%a0opengl-es%e4%b9%8b%e5%85%ad-%e7%ba%b9%e7%90%86%e5%8f%8a%e7%ba%b9%e7%90%86%e6%98%a0%e5%b0%84/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iphone-geek.cn/%e7%bc%96%e7%a8%8b/%e4%bb%8e%e9%9b%b6%e5%bc%80%e5%a7%8b%e5%ad%a6%e4%b9%a0opengl-es%e4%b9%8b%e5%85%ad-%e7%ba%b9%e7%90%86%e5%8f%8a%e7%ba%b9%e7%90%86%e6%98%a0%e5%b0%84</link>
	<description>iPhone 新闻，编程，技巧与提示，代码，教程</description>
	<lastBuildDate>Mon, 06 Sep 2010 12:50:22 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: aelam</title>
		<link>http://www.iphone-geek.cn/%e7%bc%96%e7%a8%8b/%e4%bb%8e%e9%9b%b6%e5%bc%80%e5%a7%8b%e5%ad%a6%e4%b9%a0opengl-es%e4%b9%8b%e5%85%ad-%e7%ba%b9%e7%90%86%e5%8f%8a%e7%ba%b9%e7%90%86%e6%98%a0%e5%b0%84/comment-page-1#comment-279</link>
		<dc:creator>aelam</dc:creator>
		<pubDate>Sun, 29 Aug 2010 13:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphone-geek.cn/?p=657#comment-279</guid>
		<description>牛阿, 我拜你为师 
师傅在上</description>
		<content:encoded><![CDATA[<p>牛阿, 我拜你为师<br />
师傅在上</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kuian2010</title>
		<link>http://www.iphone-geek.cn/%e7%bc%96%e7%a8%8b/%e4%bb%8e%e9%9b%b6%e5%bc%80%e5%a7%8b%e5%ad%a6%e4%b9%a0opengl-es%e4%b9%8b%e5%85%ad-%e7%ba%b9%e7%90%86%e5%8f%8a%e7%ba%b9%e7%90%86%e6%98%a0%e5%b0%84/comment-page-1#comment-261</link>
		<dc:creator>kuian2010</dc:creator>
		<pubDate>Sat, 14 Aug 2010 08:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphone-geek.cn/?p=657#comment-261</guid>
		<description>想请教一下楼主：
对于opengl中的2D纹理，
static const Vertex3D vertices[] = {
        {-1.0,  1.0, -0.0},
        { 1.0,  1.0, -0.0},
        {-1.0, -1.0, -0.0},
        { 1.0, -1.0, -0.0}
    };
其中x,y,值都在-1.0和1.0之间，若加大值，则会全屏放大。
而这时候只有将z值缩减-5.0或者-10.0才能看到完整的图片。

但是这个z值却不好确定，我只有不断的测试效果和估计，请问有公式计算出来吗？

起始我想要的效果就是：在屏幕大小为480x320上面显示32x32大小的一张图片，而这张图片绘制在点100x100的地方，不想放大图片。</description>
		<content:encoded><![CDATA[<p>想请教一下楼主：<br />
对于opengl中的2D纹理，<br />
static const Vertex3D vertices[] = {<br />
        {-1.0,  1.0, -0.0},<br />
        { 1.0,  1.0, -0.0},<br />
        {-1.0, -1.0, -0.0},<br />
        { 1.0, -1.0, -0.0}<br />
    };<br />
其中x,y,值都在-1.0和1.0之间，若加大值，则会全屏放大。<br />
而这时候只有将z值缩减-5.0或者-10.0才能看到完整的图片。</p>
<p>但是这个z值却不好确定，我只有不断的测试效果和估计，请问有公式计算出来吗？</p>
<p>起始我想要的效果就是：在屏幕大小为480&#215;320上面显示32&#215;32大小的一张图片，而这张图片绘制在点100&#215;100的地方，不想放大图片。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
