http://blog.csdn.net/leonwei/article/details/4171870从FRAGMENT到PIXEL(framebuffer 帧缓存)1.帧缓存包括颜色、scissor、alpha、stencil、depth这些缓存,所以帧缓存不是一片缓存,而是所有这些缓存的组合,...
分类:
其他好文 时间:
2014-07-07 23:19:34
阅读次数:
255
#include#include#include#include int main(){ IplImage* img = cvLoadImage("1.jpg"); IplImage* dst = cvCreateImage(cvGetSize(img),img->depth,1); cvNamed...
分类:
其他好文 时间:
2014-07-07 22:50:43
阅读次数:
251
http://www.opengl.org/wiki/FragmentFragment 是Raster的输出,输出可以是color value, stencil value或者depth value,写几个OpenGL例子AFragmentis a collection of values prod...
分类:
其他好文 时间:
2014-07-07 22:29:24
阅读次数:
258
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他好文 时间:
2014-06-28 10:07:19
阅读次数:
208
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:
其他好文 时间:
2014-06-27 23:13:24
阅读次数:
218
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(...
分类:
其他好文 时间:
2014-06-25 18:40:08
阅读次数:
182
光照贴图深入学习 Lightmapping In-Depth
分类:
移动开发 时间:
2014-06-25 18:00:54
阅读次数:
463
【UIWidget】 UIWidget在NGUI中的层次如下。 根据上篇所述,UIRect实现实现了Anchor功能。而Widget提供的功能也很简单,如下: 可以看到,widget只提供四个属性,alpha、pivot、depth、dimension。实际上widget就是sprit...
分类:
其他好文 时间:
2014-06-24 14:33:38
阅读次数:
191
Python中默认的最大递归深度是989,当尝试递归第990时便出现递归深度超限的错误:RuntimeError: maximum recursion depth exceeded in comparison简单方法是使用阶乘重现: 1 #! /usr/bin/env Python 2 3 def....
分类:
编程语言 时间:
2014-06-23 07:40:27
阅读次数:
298
gamedb:/bak/backup/web#find.-maxdepth1-ctime+60|more
./cncgcg
./gm
./igame
./20140410
./20140403
./qzstatistics
./20140415使用maxdepth可以指定列出的层数
分类:
其他好文 时间:
2014-06-17 17:07:30
阅读次数:
253