In this guide I will show you how to install Python 2.7 and 3.3 on CentOS 6. The examples below are for Python 2.7.6 and Python 3.3.5, but the procedure is the same for any modern version of Python...
分类:
编程语言 时间:
2015-06-24 16:53:52
阅读次数:
223
讲者Nail提出六个“致命程序”,这六个程序使得西方国家在过去很长时间中领先其他国家,它们分别是1.竞争(Competition)、2.Scientific Revolution(科技革命)、3.Property rights(产权)、4.(现代医疗)Modern Medicine、5.消费型社会(The consumer society)、6.职业道德(The work etic),1500年以来,几百年的时间里面,西方国家正式通过这些Apps远超其他国家,GDP甚至是别的一些国家的几十倍。...
分类:
其他好文 时间:
2015-06-04 11:55:03
阅读次数:
123
About GitBookGitBook was created in the middle of 2014 with the vision of creating a modern and simple solution to digital writing and publishing.We a...
分类:
其他好文 时间:
2015-06-03 11:32:15
阅读次数:
220
AngularJS入门 什么是AngularJSAngularJSis a modern JavaScript framework from Google commonly used to work with Single Page Applications (SPAs). AngularJS is...
分类:
Web程序 时间:
2015-06-02 16:56:10
阅读次数:
140
JavaScript is the programming language of the Web. The overwhelming majority of modern websites use JavaScript, and all modern web browsers-on desktop...
分类:
编程语言 时间:
2015-06-01 22:22:08
阅读次数:
119
到上一篇为止,拾取一个VBO里的单个图元的问题已经彻底解决了。那么来看下一个问题:一个场景里可能会有多个VBO,此时每个VBO的gl_VertexID都是从0开始的,那么如何区分不同VBO里的图元呢?总结起来,Modern OpenGL可以利用gl_VertexID的存在,借助一点小技巧,实现拾取多...
分类:
其他好文 时间:
2015-05-31 06:46:51
阅读次数:
297
GL_FLAT模式下,各种类型的图元的颜色都是由绘制它的最后一个顶点的颜色给出的。我们只需在做Picking的绘制时,在GL_FLAT状态下绘制图元,就可以用glReadPixel()获取到应拾取的图元的最后一个顶点的编号。根据上一节的表格,很容易推算出此编号代表的图元。GLSL里的flat关键字。...
分类:
其他好文 时间:
2015-05-29 17:21:29
阅读次数:
187
这个思路的核心就是设计一个gl_VertexID与gl_FragColor之间的一一对应的函数。再加上我们能够用glReadPixel()获取屏幕上任意位置的颜色信息(gl_FragColor),这样就能够得到拾取到的顶点的gl_VertexID,即该顶点在VBO中的位置。这个方法支持的VBO的顶点...
分类:
其他好文 时间:
2015-05-28 13:59:30
阅读次数:
752
Problem Description
In 12th Zhejiang College Students Games 2007, there was a new stadium built in Zhejiang Normal University. It was a modern stadium which could hold thousands of people. The audi...
分类:
其他好文 时间:
2015-05-13 10:37:51
阅读次数:
113
START–MODERNMINIMALISTOPENCART2.X自适应主题模板ABC-0573-04TwoOpenCartversionssupported:1.5.5.xand1.5.6.xCrossbrowserscompatibility:IE9,IE10,IE11Firefox,Safari,OperaandChromeTwoproductdisplaymodesincategory–ListandGirdCustomCSSfile,CustomCSS,CustomJSSearch..
分类:
其他好文 时间:
2015-05-05 06:37:35
阅读次数:
128