Keep up-to-date with Free tutorials!!

 

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

 

- 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'

By Anselm v. Seherr-Thoß aka PsychoSilence
| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(0 Votes)
| 17566 Views
| 0 Comments
| Comments 0
Date Added: 16th June 2009
Software used:
3ds Max, Misc

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.AddParticle()
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
 
546_tid_shape_instance.jpg


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!

546_tid_material.jpg




< previous page next page >
 
1 | 2 | 3 | 4
Related Tutorials

Tutorial

Gallery Image.



Keywords: explosion, smoke, particle, technique,

Go to tutorial
rating star fullrating star fullrating star fullrating star halfrating star none (12)
Comments 0 Views 67068

Tutorial

Gallery Image.



Keywords: advanced, particles, glu3d, teapot, animation,

Go to galleries 1
rating star nonerating star nonerating star nonerating star nonerating star none
Comments 0 Views 14788

Tutorial

Gallery Image.



Keywords: linear, workflow, formats, gamma,

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 7 Views 48539

Tutorial

Gallery Image.



Keywords: Tutorial, ZBrush, 3ds Max, Male, Character, Sculpting, Modeling

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star half
Comments 2 Views 20777
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment