PDA

View Full Version : TP Orientation & random Texture


teleliq
01-06-2009, 01:07 PM
Hi Guys!

I've got a big Problem here with Thinking Particles.

I have a polygon surface on which i emit some particles using a PBorn Node & PSurfacePosition. The PShape is just a simple plane. Now I want, that the several particles are randomly rotated, so that there's just a little more randomness. If i connect a random value on the Y Rotation Port in the PAlignment Node, all of my emitted particle shapes rotate the same way. But i need individual rotation for every single particle.

The other (and bigger) Problem is, that all these emitted plane should be textured with different photos. I have a folder with 300 pictures and they need to be assigned randomly to the several emitted particle-shapes. Is there any superbrainmastercoder who can help me? You guys would definitly save my day.

Thank you very much!

[/url][url="http://img514.imageshack.us/my.php?image=tpscreensp3.jpg"]http://img514.imageshack.us/img514/2637/tpscreensp3.th.jpg (http://img514.imageshack.us/my.php?image=tpscreensp3.jpg)

Srek
01-06-2009, 01:13 PM
Use the seed every particle carries (PGetData will make it available) and use it to feed the random node. This way you have an individual but reproduceable random value for each particle.
Cheers
Björn

teleliq
01-06-2009, 01:27 PM
Great!

Work's perfect! Thank you very much!

So...any ideas for the second problem?

Over and out
Simon

Srek
01-06-2009, 01:42 PM
Usualy i would opt for MoGraph with something like that since TP does not offer an easy option to create üarticles with varying textures.
Maybe a combination where you use the MoGraph Matrix object to emitt the particles and assign the shape.
Cheers
Björn

teleliq
01-08-2009, 02:29 PM
Thank you very much!

I decided to create it without particles. Simply Mograph....works fine. I#m gonna post a clip when the shot is ready.

over and out

CGTalk Moderation
01-08-2009, 02:29 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.