PDA

View Full Version : Map particles with a single image spread across them all


Snape
06-05-2010, 12:08 PM
Hi,

I have an image which I would like to map over a grid of particles that are arranged in one big plane.

When I animate the particles I would like the image to stay mapped where it was initially.

Is there a simple way to do this?

Any help much appreciated.

Spencer

Bobo
06-05-2010, 02:11 PM
Hi,

I have an image which I would like to map over a grid of particles that are arranged in one big plane.

When I animate the particles I would like the image to stay mapped where it was initially.

Is there a simple way to do this?

Any help much appreciated.

Spencer

Using Max 2010 (or 2009 with extensions, or 2008 and earlier with Box #1), you could:
*Create a Plane
*Create a PFlow with Position Object operator distributing particles on it
*Add a Mapping Object operator to steal the UVs from channel 1
*Add a Material Standard operator, assign a Standard Material with the desired Bitmap Texture to it, enable Show Map In Viewport to see it.
*Optionally, assign the same Material to the Plane
*Add a Speed or Force operator to move the particles
*Add a Shape Operator and set it to a small box or sphere
*Set the Display operator to Geometry

With this method, your particles will show the same diffuse map as the plane and because the UVs are sampled by default only on event entry, they will stick to the particles when they start moving.

Alternatively, if you want to do the same with millions of particles and have/want to use Krakatoa, you can look into this thread
http://forums.cgsociety.org/showthread.php?f=206&t=886751
and this tutorial:
http://software.primefocusworld.com/software/support/krakatoa/image_plane_dissolve.php

Snape
06-05-2010, 02:30 PM
That's great thanks Bobo.

In the end (and because of time) I had to use a script I have created previously that loads all the images from a directory and creates a huge multimaterial (each material with a seperate image for each particle) and then used material dynamic to distribute them.

I will use your method though too so I know for next time.

Thanks again

Spencer

PsychoSilence
06-05-2010, 05:20 PM
I recorded a freebie teaser tutorial to promote my DVDs that covers that topic. Maybe you want to check it out :)

Particle Flow: Mapping a Movie on Particles (http://vimeo.com/7299779)

hope i could help.

cheers!

Anselm

CGTalk Moderation
06-05-2010, 05:20 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.