自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 资源 (1)
  • 收藏
  • 关注

转载 FreeType on OpenGL ES (iPhone)

This project renders fonts using OpenGL ES and the FreeType library. The FreeType library uses font hinting, which makes the fonts look better than your average anti-aliased fonts. This project is p

2014-04-13 22:18:04 899

翻译 OpenGL概述

OpenGL是个跨平台的针对硬件的编程语言。Core库函数一般以gl开头,OpenGL Utiliy Library函数一般以glu开头,常量以GL_开头,函数结尾可以以数目和数据类型结尾(如glColor3f(0.3,0.3,0.3,1))。 状态机OpenGL是个状态机,它的状态和模式一直有效,直到被改变。它的状态可以用glEnable()、glDisable()来开启和关闭。状态

2014-04-12 20:15:42 672

转载 Reflections

IntroductionIn the real world, reflections are always evident. This tutorial will explain how to create reflections using the stencil buffer.How does the Stencil Buffer Work?The stencil

2014-04-07 17:32:07 462

转载 Uncompressed TGAs

IntroductionIn the previous tutorial, we used 2 images to create transparency. This was achieved with blending and is known as masking.This tutorial will explain how to create the same effec

2014-04-07 17:31:08 684

转载 Masking

What is Masking?You may find yourself having an OpenGL scene with some background. You may also have some object, text or character which is made up of an image. The problem here is that the obj

2014-04-07 17:30:14 619

转载 Fog

IntroductionThis tutorial will deal with the fog effect.This can be extremely useful in certain applications. Imagine that you are creating a game where you travel across a country side. You o

2014-04-07 17:29:12 655

转载 Waving Flag

IntroductionThis tutorial is going to be slightly different to the previous tutorials. Instead of showing you something new, we are going to be seeing how you can use your knowledge gained in th

2014-04-07 17:28:17 695

转载 Transparency

IntroductionIn the last tutorial, we spoke about how to work with color blending.We found out that this can be extremely useful for transparency. This tutorial will show you how to create a

2014-03-23 22:34:03 561

转载 Blending

IntroductionThis tutorial will discuss color blending.Color blending is useful for effects such as transparency eg. glass, water, windows, etc.An essential part of blending is the alpha va

2014-03-23 22:32:42 652

转载 Texture Functions

IntroductionIn the previous tutorial, we dealt with how to load a bitmap and display it as a texture on an object. You were briefly introduced to the glTexParameterf function.This tutorial w

2014-03-23 22:31:00 657

转载 Texture Mapping

IntroductionAfter adding lighting, you may still not be happy with the realism of your objects.This tutorial will show you how to add textures to your polygons. This is known as texture mapp

2014-03-23 20:22:42 652

转载 Directional Lighting

IntroductionIn the previous tutorial, we added light to a scene. This light did not come from any particular direction.This tutorial will deal with directional lighting. This allows us to ta

2014-03-23 19:18:22 563

转载 Lighting

IntroductionIn the previous tutorials, many of the scenes have appeared a bit bland. This tutorial will explain how lighting can be added to your scenes. This increases the overall realism and l

2014-03-23 18:51:26 542

转载 Backface Culling

IntroductionIn tutorial 10, you will have noticed that when the primitives rotate, their backs are also rendered. When creating a 3D object such as the box in the previous tutorial, we do not

2014-03-23 18:50:26 853

转载 Solid Shapes

IntroductionNow that we have the ability to process depth and we can display primitives in a perspective view, we are able to create 3D objects.This tutorial follows on from the previous tut

2014-03-23 18:49:48 590

转载 Perspective

IntroductionIn the real world, if you have many objects of the same size at different distances from you, you will notice that the further away the objects are, the smaller they appear.In th

2014-03-23 18:49:21 577

转载 Depth

IntroductionUp until now, any primitives that you displayed would appear on top of each other depending on the order that they were displayed in. This would occur, even if the primitives had dif

2014-03-23 18:47:54 515

转载 Transformations

IntroductionYou may find yourself needing to transform your primitives in various ways.OpenGL ES provides 3 ways of transforming your primitives :ScalingTranslationRotationScaling wi

2014-03-23 18:47:10 435

转载 Window Resizing

IntroductionYou may have noticed that when you open up the keyboard at the bottom of the screen, the window is resized and the shape moves off the top of the screen. As the GLUT|ESlibrary always

2014-03-23 18:46:28 492

转载 Color And Shading

IntroductionIn the previous tutorial, you learnt how to draw primitives. These primitives were a little dull as they were all white. This tutorial will show you how to add color and shading to y

2014-03-23 18:45:42 1298

转载 Orthographic Projection

What is Orthographic Projection?There are 2 ways to view things. One is by viewing objects in an Orthogrpahic manner and the other is viewing objects in a perspective view.Ig you have ever l

2014-03-23 18:45:06 2209

转载 Rendering

IntroductionIn the previous tutorials, nothing has been displayed on the screen. This tutorial will explain how to setup your OpenGL ES window to allow drawing of primitives.If you are using

2014-03-23 18:44:10 393

转载 Mouse Input

