游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2163|回复: 1

ogre材质继承问题

[复制链接]

7

主题

24

帖子

28

积分

注册会员

Rank: 2

积分
28
发表于 2011-4-6 16:38:00 | 显示全部楼层 |阅读模式
我ogre的版本为1.7.2
这是错误信息
16:43:10: Parsing script Examples.material
16:43:10: Parsing script Ogre.material
16:43:10: Compiler error: unknown error in Ogre.material(68): base object named "Examples/BeachStones" not   found in script definition



Examples/BeachStones材质定义在examples.material中,
请问ogre中是不是规定父材质必须在同一材质文件中.

7

主题

24

帖子

28

积分

注册会员

Rank: 2

积分
28
 楼主| 发表于 2011-4-6 16:48:00 | 显示全部楼层

Re:ogre材质继承问题

刚看了下文档,需要加
import Examples/BeachStones from "Examples.material"
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-6-8 06:13

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表