Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
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 |
|
WALP
Posting Freak
Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation:
45
|
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 |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
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 |
|
WALP
Posting Freak
Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation:
45
|
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 |
|
xxxxxxxxxxxxxxxx
Posting Freak
Posts: 935
Threads: 0
Joined: Jun 2012
Reputation:
54
|
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.
|
|
12-01-2012, 05:46 PM |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
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 |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
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 |
|
Alex Ros
Senior Member
Posts: 447
Threads: 46
Joined: Aug 2012
Reputation:
20
|
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 |
|