上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页
摘要: opengl 如何渲染视频流. void render(void) { DWORD wait_result = dsvl_vs->WaitForNextSample(100/60); //if(wait_result == WAIT_OBJECT_0) { #ifdef _DEBUG frame_counter++; #endif //dsvl_vs->Lock(... 阅读全文
posted @ 2008-12-28 01:41 小糊涂的超级blog 阅读(1548) 评论(0) 推荐(0) 编辑
摘要: imageNamed vs imageWithContentsOfFile ? 昨天更新了 2.2SDK 模拟器声音不正常的问题解决了。 但又发现一个新问题. 也许是个Bug。 模拟器上. 如果 UIImage *cover = [UIImage imageWithContentsOfFile: [[NSBundle mainBundle] pathForResource:@"images/c... 阅读全文
posted @ 2008-12-26 14:49 小糊涂的超级blog 阅读(2935) 评论(2) 推荐(0) 编辑
摘要: 其实很简单.自己就是个搬运工而已。。其实连搬运都谈不上了,就是 copy... 但这是我的心得体会。拿来和你分享。请你顺手点击AD 是对我的鼓励。 iphone上如何方便的加入声音,来增加游戏或者应用程序的趣味性呢? 多一些互动的感觉总比少一些好, 这里分成2种, 音效, 和背景音乐, 代码基于 CrashLanding 的 SoundEngine.的 遇到的2个问... 阅读全文
posted @ 2008-12-25 18:14 小糊涂的超级blog 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Pangea Software's Ultimate Game Programming Guide for Mac OS X ... 阅读全文
posted @ 2008-12-24 00:58 小糊涂的超级blog 阅读(189) 评论(0) 推荐(0) 编辑
摘要: NDA has been lifted. so many many resource can be founded.. The love with internet. with blog . with open source. so many thanks.. Merry Chirstmas my friends! 苹果在通知中表示: 之前设立 NDA 保密协议是为... 阅读全文
posted @ 2008-12-23 01:52 小糊涂的超级blog 阅读(358) 评论(0) 推荐(0) 编辑
摘要: glDrawArrays 函数使用的正确方式是什么? 引用的数据不可以释放掉? 会造成资源不足? 好在已经有一个可以正常工作的 render了, Gfloat verticles[] 和 gfloat verticles[8] 有区别么? colorarray crash glfloat 3 4 gl_unsignedByte 阅读全文
posted @ 2008-12-22 02:46 小糊涂的超级blog 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: 总算熬了一夜出了点效果了。 感谢5#同学的大力协助。 总结起来有以下几点: drawArrays 要求三角形是连续的, 所以如果UV和点坐标不匹配就会出现各种错误, 常见的就是扭曲, show一下最后的效果吧: http://www.angelcode.com/products/bmfont/ 这里有一个工具,可以帮助我们生成位图字... 阅读全文
posted @ 2008-12-21 09:20 小糊涂的超级blog 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 转 深入浅出JSON Author:Truly JSON定义 JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式,易于阅读和编写,同时也易于机器解析和生成。它基于ECMA262语言规范(1999-12第三版)中JavaScript编程语言的一个子集。 JSON采用与编程语言无关的文本格式,但是也使用了类C语言(包括C, C++, C#, J... 阅读全文
posted @ 2008-12-20 13:41 小糊涂的超级blog 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Why doesn't gluLookAt work? This is usually caused by incorrect transformations. Assuming you are using gluPerspective() on the Projection matrix stack with zNear and zFar as the third and fourth par... 阅读全文
posted @ 2008-12-16 23:40 小糊涂的超级blog 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 一个老外展示的iphone的有趣的应用程序。 啤酒,剃须刀,放大镜,更多。 It seems like these are hidden apps inside the jesusphone, but this is the virtual magican Marco Tempest, so you do the math. Want to have those video... 阅读全文
posted @ 2008-12-16 04:18 小糊涂的超级blog 阅读(196) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 23 下一页