OpenGLES
lhy_ps6
这个作者很懒,什么都没留下…
展开
-
mali developer center
arm最新的2代mali_T624及之后的系列都支持opengles3.0,opencl1.1据官方说相当于ps3,xbox360级别的显示能力了,今年8月发布。预计明年会有对应高端手机平板。在mali的dev center可以下载到windows 模拟器 和sdk。照这个速度下去,很快手机的处理显示能力就会接近pc了。今天wp8 sdk正式提供下载。另外看到wp8对应unity3d。原创 2012-10-31 23:09:18 · 621 阅读 · 0 评论 -
出现在vertex shader和pixel shader 的同名Uniform的type和value需相同
opengles2.0 programming 2.o guideUniforms and AttributesOnce you have a linked program object, there a number of queries that youmight want to do on it. The first is that you will likely need to原创 2012-11-15 14:14:25 · 767 阅读 · 0 评论 -
query uniform
The block of code in Example 4-3 demonstrates how one would go aboutquerying for uniform information on a program object using the functionswe have described.Example 4-3 Querying for Active Unif转载 2012-11-15 16:06:07 · 882 阅读 · 0 评论 -
uniform : local to a program object
One point worth noting here is that the glUniform* calls do not take aprogram object handle as a parameter. The reason for this is because theglUniform* calls always act on the current program tha转载 2012-11-15 16:00:12 · 471 阅读 · 0 评论 -
compile shader
First of all, you can determine whether an implementation supports onlineshader compilation by checking for the value of GL_SHADER_COMPILERusing glGetBooleanv. If this value is GL_TRUE, then the i转载 2012-11-15 16:17:27 · 2368 阅读 · 0 评论 -
OpenGL ES Shading Language : array
For matrix construction, the language is very flexible. These basic rulesdescribe how matrices can be constructed:• If only one scalar argument is provided to a matrix constructor, thatvalue is转载 2012-11-16 20:06:04 · 1327 阅读 · 0 评论 -
opengles2.0 programming guide: attribute
Performance HintsHow to store different attributes of a vertexWe described the two most common ways of storing vertex attributes—array of structures and structure of arrays. The question to转载 2012-11-19 03:46:08 · 845 阅读 · 0 评论 -
obj format
mtllib cube.mtlo Cubev 1.0 1.0 -1.0v 1.0 -1.0 -1.0v -1.0 -1.0 -1.0v -1.0 1.0 -1.0v 1.0 1.0 1.0v 1.0 -1.0 1.0v -1.0 -1.0 1.0v -1.0 1.0 1.0vt 0.0 0.0vt 1.0 0.0vt 1.0 1.0vt 0.0转载 2012-11-22 01:39:02 · 669 阅读 · 0 评论