particle flow using text

Post on 13-Jan-2016

49 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Particle Flow Using TEXT. Start new project with text. Select Create, Shapes, Text. Make two different text groups remember you have to select text between words or letters.(first letter). Click on background in view port For text to appear. Second letter. - PowerPoint PPT Presentation

TRANSCRIPT

Particle Flow Using TEXT

Start new project with text. Select Create, Shapes, Text

Make two different text groupsremember you have to select text between

words or letters.(first letter)

Click on background in view port For text to appear

Second letter

We need to add thickness and segments. Select both letters by drawing a box around both letters

using the select tool

Select modify and from the modifiers dropdown list select extrude.

Select extrude

Set Amount = 6Set segments =12

Time to build Particle FlowPress the number six on your keyboard and the

box below will appear

In the box below we will assemble the flow

Flow diagram Properties

Building Blocks for the diagram

Starting out we will need an empty flow. Drag from the bottom and place in the top

Click on PF Source. In the properties box scroll up until you see viewport. Change to 100

Add a birth by dragging it up form the bottom

Link the two boxes. Drag from the blue dot down to the circle

Click on birth. In the properties box change emit stop to 0 and amount to 2000

Add Position object. Drag from the bottom. When the bottom of the box turns blue

release the mouse button

Position Object is now attached.

We are going to turn the A into a B

Select position object. In the properties box select add then click on the B in the view port. It should look like it is covered with

particles

Add Script Operator just like you added the Position Object

Select Script Operator. In the properties box select edit script

Start below on Channels Used pCont do and highlight to (Next slide)

on Release pCont do. Then delete.

You should end up with this.

Between on ChannelsUsed pCont do and on Release pCont do add the

following line of code. Remember this is coding and has to be typed exactly as

it is here go to next side for code

Code( pCont.useVector = true pCont.usePosition = true) on Init pCont do ( )on Proceed pCont do (count = pCont.NumParticles()

for i in 1 to count do(pCont.particleIndex = i pcont.particleVector = pCont.particlePosition

))

You should end up with this

Click on the upper right hand corner to close script editor. If you get and error

something is worn with your code check it again

Add Send Out. Drag from the bottom

Add a display. Right click on the gray background select New, Misc. Event,

Display.

You should end up with this.

Link event 001 to event 002 by dragging from the blue dot to the circle

Add Position Object and Find Target by dragging from the bottom

Select Position Object. In the properties box select add and click on

the A

Select find target. In the properties box select Mesh Objects and then select

add. Click on the B

Move your time bar and watch the particles move from A toward B

Add Speed. Right click in the grey area. Select New, Operator Event, Speed.

You should end up with this.

Connect Event 002 to Event 003 by dragging from the blue dot to the circle

Select Speed. Set speed to 0

It should work

top related