Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help Multiple Materials - Single Object
Alex Ros Offline
Senior Member

Posts: 447
Threads: 46
Joined: Aug 2012
Reputation: 20
#1
Information  Multiple Materials - Single Object

DELETE ME
(This post was last modified: 12-07-2012, 01:33 PM by Alex Ros.)
12-01-2012, 03:21 PM
Website Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#2
RE: Multiple Materials - Single Object

Its very simple to create a static object with multiple materials, all you need 2 meshes with 2 different textures when you export. then when you open the dae. in the modelviewer it should then create a mat. file for each texture that your dae. contains. It would be weird if it got buggy since FG did it themselfes with the zimmerman ground which was a static that used 3 different mat.s.

As for the reason most objects in amnesia only use 1 material I guess its because that most objects in amnesia only use one texture to save memory, some objects like the wallsets even share one big texture.
fx the mansionbase
12-01-2012, 03:34 PM
Find
Alex Ros Offline
Senior Member

Posts: 447
Threads: 46
Joined: Aug 2012
Reputation: 20
#3
RE: Multiple Materials - Single Object

DELETE ME
(This post was last modified: 12-07-2012, 01:22 PM by Alex Ros.)
12-01-2012, 04:20 PM
Website Find
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#4
RE: Multiple Materials - Single Object

Ah so what you want to do is to have multiple objects use the same tileable textures?.
its nice when it comes to performance, but please also remember that it can limit you when it comes to adding detail to the individual object, no ambient occlusion fx.
(This post was last modified: 12-01-2012, 05:11 PM by WALP.)
12-01-2012, 05:11 PM
Find
xxxxxxxxxxxxxxxx Away
Posting Freak

Posts: 935
Threads: 0
Joined: Jun 2012
Reputation: 54
#5
RE: Multiple Materials - Single Object

That and also using several small tileable textures on the same object...Which is generally good for performance if you have a lot of objects using the same textures, but it doesn't work for an infinite number of textures per object if you know what I mean.
At some point the drawcalls required to look up several textures for one object can be worse for performance than having a few more textures lying around in memory. Maybe hpl is especially sensitive when it comes to that and that's why they used unique textures? Another reason might be that they wanted unique, baked normal maps for the objects and HPL doesn't support different uv channels for different maps.
(This post was last modified: 12-01-2012, 05:46 PM by xxxxxxxxxxxxxxxx.)
12-01-2012, 05:46 PM
Find
Alex Ros Offline
Senior Member

Posts: 447
Threads: 46
Joined: Aug 2012
Reputation: 20
#6
RE: Multiple Materials - Single Object

DELETE ME
(This post was last modified: 12-07-2012, 01:22 PM by Alex Ros.)
12-03-2012, 10:39 AM
Website Find
Alex Ros Offline
Senior Member

Posts: 447
Threads: 46
Joined: Aug 2012
Reputation: 20
#7
RE: Multiple Materials - Single Object

DELETE ME
(This post was last modified: 12-07-2012, 01:22 PM by Alex Ros.)
12-04-2012, 01:56 PM
Website Find
Alex Ros Offline
Senior Member

Posts: 447
Threads: 46
Joined: Aug 2012
Reputation: 20
#8
RE: Multiple Materials - Single Object

This can be turned into a small tutorial for beginners...

Single Object / Multiple Materials
If you need a Static Object or a fully interactive Entity with multiple submeshes with multiple textures, the only thing you have to do is to Group all of your submeshes in Maya before exporting into .dae format. When you will open newly exported .dae at the Model Editor there will 2 (or more) submeshes, which could be put under 1 solid Body, so finally you will get a 1 solid interactive entity, working perfectly ingame.
12-07-2012, 01:31 PM
Website Find




Users browsing this thread: 1 Guest(s)