![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ogre
longuby
喜欢运动
展开
-
Ogitor 场景编辑器之贴花
创建 mDecal = Ogitors::OgitorsRoot::getSingletonPtr()->GetSceneManager()->createManualObject(sName); mDecal->setCastShadows(false); mDecal->setDynamic(true); mDecal->setRenderQueueGroup(RENDE原创 2010-03-18 16:23:00 · 669 阅读 · 0 评论 -
材质脚本属性
顶层Material属性 属性名 值的格式 描述lod_distances [ ... ] LOD的距离列表receive_shadows | 阴影是否会投在这个物体上(默认为on) transparency_casts_sh转载 2010-03-17 15:25:00 · 739 阅读 · 0 评论 -
ogre笔记
1、判断模型资源是否存在 MeshManager::getSingletonPtr()->resourceExists("sphere.mesh") 2、手动加载纹理 TexturePtr tex = TextureManager::getSingleton().load(fInfo.filename, "General") 3、TexturePtr 转原创 2010-04-02 09:15:00 · 899 阅读 · 0 评论 -
Error inserting new pass entry into PassGroupRenderableMap
<br /> <br />主要原因是程序中存在多个 SceneManager ,导致渲染混乱。<br />原创 2010-07-02 09:00:00 · 986 阅读 · 3 评论 -
Hydrax参数配置说明
注意:Hydrax update 需要放到frameStarted 函数中,否则会出现刷新不及时的问题。Normal mode 应采用 NM_VERTEX 而非 NM_RTT,因为在NM_RTT模式下Module options中的个别参数无效(PG_ChoopyStrength、PG_Strength、PG_ChoppyWaves)参数PG_Complexity影响水面波浪效果,若此参数比较大也非常影响效率,如果值很小波浪很不明显,可以根据游戏效果再调整。参数PG_Stre原创 2010-07-30 12:59:00 · 1623 阅读 · 1 评论 -
release版本抛出异常 Current active device is NULL 原因
原因是 frameStarted 或 frameEnded中未加 if (isWindowClose()) return false;原创 2010-08-02 17:51:00 · 699 阅读 · 0 评论 -
dxtrans.h": No such file or directory
<br />#define __IDxtCompositor_INTERFACE_DEFINED__ <br />#define __IDxtAlphaSetter_INTERFACE_DEFINED__ <br />#define __IDxtJpeg_INTERFACE_DEFINED__ <br />#define __IDxtKey_INTERFACE_DEFINED__ <br />#include <Qedit.h><br /> <br />再修改qedit.h 中引用 dxtrans.h 的部转载 2010-06-11 19:12:00 · 1119 阅读 · 0 评论