RailClone > RailClone Pro (*)

Get material from object

(1/2) > >>

Macker:
Hey guys,

I am trying to scatter loads of cars around a car park, which is working perfectly except on the material front. The problem is that each of the cars has a multi-sub-object material, with differing material ID's for different materials (as you would expect). This is a problem because I somehow need to get all the materials, from all of the cars into one MSOM, and make sure their paint material ID's tally up etc.

Could you not make the system work in a similar way to forest pro whereby each objects material is respected, rather than an overall material being used? This isn't the first time I've run into this issue. Perhaps a "get material from segment" option.

iToo:
Hi, this feature is already in our to-do list. Initially we would implement the same method used in Forest, but we must evaluate carefully what side effects may be.
In any case, we want to provide a solution for this issue in the next updates.

Macker:
That sounds fantastic.

I realise this could be a bit of a "how long is a piece of string" question, but when do you expect this feature to make it into a beta?

Paul Roberts:
Hi,

Just a quick tip until we release this feature. If you don't want to create a multi-sub object shader and re-assign IDs manually, an easy way to consolidate materials is as follows:

-    Attach all the cars into a single mesh. Use the default options, so Max creates the multi-sub object.
-    Detach each car back into separate objects.
-    Re-adjust the pivots if necessary.

You may find there are some scripts that can make a multi-sub object for you. For example I use RappaTools which has a Multi-Material from Selection option. This creates a multi-sub object material and automatically re=assigns the IDs. I believe the free version may have the same functionality, but I haven't tried it

I hope that helps.

Many thanks,

Paul.

Macker:
That is a great help, thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version