IntroductionIn many of your programs you will need the option of accepting pointer input. This tutorial will explain how to capture messages sent by using a pointing device on the window.If

2014-03-23 18:43:32 474

转载 Keyboard Input

IntroductionIn many of your programs you will need the option of accepting keyboard input. This tutorial will explain how to capture messages sent from the keyboard.If you are using GLUT|ES,

2014-03-23 18:42:41 759

转载 OpenGL Window

IntroductionThe first step in creating any OpenGL application is to create an OpenGL window on which you can display your program. This tutorial will explain how to create a window using theVinc

2014-03-23 18:41:59 433

转载 Setting Up Your Environment

RequirementsBefore you can begin programming OpenGL ES for the PocketPC, you will need the following :Embedded Visual C++ 4.0Embedded Visual C++ 4.0 Service Pack 4Pocket PC 2003 SDKAn OpenGL E

2014-03-23 18:40:51 574

转载 What is OpenGL ES?

What is OpenGL ES?"OpenGL ES is a royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including handheld devices, appliances and vehicles. It is a well-defi

2014-03-23 18:39:44 402

转载 OpenGL ES 文章精选

http://glslstudio.com/primer/

2014-03-16 21:26:13 395

翻译 OpenGL ES Game Development 第五章(实用操作篇,译者注)

本章信息: •  pc和手机游戏区别•  为手机游戏优化代码•    经验之谈:处理游戏固定桢速和不同尺寸适配•    几何和纹理动画简介•    使用OpenGL ES 渲染2D画面 OpenGL ES的出现,使得pc端移植到手机端,成为可能和easy的事。 porting面临的问题:•    CPU speed•    GPU speed• 

2014-02-11 17:25:51 789

转载 磨刀不误砍柴功:App开发者必备的运营、原型、UI设计工具整理

http://tech2ipo.com/54655

2012-07-30 11:47:55 585

转载 iOS的主要框架介绍

http://www.open-open.com/lib/view/open1343210425380.html

2012-07-30 11:45:21 520

原创 ios debug 若干技术。

防bug技术之 0 warnings防bug技术之 使用static analyzer tool。增加breakpoint断点,很多bug就能查看自己的stack。以上断点断住后,点几次continue,或使用(lldb) po [$eax class] (lldb) po [$eax name] (lldb) po [$eax reason]命令查看详情。设置中开启Zombies。

2012-07-27 14:56:04 552

原创 解决Ios加载大图时出JPEG Corrupt JPEG data: premature end of data segment错误,导致加载时卡的问题。

如题,有时开线程加载大图时,出如上错误(表象是某图有一部分是灰色区域),导致加载时卡。比方说你做图片scrollview浏览时,滑动过程中创建大图,出如上错误会卡。解决办法,用如下方法创建图,就很流畅了。 CGImageRef MyCreateThumbnailImageFromData (NSData * data, int imageSize){    CGImageR

2012-05-16 10:26:49 13077 5

原创 crash log调用栈看不到的解决方案(debug symbols不起作用)

1         前言有时crash log在xcode中,看不到crash的调用堆栈,只有些十六进制,下面是解决的参考方法。2         先查看symbolicate工具环境设置步骤一:在“终端”中,使用如下工具查看symbolicate工具是否出问题了,命令后接crash log文件。/Developer/Platforms/iPhoneOS.platform/De

2012-03-05 15:29:13 5225

原创 有时UIGestureRecognizer手势识别不出来问题分析及方案

有时我们添加的UIGestureRecognizer识别不出来,分析原因至少有以下三种可能:- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGest

2012-02-29 22:14:29 6325

原创 ios用UIWebView打开txt乱码的解决方案

1         乱码情况从网上下的中文txt小说,电脑上编辑的中文txt,用UIWebView直接打开出现乱码。2         解决方案txt分带编码和不带编码两种,带编码的如UTF-8格式txt,不带编码的如ANSI格式txt。带编码的用NSString的stringWithContentsOfFile可读出,不带的,我们依次尝试GBK和GB18030编码。 代码

2012-02-27 14:19:32 4648

原创 彻底解决xcode4.2.1中SCM(SVN)不能用问题。

xcode4.2.1的SVN摸索了一下终于可用了,大家尝试以下方法:1.将repository URL在safari访问.2.在弹出的证书界面,选“显示证书”.3. 打勾.4.重启xcode,对应的repository就变绿了:PS:如仍提示因密码无法commit,请在terminal中手动commit一次,输入密码。 其实就俩问题,一个是证书认证问题,一个是密码问题,

2012-02-21 20:23:36 1599 1

转载 揭开正则表达式的神秘面纱(转)

<br />http://www.regexlab.com/zh/regref.htm<br />该文章由浅入深,层次分明,推荐。

2011-01-04 15:16:00 223

原创 我的技术博客暂时从新浪转这了。

<br />原新浪博客地址:<br />http://blog.sina.com.cn/doooodo

2010-12-26 23:34:00 345 1

无线通信技术.pdf

无线通信技术,pdf格式的。。。。。。。。。。。。。。

2011-02-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除