自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Shawn

Keep Walking!

  • 博客(11)
  • 资源 (4)
  • 收藏
  • 关注

转载 OpenGL ES九 - 四元数

注:原作者没有完成骨骼动画的章节,这是我们找到的最后一篇了 在进入下一篇关于骨骼动画的文章之前,让我们先花点时间来了解一个马上会使用到的新数据类型:四元数[译者注:关于四元数的概念可以参考这个链接:点我]。我们用四元数存储单一骨骼在3个轴线上的旋转信息,换句话说,存储的是骨骼指向的方向。在下一部分介绍的仿真骨骼动画中,你将会看到,模型的顶点是同一个或多个骨骼相关联的,当骨骼移动时它们也会

2013-11-19 12:19:27 1149

转载 OpenGL ES九 -动画基础和关键帧动画

最初这篇教程我并不打算作为第9章发布,原计划是第10章。在深入了解Opengl ES 2.0 和着色器之前,我想讨论下更基础的:动画。 注意:你可以在这里找到这篇教程的配套代码,新版本的代码已经在西部时间10:14更新了,更新的代码里面修正了一个不能动画的错误。 目前为止,想必你已经看过了opengles最基本的动画形式。通过随时间改变rotate, translate, sc

2013-11-19 12:17:51 2530

转载 OpenGL ES八 - 交叉存取顶点数据

Technote 2230提出了很多用OpenGL ES来提升iphone程序性能的建议。我们现在远远不能深刻理解OpenGL ES所以你需要学习以下内容。不信?是真的,试试看,我等着你的读后感。 好,就这样定了?副标题为“优化顶点数据”,这里有一些算法上的建议用来"submit strip-ordered indexed triangles with per vertex data int

2013-11-19 12:16:35 1126

转载 OpenGL ES四补遗 – setupView重写

我在OpenGL ES四 – 光效 一文中使用了一个普通GLfloat数组。由于它没有使用任何非OpenGL定义的数据结构,所以是最为普通和方便的方式。   但在此我使用在第一部分中定义的Vertex3D, Vector3D和 Color3D数据结构重写了 setupView:方法。并不是这种方法“更好”,但是它是一种不同的方式。当我第一次学习OpenGL时,我发现使用顶点,颜色和三角

2013-11-19 12:10:41 872

转载 OpenGL ES七 – 变换和矩阵

今天的主题是我一度谈之色变的。概念上讲,它是3D编程中最为困难的部分。 首先,你应该理解 3D 几何和笛卡尔坐标系他。你还应该理解由顶点构成的三角形组成的OpenGL虚拟世界的物体,各顶点定义了三维空间的特定点,你还应理解怎样使用这些信息在 iPhone上使用OpenGL ES进行绘制。如果你不理解这些概念,我建议你回头再看看我的前六篇文章。 为在交互式程序如游

2013-11-19 12:09:07 1383

转载 OpenGL ES六 – 纹理及纹理映射

在OpenGL ES中另一种为多边形定义颜色创建材质的方法是将纹理映射到多边形。这是一种很实用的方法,它可以产生很漂亮的外观并节省大量的处理器时间。比如说,你想在游戏中造一个砖墙。你当然可以创建一个具有几千个顶点的复杂物体来定义每块砖以及砖之间的泥灰。   或者你可以创建一个由两个三角形构成的方块(四个顶点),然后将砖的照片映射上去。简单的几何体通过纹理映射的方法比使用材质的复杂几何体

2013-11-19 12:08:04 1111

转载 OpenGL ES五 – 材质

在 上一篇文章,我们讨论了光效的设定以及光效的各种属性。我们还讨论了光的三要素:散射光, 环境光 和高光。如果你还不是完全清楚,那么我们来复习一下,在定义材质时大量的用到这些要素。   作为本文的起点,我们使用了原文中球体绘制 的项目文件。我们不再使用二十面体而是转向球体是因为球体是展示光和材质不同要素之间相互作用的最佳形状。   颜色是什么

2013-11-19 12:06:54 995

转载 OpenGL ES四 – 光效

继续我们的iPhone OpenGL ES之旅,我们将讨论光效。目前,我们没有加入任何光效。幸运的是,OpenGL在没有设置光效的情况下仍然可以看见东西。 它只是提供一种十分单调的整体光让我们看到物体。但是如果不定义光效,物体看上去都很单调,就像你在第二部分程序中看到的那样。     阴影模型(Shade Model)   在深入讨论OpenGL

2013-11-19 12:05:54 1184

转载 OpenGL ES三 – 透视

