JCHub

  • Home
  • Category
    • A/V
    • WebRTC
    • Beauty of Programming
    • Linux
    • Windows
    • Moments of Life
    • Campus Life
  • Reference
    • API Reference
    • Utilities
    • AV Test
    • Doc
  • Message Board
  • About
JCHub
Code as My Sword, Lost in Obsession
  1. Main page
  2. Beauty of Programming
  3. Main content

Ogre中阴影设置问题

2014年5月1日 1518hotness 0likes 1comments

按照导师前天的要求今天给虚拟漫游系统换了个人物,原来用的是Ogre官方自带的那个Sinbad模型,今天给换成了另一个模型,有点像非洲矿工
ogre-virtual-mine-system

不过这过程中遇到了一个问题,就是人物没有阴影,我检查了下程序,设置阴影,灯光的代码都写了,why?只能求助于谷歌了,
谷歌了下ogremax model without shadow,找了几页就找到答案了,我在Ogremax的scene settings中忘记选择了阴影这一项,如下图所示
ogrescene-shadow-setting

也就是建好模型后,需要创建一个灯光,然后导出时环境设置中记得选择一个阴影类型,这样在程序中就能看到阴影效果了。

参考链接
http://www.ogremax.com/Documents/OgreMaxSceneExporter-3DSMax/tutorial-configure-shadows.html

This article is licensed with Creative Commons Attribution-NonCommercial-No Derivatives 4.0 International License
Tag: OGRE
Last updated:2018年12月23日

Jeff

管理员——代码为剑,如痴如醉

Tip the author Like
< Last article
Next article >

Comments

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
Cancel

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts
  • Ogre中的场景文件
  • Ogre中加入声音
  • Ogre中的粒子系统(Particle System)
  • Ogre中简单的AABB碰撞检测
  • Ogre中移植Sample_Character到Advanced Ogre Framework
Categories

COPYRIGHT © 2026 jianchihu.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang