- 博客(5)
- 资源 (10)
- 收藏
- 关注
原创 Ogre如何将一个可渲染对象加进渲染队列
判断对象是否半透明实体 //----------------------------------------------------------------------- bool Pass::isTransparent(void) const {
2011-07-25 14:04:46 1422
原创 FreeImage+FreeType生成字体的例子
这个是CEGUI底层生成字体的基本原理,也是研究CEGUI字体优化的起始使用 Ogre1.7的depends的函数库, 编译时要加 FREEIMAGE_LIB 预编译指令 // FontTest.cpp : Defines the entry point for the cons
2011-07-21 19:46:51 3269
原创 CEGUI的字体缓冲
Font的光栅化字符函数 virtual void rasterise(utf32 start_codepoint, utf32 end_codepoint) const;Font类里保存字符编码和字符图片的map如下 //! Definition of Codep
2011-07-19 19:16:55 1139
原创 ogre shader里使用共享参数
shared_params bUseShadow{shared_param_named bUseShadow float 1.0}fragment_program frag_fs cg{source frag.cgentry_point main_fsprofiles ps_3_
2011-07-11 19:50:43 1447
原创 不能在条件分支里使用texld/texldb/texldp/dsx/dsy指令
Shader error in 'Example/Diffuse Texture': D3D shader assembly failed with: (19): error X6077: texld/texldb/texldp/dsx/dsy instructions with
2011-07-08 19:02:36 2048
windows内核实验教程
2009-09-16
VC实现的迷宫程序
2007-03-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人