现在你已经知道OpenGL是怎样绘图的了,让我们回头谈谈一个很重要的概念:OpenGL视口(viewport)。 许多人对3D编程还很陌生,那些使用过像Maya, Blender, 或 Lightwave之类3D图形程序的人都试图在OpenGL虚拟世界中找到“摄像机”。但OpenGL并不存在这样的东西。它所有的是在3D空间中定义可见的物体。虚拟世界是没有边界的,但计算机不可能处理无限的空间,所以O

2013-11-19 12:04:56 1005

转载 OpenGL ES二 – 简单绘图概述

还有许多理论知识需要讨论,但与其花许多时间在复杂的数学公式或难以理解的概念上,还不如让我们开始熟悉OpenGL ES的基本绘图功能。 请下载OpenGL Xcode项目模板。我们使用此模板而不是Apple提供的模板。你可以解压到下面目录来安装它: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project

2013-11-19 12:03:54 948

转载 OpenGL ES一 – 基本概念

我曾写过一些文章介绍iPhone OpenGL ES编程,但大部分针对的是已经至少懂得一些3D编程知识的人。 作为起点,请下载我的<a href="http://www.iphone-geek.cn/wp-content/uploads/2009/12/Empty_OpenGL_ES_Application.zip" color:="" rgb(63,="" 63,="" 175);="" "=

2013-11-19 12:02:01 1005

Charles 最新版 3.11.2 破解补丁

如题 Charles 最新版 3.11.2 破解补丁

2015-12-28

Schema的Xpath教程

支持各种语言 ZVON.org - XPath Tutorial Please, start with: General/examples.html (English) General_cze/examples.html (česky) General_dut/examples.html (Nederlands) General_fre/examples.html (Français) General_spa/examples.html (Español) General_rus/examples.html (По-русски) General_ger/examples.html (Deutsch) General_chi/examples.html (中文)

2011-06-06

java反编译工具FrontEnd和jad

java反编译工具 Jad accepts the following options: -a - annotate the output with JVM bytecodes (default: off) -af - same as -a, but output fully qualified names when annotating -clear - clear all prefixes, including the default ones (can be abbreviated as -cl) -b - output redundant braces (e.g., if(a) { b(); }, default: off) -d <dir> - directory for output files (will be created when necessary) -dead - try to decompile dead parts of code (if any) (default: off) -disass - disassemble method bytecodes (no JAVA source generated) -f - output fully qualified names for classes/fields/methods (default: off) -ff - output class fields before methods (default: after methods) -i - output default initializers for all non-final fields -l<num> - split strings into pieces of maximum <num> chars (default: off) -lnc - annotate the output with line numbers (default: off) -lradix<num> - display long integers using the specified radix (8, 10 or 16) -nl - split strings on newline character (default: off) -nocast - don't generate auxiliary casts -nocode - don't generate the source code for methods -noconv - don't convert Java identifiers (default: convert) -noctor - suppress the empty constructors -nodos - do not check for class files written in DOS mode (CR before NL, default: check) -nofd - don't disambiguate fields with the same names by adding signatures to their names (default: do) -noinner - turn off the support of inner classes (default: on) -nolvt - ignore Local Variable Table information -nonlb - don't output a newline before opening brace (default: do) -o - overwrite output files without confirmation (default: off) -p - send decompiled code to STDOUT (e.g., for piping) -pi<num> - pack imports into one line after <num> imports (default: 3) -pv<num> - pack fields with identical types into one line (default: off) -pa <pfx>- prefix for all packages in generated source files -pc <pfx>- prefix for classes with numerical names (default: _cls) -pf <pfx>- prefix for fields with numerical names (default: _fld) -pe <pfx>- prefix for unused exception names (default: _ex) -pl <pfx>- prefix for locals with numerical names (default: _lcl) -pm <pfx>- prefix for methods with numerical names (default: _mth) -pp <pfx>- prefix for method parms with numerical names (default: _prm) -r - restore package directory structrure -radix<num> - display integers using the specified radix (8, 10 or 16) -s <ext> - output file extension (by default '.jad') -safe - generate additional casts to disambiguate methods/fields (default: off) -space - output space between keyword (if/for/while/etc) and expression (default: off) -stat - display the total number of processed classes/methods/fields -t - use tabs instead of spaces for indentation -t<num> - use <num> spaces for indentation (default: 4) -v - display method names being decompiled -8 - convert UNICODE strings into 8-bit strings using the current ANSI code page (Win32 only) -& - redirect STDERR to STDOUT (Win32 only)

2011-06-06

C#中实现图片文件拖拽的教程以及关键代码!

C#中实现图片文件拖拽的教程以及关键代码!

2010-11-23

空空如也

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

TA关注的人

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