How to merge texture?Or let oFusion include the texture info

I'child

13-07-2007 18:05:10

Ogre material file seems not to support a complex model with multiple textures, like a dragon.
How to solve this kind of problem?

Evak

13-07-2007 21:20:41

it supports multi subobject materials just fine. I have a character with two seperate materials on the same mesh and multiple texture laters and UV's.

I'child

14-07-2007 03:53:06

Thanks, Evak. But how to load the material in Ogre? Because oFusion gives each seperate texture a name. If i use setmaterialname() in Ogre, the model will be covered by just a texture, and left the others away.

manowar

14-07-2007 09:30:54

A complex model with many textures will be made of several materials. When you will load your model(.mesh) in ogre, it will load and apply the material automatically. If you want to change the materials at run time, you will have to call setmaterialname on each part of your model you want to replace.