Assigning seperate material IDs to particles in PFlow

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  04 April 2006
Assigning seperate material IDs to particles in PFlow

Hi Guys

I'm using Allan McKays Fracture tutorial and script to crumble an apartment block.

The apartment is built up in a lego brick fashion using a library of component objects which are individually textured accordingly.

When I execute the script, a particle is assigned to each object as intended (or rather, a copy of the object) but the material IDs are lost.

Is there a way to retain the material IDs from the original mesh objects or is there a way to assign different material ID's to seperate particles within PFlow?


I've since tried Material Dynamic but it doesn't seem to give me the specific control that I need i.e. manually assigning a material ID on a per-particle basis.
One way round this I thought was to create seperate flows for the particles that correspond to different components i.e. a seperate flow for the windows, one for the bricks, the doors, roof tiles etc and assign a material accordingly on a per flow basis but this doesn't appear to work either as particles start disappearing altogether or changing to the particle type that was defined in the first flow. This is probably something to do with McKay's script though where I think one or two variables may need tweaking.

Last edited by Denovice : 04 April 2006 at 07:41 AM. Reason: Additional notes
  04 April 2006
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:34 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.