Keep up-to-date with Free tutorials!!


Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more


Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

submit tutorial
1 | 2 | 3 | 4
'I Have to Plant a Hell of a Lot of XYZ'

| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(Score 0 out of 5 after 0 Votes)
| Comments 0
Date Added: 16th June 2009
Software used:

At first we need to add a birth script node to replace the birth node already existing. Copy / Paste this script:

on ChannelsUsed pCont do
pCont.useposition = true
on Init pCont do
global pflowguide = $guide
on Proceed pCont do
if pflowguide != undefined do
t = pCont.getTimeStart() as float
NumVerts = getNumVerts pflowguide
if t < 0 do
for i = 1 to NumVerts do
pCont.particleIndex = pCont.NumParticles()
pCont.particleposition = polyop.getVert pflowguide i
on Release pCont do ()

Replace the "§guide" with the name of your guides leaving the leading §-sign.

Short explanation: The script cycles through the vertecies of the mesh (§guide) and plants a particle at every vertex.

Replace the Shape node with a Shape Instance and pick the object you want to plant onto the guides we just created. In my case stadium chairs.

I added a Scale node as well to have full control about the scaling within particle flow. Maybe you want a more random scaling then you should increase the scale variation e.g.

TIP: Set the Display operator to "BoundingBox" so that you can see the actual direction without the need of calculating the entire geometry instances

If we want the shape instances to have different materials in a certain manner we should add a Material static node. If you don't add this node all particles will have the material assigned to the shape picked in the shape instance.

In my case I only wanted every fourth chair to have the same material so I picked a Multi/Sub Material with four submaterials in the material static node. I checked Assign Material ID and Show in Viewport to have visual response in the viewport. Because I wanted to the materials to cycle I selected cycle and entered 4 in the sub-materials type in. You should position the node UNDER the shape instance node other wise an applied material to the shape instance master will override your material static!


< previous page continued on next page >

1 | 2 | 3 | 4
Related Tutorials

Texturing The Ship Interior - Image Breakdown

by Richard Tilbury
published on 2009-12-09

Keywords: scene, ship, interior, texturing, max,

rating star fullrating star fullrating star fullrating star fullrating star none (4)
Comments 1 Views 23993

Fluid Particle tutorial

by Kashif Riley
published on 2009-12-09

Keywords: fluid, particle, softimage, xsi,

rating star nonerating star nonerating star nonerating star nonerating star none (0)
Comments 0 Views 58298

Making Of 'Sebulba'

by Joseph Szabos
published on 2009-06-22

Keywords: character, creature, sebulba, modeling, max,

rating star fullrating star fullrating star nonerating star nonerating star none (1)
Comments 0 Views 65987

Global Illumination for the Beginner

by Rick Timmons
published on 2009-06-16

Keywords: global, illumination, beginner, max, lighting,

rating star fullrating star fullrating star fullrating star halfrating star none (6)
Comments 1 Views 165967
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment..