Author Topic: How to set material for objects in .bones?  (Read 17330 times)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
How to set material for objects in .bones?
« on: July 31, 2012, 10:58:18 am »
OgreMax exported the .material.xml,  but how to use it?

Is .bones including the material info?

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: How to set material for objects in .bones?
« Reply #1 on: July 31, 2012, 10:59:55 am »
no, no material or texture information is used. only texture coordinates except animation info..

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Re: How to set material for objects in .bones?
« Reply #2 on: July 31, 2012, 11:18:26 am »
So,  there is no way to use material for Animated3D objects. Is that right?

Without material and lighting, my dog seems not good, could you give me any advices?

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: How to set material for objects in .bones?
« Reply #3 on: July 31, 2012, 11:26:32 am »
right.

set texture and use lighting  ;)

Offline kiffa

  • long
  • ***
  • Posts: 199
    • View Profile
Re: How to set material for objects in .bones?
« Reply #4 on: July 31, 2012, 01:09:31 pm »
 > set texture and use lighting

Does the material decide how a model looks like in the lighting(s)? 

What's the difference between a model with texture only and a model with both texture and material?

Do animated3D objects have default material?

Thanks!

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: How to set material for objects in .bones?
« Reply #5 on: July 31, 2012, 01:12:16 pm »
material has no effect in bones. all objects in jPCT has a default gray texture, same applies to bones