Rayfire Fragment Materials


#1

Hi everyone,

I have a quick question regarding fragmentation materials in Rayfire. I came across a problem yesterday that I haven’t been able to figure out on my own, relating to fragmentation materials on Proboolean objects.

If two objects are seperate and are demolished, they retain their own material for the inner faces of the fragments (a blue ball has blue inner fragments and a red ball has red inner fragments for example). However, if I attach them together via a ProBoolean operation such as Union or Attach, they now have the same inner face material. This makes sense, since both objects are now considered one, but I was wondering if there was a way to apply separate inner fragmentation materials to objects joined in a ProBoolean union. For example, if one was demolishing piano keys joined by ProBoolean Attach and wanted to keep the black keys black and white keys white on the inside.

The only solution I’ve found so far is to select a few of the fragments after they’ve been demolished and apply materials to them individually, but if there are many fragments, this could easily get tedious. Any help would be appreciated. Thanks!


#2

Why boolean attach them?

I would keep the objects separate and have a multi-sub material for each with the same id number used for the interior faces. So your black piano keys have a material with id 1 as the normal mat and 2 as the interior id. The white keys have their own multi-sub with white normal as id 1 and white interior as id 2.

Then you tell raydfire to use mat id 2 as the fragment material id and it should all work out. Or if it doesn’t then you can easily get the object selection based on the material on them. The interior faces are already selected if you apply an edit poly or similar modifier so you can also remap them fairly easily should you need to (I find I often do need to apply and adjust a box map to the interior faces).


#3

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.