PDA

View Full Version : Applying random matIDs to elements in an editable mesh


Alex Morris
07-24-2003, 10:48 AM
Any ideas as to how to strip out elements as opposed to faces from an editable mesh?

I've looked through the help and everything refers to faces or polys but not to elements.

The idea would be to take each slab of say stone flooring(in a single mesh) and apply a random matID and hence a random material from a multisubobject material to each element.

Since each slab has sides as well as top and bottom I need to find a way of accessing elements rather than faces.

Whats the best way of doing this?

Equinoxx
07-24-2003, 11:26 AM
perhaps the 'MaterialByElement' modifier provides a solution for you ?? provided that the the entire element has ONE id offcourse for top/bottom/sides.

Kramsurfer
07-24-2003, 04:44 PM
Here's a script that Explodes by element...

Should get you 1/2 way there...

Keith Morrison

Alex Morris
07-24-2003, 04:59 PM
Thanks guys,

Can't believe that I never noticed that modifier before.....LOL.
It does what I need for now, but I'll have a play around with the script as well and see where it takes me.

CGTalk Moderation
01-15-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.