码迷,mamicode.com
首页 >  
搜索关键字:多视点测试序列文件 texture    ( 518个结果
现代OpenGL教程 02——贴图
导读:现代OpenGL教程 01——入门指南在本文中,我们将给三角形加一个贴图,这需要在顶点和片段着色器中加入一些新变量,创建和使用贴图对象,并且学习一点贴图单元和贴图坐标的知识。本文会使用两个新的类到tdogl命名空间中:tdogl:Bitmap和tdogl:Texture。这些类允许我们将jpg...
分类:其他好文   时间:2015-08-14 15:11:14    阅读次数:316
使用Depth Texture
使用Depth Textures: 可以将depth信息渲染到一张texture,有些效果的制作会需要scene depth信息,此时depth texture就可以派上用场了。 Depth Texture在不同平台上有不同的实现,并且原生的支持也不一样。 UnityCG.cginc里面...
分类:其他好文   时间:2015-08-11 20:49:46    阅读次数:522
Animation & Spritesheets
A sprite is a single graphic image. It can be moved around the screen, stretched, rotated, skewed, faded and tinted. A?spritesheet?is a collection of sprites into a single texture file. This mak...
分类:其他好文   时间:2015-08-09 12:47:20    阅读次数:402
[MetaHook] Load TGA texture to OpenGL
This function load a *.tga texture file and convert to OpenGL pixel format, uncompress only. 1 #pragma pack(1) 2 3 struct TgaHeader 4 { 5 unsigne...
分类:Web程序   时间:2015-08-06 01:56:06    阅读次数:269
[MetaHook] Load large texture from model
We need hook "GL_LoadTexture"engine function.GL_LOADTEXTURE_SIG from hw.dll(3266) engine, can not use for other engine version. 1 #include 2 #include....
分类:Web程序   时间:2015-08-04 20:51:14    阅读次数:128
[MetaHook] Load DTX texture to OpenGL
This function load a LithTech*.dtx texture file and convert to OpenGL pixel format,compressedsupport.Use FileSystem interface. :D 1 #pragma pack(1) 2 ...
分类:Web程序   时间:2015-08-04 20:45:16    阅读次数:134
MagicGearEditor3D:一个地形渲染与编辑器的源代码
2009年写的一个地形编辑器,可以供一些对引擎底层技术感兴趣的网友学习用。...
分类:其他好文   时间:2015-08-02 15:20:41    阅读次数:154
cocos3——11.事件分发
【纹理】 TextureCache::addImage texture = new (std::nothrow) Texture2D(); // ref = 1, 没有autorelease TextureCache::removeUnusedTextures 把引用计数是1的纹理释放掉 TextureCache::removeAllTextures 释放所有缓存的纹理 ...
分类:其他好文   时间:2015-08-01 19:01:20    阅读次数:134
Unity查找脚本被哪些Perfab或场景引用
Unity中查找脚本被哪些Prefab或场景引用Unity中有个Find References In Scene的功能,但是只能查找在当前场景中的引用。 如果发现某个脚本不知道被挂在哪个Prefab上了,下面这个脚本你可能用得到 实现在查找脚本在哪些Prefab或者场景中被引用,查找脚本引用了哪些对象(脚本,Texture,字体等) 先看截图: 源码在这里using UnityEng...
分类:编程语言   时间:2015-07-28 18:36:41    阅读次数:288
Shader 使按钮图片致灰
Shader "UI/Default Grey" { Properties { [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} _Color ...
分类:其他好文   时间:2015-07-27 20:26:08    阅读次数:167
518条   上一页 1 ... 30 31 32 33 34 ... 52 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!