<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>VC爱好者 v3.0 &#187; lonkil</title>
	<atom:link href="http://www.vcfans.com/author/lonkil/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vcfans.com</link>
	<description>生活的天平本不平衡，只有通过努力改变其偏向。</description>
	<lastBuildDate>Tue, 22 Nov 2011 17:32:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenGL ES glTexSubImage2D返回GL_INVALID_OPERATION</title>
		<link>http://www.vcfans.com/2011/10/opengl-es-gltexsubimage2d-gl-invalid-operation.html</link>
		<comments>http://www.vcfans.com/2011/10/opengl-es-gltexsubimage2d-gl-invalid-operation.html#comments</comments>
		<pubDate>Thu, 27 Oct 2011 14:50:17 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[OpenGL]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1548</guid>
		<description><![CDATA[Xcode升级成4.2正式版后，使用IOS5.0的SDK，以前一直真机与模拟器都正常的程序。发现在真机正常，模拟器发现不能正常显示。很长见模拟器正常，真机出问题的，没想到这次正好反了。想找出其中的原因，GL的初始化应该没什么好说的，在render处逐条语句glGetError,在glTexSubImage2D是返回GL_INVALID_OPERATION错误，百思不得其解。

根据文档中的说法引起GL_INVALID_OPERATION错误的不外乎这几种原因:

GL_INVALID_OPERATION is generated if the texture array has not been defined by a previous glTexImage2D or glCopyTexImage2D operation.
GL_INVALID_OPERATION is generated if type is GL_UNSIGNED_SHORT_5_6_5 and format is not GL_RGB
GL_INVALID_OPERATION is generated if type is one of GL_UNSIGNED_SHORT_4_4_4_4, or GL_UNSIGNED_SHORT_5_5_5_1 and format is not GL_RGBA.
上面，那几种情况我都不太像，很悲情。

这种用法应该没有什么太大问题，但就是不能正常显示。另外新写个Demo程序可以正常显示贴图。然后逐步Demo中对工程对比排查，最终原因是glTexImage2D生成材质是的type指定了GL_RGBA，而在glTexSubImage2D时由于BMP格式的数据，使用了GL_BGRA，导致显示不了。相当悲情的是，以前写的时候居然可以正常运行，这次升级SDK后，才爆露出问题，不过幸好真机正常。

开发是一门严谨的活，来不了半点差错，不能麻痹大意。遇到棘手的问题，将问题抽取出来缩小范围，一点一点的排除，速度不要求快，保证每一步不出错就可以，总能定位出问题的。[......]<p class='read-more'><a href='http://www.vcfans.com/2011/10/opengl-es-gltexsubimage2d-gl-invalid-operation.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/10/opengl-es-gltexsubimage2d-gl-invalid-operation.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TinyUmbrella备份SHSH,找不到设备时处理方法。</title>
		<link>http://www.vcfans.com/2011/10/tinyumbrella-backup-shsh-cannot-display-devices.html</link>
		<comments>http://www.vcfans.com/2011/10/tinyumbrella-backup-shsh-cannot-display-devices.html#comments</comments>
		<pubDate>Mon, 17 Oct 2011 17:15:00 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[本站原创]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[奇技淫巧]]></category>
		<category><![CDATA[教程]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1535</guid>
		<description><![CDATA[使用TinyUmbrella来备份SHSH时，怎么也找不到设备列表，搞的很无耐。可以使用TinyUmbrella的手动模式，处理此问题。
TinyUmbrella模式需要输入ECID.手动获取ECID需要分两步，第一步，进入RecoveryMode,第二步通过USBView查看ECID.[......]<p class='read-more'><a href='http://www.vcfans.com/2011/10/tinyumbrella-backup-shsh-cannot-display-devices.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/10/tinyumbrella-backup-shsh-cannot-display-devices.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>乔帮主走了</title>
		<link>http://www.vcfans.com/2011/10/steven-jobs-died.html</link>
		<comments>http://www.vcfans.com/2011/10/steven-jobs-died.html#comments</comments>
		<pubDate>Fri, 07 Oct 2011 15:52:18 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[本站杂谈]]></category>
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1533</guid>
		<description><![CDATA[七天没碰电脑没有接触网络，回来收到的第一条消息是乔布斯去世。这虽然是迟早的事，但这一天还是到来了。看看乔帮主的一生，有着无数个传奇，神一般的人物。从03年查出癌症后，这八年中苹果出的这些产品，真的太惊人了。根本不能相信这是一个生命垂危之人，带领团队做出来的。

乔帮主，绝对是个传说。

一路走好，希望库克能继续把苹果带好。[......]<p class='read-more'><a href='http://www.vcfans.com/2011/10/steven-jobs-died.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/10/steven-jobs-died.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn Vim Progressively</title>
		<link>http://www.vcfans.com/2011/09/learn-vim-progressively.html</link>
		<comments>http://www.vcfans.com/2011/09/learn-vim-progressively.html#comments</comments>
		<pubDate>Tue, 13 Sep 2011 16:50:25 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[文档资料]]></category>
		<category><![CDATA[VIM]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1530</guid>
		<description><![CDATA[老外的教程真的没得说，<a href="http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/">http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/</a>。]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/09/learn-vim-progressively.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>i386 Addressing Modes and Assembler Instructions</title>
		<link>http://www.vcfans.com/2011/08/i386-addressing-modes-and-assembler-instructions.html</link>
		<comments>http://www.vcfans.com/2011/08/i386-addressing-modes-and-assembler-instructions.html#comments</comments>
		<pubDate>Tue, 30 Aug 2011 02:20:38 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[文档资料]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[汇编]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1527</guid>
		<description><![CDATA[ISO汇编文档:<a href="http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/Assembler/060-i386_Addressing_Modes_and_Assembler_Instructions/i386_intructions.html#//apple_ref/doc/uid/TP30000825-TPXREF101">查看原文</a>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/08/i386-addressing-modes-and-assembler-instructions.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Objective-C Programming Language</title>
		<link>http://www.vcfans.com/2011/08/the-objective-c-programming-language.html</link>
		<comments>http://www.vcfans.com/2011/08/the-objective-c-programming-language.html#comments</comments>
		<pubDate>Thu, 25 Aug 2011 02:44:51 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[文档资料]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1518</guid>
		<description><![CDATA[<a href="http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf">下载PDF</a>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/08/the-objective-c-programming-language.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Arm Neon intrinsics</title>
		<link>http://www.vcfans.com/2011/08/arm-neon-intrinsics.html</link>
		<comments>http://www.vcfans.com/2011/08/arm-neon-intrinsics.html#comments</comments>
		<pubDate>Tue, 23 Aug 2011 05:27:11 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[嵌入式]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1522</guid>
		<description><![CDATA[The ARMv7 CPU (Cortex-A8) used in the iPhone 3GS is a very nice CPU. One of the things it can do is real SIMD intrinsics. Although Apple don’t document this, the fine folks who made GCC do.

Here’s how to demonstrate this on Xcode.[......]<p class='read-more'><a href='http://www.vcfans.com/2011/08/arm-neon-intrinsics.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/08/arm-neon-intrinsics.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenGL ES Programming Guide for iOS</title>
		<link>http://www.vcfans.com/2011/08/opengl-es-programming-guide-for-ios.html</link>
		<comments>http://www.vcfans.com/2011/08/opengl-es-programming-guide-for-ios.html#comments</comments>
		<pubDate>Mon, 22 Aug 2011 15:27:45 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[OpenGL]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1519</guid>
		<description><![CDATA[一份OpenGL ES for IOS的英文文档，来自苹果官方。

在线版参见这里：<a href="http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008793-CH1-SW1">查看原文</a>

[download id="115"][......]<p class='read-more'><a href='http://www.vcfans.com/2011/08/opengl-es-programming-guide-for-ios.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/08/opengl-es-programming-guide-for-ios.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to NEON on iPhone zz</title>
		<link>http://www.vcfans.com/2011/08/introduction-to-neon-on-iphone-zz.html</link>
		<comments>http://www.vcfans.com/2011/08/introduction-to-neon-on-iphone-zz.html#comments</comments>
		<pubDate>Mon, 22 Aug 2011 14:00:10 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[嵌入式]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1515</guid>
		<description><![CDATA[<p id="">ComeFrom:<a href="http://wanderingcoder.net/2010/06/02/intro-neon/">http://wanderingcoder.net/2010/06/02/intro-neon/</a></p>
A sometimes overlooked addition to the iPhone platform that debuted with the iPhone 3GS is[......]<p class='read-more'><a href='http://www.vcfans.com/2011/08/introduction-to-neon-on-iphone-zz.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/08/introduction-to-neon-on-iphone-zz.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《变形金钢3》之黑月降临观后感</title>
		<link>http://www.vcfans.com/2011/07/transformers-dark-of-the-moon.html</link>
		<comments>http://www.vcfans.com/2011/07/transformers-dark-of-the-moon.html#comments</comments>
		<pubDate>Sat, 30 Jul 2011 15:29:38 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[本站杂谈]]></category>
		<category><![CDATA[生活]]></category>
		<category><![CDATA[电影]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1508</guid>
		<description><![CDATA[下午，和老婆一起带着弟弟妹妹去左岸把《变形金钢3》给看了，电影院人山人海呀，团购的热潮为电影业带来了不少人气，到哪都要排队，话又说回来了中国有办事不排队的地方么？

这次观影感受如下：

１.《变形金钢3》的打斗场面很多，基本是从头到尾，场面还行，情节性的内容很少，总是打来打去的，很没意思。难到我真的老了与大众口味相差这么大？变三还没有变二具有可看性。打斗场面固然很重要，但好的情节才是王道。下次不想再去看电影院去看这类片子了，还是在家看看高清就够了。

２.广告N多，什么牛奶呀、电脑呀、什么网络设备呀以及什么打印机呀等，其中的电脑广告特写了好几次，这将来是个趋势，只要导演能处理好，我不反对。另个，尼妈的电影院搞的还是国内代理商搞的，在电影开头插了N多广告，艹，看了半天，提示“请配戴3D眼晴观看以下内容”，原来尼妈是用3D拍的广告。广告排的巨烂无比，毫无创意。我认为在片头插广告的行为绝对的流氓，尼妈，老子是花钱买的电影票去看电影的，不是去看你广告的。中国奸商做事怎么就这么流氓呢？还这么多奸商，艹。

3.普通3D影片，票价已经涨到70一张了，扛不住呀，以后坚决打住少去电影院。

4.总共才160分钟，我小弟居然睡了一个多小时。哥的电影票可是全价票，他说看的头晕，现在的娃真伤不起。

 [......]<p class='read-more'><a href='http://www.vcfans.com/2011/07/transformers-dark-of-the-moon.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/07/transformers-dark-of-the-moon.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend的解密程序绿色版</title>
		<link>http://www.vcfans.com/2011/07/zend-green-version-of-the-decryption-program.html</link>
		<comments>http://www.vcfans.com/2011/07/zend-green-version-of-the-decryption-program.html#comments</comments>
		<pubDate>Sat, 30 Jul 2011 14:58:04 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[常用工具]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1504</guid>
		<description><![CDATA[绿色版，支持[php-4.2.0] [php-4.2.x] [php-4.3.x] [php-4.4.x] [php-5.0.x] [php-5.1.x] [php-5.2.x]，下载后放到Ｄ盘根目录下。
一兄弟在网上找了一份免费的小型网站后台程序，PHP的，我帮其架好后，总是无法use database，数据库访问类居然还用zend加密了，你加密是可以的，但这样影响我帮你修bug呀。

在网上找了一份zend解密的程序，测试可用。解密修正代码，收工。

绿色版，支持php-4.2.0、php-4.2.x、php-4.3.x、php-4.4.x、php-5.0.x、php-5.1.x、php-5.2.x，下载后放到Ｄ盘根目录下。

如果要修改位置请修改Dezender\PHP5\PHP5\php.ini最后两行的路径。[......]<p class='read-more'><a href='http://www.vcfans.com/2011/07/zend-green-version-of-the-decryption-program.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/07/zend-green-version-of-the-decryption-program.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>黄山归来</title>
		<link>http://www.vcfans.com/2011/06/huangshan-return.html</link>
		<comments>http://www.vcfans.com/2011/06/huangshan-return.html#comments</comments>
		<pubDate>Sun, 26 Jun 2011 15:54:14 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[本站杂谈]]></category>
		<category><![CDATA[公司]]></category>
		<category><![CDATA[旅游]]></category>
		<category><![CDATA[生活]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1493</guid>
		<description><![CDATA[某公司前段时间组织一次旅游，我们组选择了黄山二日。深深同情一下选择牯牛降线路的同学，每到周末连连暴雨，至今未能出行呢。身为安徽人至今未去过黄山，有点小杯具。只是与黄山神交已久，一直未能如愿。此次终于把握住机会了，一定要去爽一吧。本来想让老婆和我一起的，可惜后来由于种种原因，还是我一人单枪匹马赴会了，哈~。[......]<p class='read-more'><a href='http://www.vcfans.com/2011/06/huangshan-return.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/06/huangshan-return.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>六一节礼物</title>
		<link>http://www.vcfans.com/2011/06/sixty-one-gift.html</link>
		<comments>http://www.vcfans.com/2011/06/sixty-one-gift.html#comments</comments>
		<pubDate>Wed, 01 Jun 2011 17:19:38 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[本站杂谈]]></category>
		<category><![CDATA[节日]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1488</guid>
		<description><![CDATA[某公司很给力，居然不忘了给我们这些大龄儿童，发点节日礼物。相当的怀念小时候，每年的今天，老师发糖放假的美好时光。

下午收到这份小礼物，感觉很不错，哈哈。

<a href="http://www.vcfans.com/wp-content/vcfans-upfiles/2011/06/1306912319895.jpg"><img class="alignnone size-full wp-image-1489" title="1306912319895" src="http://www.vcfans.com/wp-content/vcfans-upfiles/2011/06/1306912319895.jpg" alt="" width="300" height="500" /></a>

<a href="http://www.vcfans.com/wp-content/vcfans-upfiles/2011/06/1306912455743.jpg"><img class="alignnone size-full wp-image-1490" title="1306912455743" src="http://www.vcfans.com/wp-content/vcfans-upfiles/2011/06/1306912455743.jpg" alt="" width="300" height="500" /></a>

热血青年呀~~~~]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/06/sixty-one-gift.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>RVDS 2.2 Introductory Tutorial</title>
		<link>http://www.vcfans.com/2011/06/rvds-2-2-introductory-tutorial.html</link>
		<comments>http://www.vcfans.com/2011/06/rvds-2-2-introductory-tutorial.html#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:59:27 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[文档资料]]></category>
		<category><![CDATA[编程开发]]></category>
		<category><![CDATA[嵌入式]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1483</guid>
		<description><![CDATA[来官方的arm平台自带工具的介绍，非常浅显易懂，值得看看。
[download id="113"]]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/06/rvds-2-2-introductory-tutorial.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>《从一道小学数学试题的解法到家长的焦虑》</title>
		<link>http://www.vcfans.com/2011/05/from-a-primary-school-mathematics-questions-of-the-solution-to-the-anxiety-of-the-parents.html</link>
		<comments>http://www.vcfans.com/2011/05/from-a-primary-school-mathematics-questions-of-the-solution-to-the-anxiety-of-the-parents.html#comments</comments>
		<pubDate>Fri, 27 May 2011 16:34:25 +0000</pubDate>
		<dc:creator>lonkil</dc:creator>
				<category><![CDATA[本站杂谈]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[幽默]]></category>

		<guid isPermaLink="false">http://www.vcfans.com/?p=1476</guid>
		<description><![CDATA[Just for joke,^_^![......]<p class='read-more'><a href='http://www.vcfans.com/2011/05/from-a-primary-school-mathematics-questions-of-the-solution-to-the-anxiety-of-the-parents.html'>Read More »</a></p>]]></description>
		<wfw:commentRss>http://www.vcfans.com/2011/05/from-a-primary-school-mathematics-questions-of-the-solution-to-the-anxiety-of-the-parents.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

