Find Target -> Particles


#21

The DVD will be targeted at people like you who know enough (intermediate level) PFlow but do not script much. From my point of view, it is an introduction into scripting Particle Flow, so it covers the basics. So I tried to keep it simple. Some math knowledge wouldn’t hurt though. My “The Matrix:Explained” DVD would be a good companion.

Now to your problem - yes, you fire the rockets over multiple frames, and the trails of the first rocket “eat up” your IDs. The simplest solution would be to give birth to all your rockets on frame 0, then keep them invisible in the initial event and “fire” them by using an Age Test or something like that (a Script Test could also be used for more controlled firing). Thus, the rockets would always get the first N IDs, then you can spawn at your heart’s will. Note that you can assign local Render operators to make particles invisible to the renderer in specific events.

The scripted alternative would be to use a Script Operator which initializes and increments a global “rocket launcher” counter and writes the rocket’s number into its Script Integer channel. So instead of using the ID, you would be handing out the numbers and use the Script Integer channel of each particle inside the targeting Script Operator to decide which asteroid to attack. In addition, you could generate RANDOM values to store in the Script Integer channel based on the amount of asteroid particles, so you could have multiple rockets targeting the same asteroid (if desired), or any other special decisions like “never target asteroid 3” and so on. But this is more complicated and requires a bit of scripting knowledge, so try the first approach first…


#22

Great - Hope it’s released soon :slight_smile:

And, I’ll go for the first approach and mess around to see if I can get the results I want :slight_smile:

Thanks again for great help!


#23

Hi Bobo,

When will your DVD be released? Any chances to order it in advance?

Looking forward to it.

-Jignesh


#24

It looks like it will be the first title by CG-Academy to be released as a downloadable tutorial. So in the beginning it won’t be a DVD technically speaking. But you don’t have to order in advance, as you would be able to buy it online and download it immediately the day it is released.

I finished “principal recording” in August. It needs to be edited into the final product which includes illustrations, transitions, menus and so on. So I cannot really tell when it will be out. It is mostly up to CG-Academy from now on. Keep your eyes open for posts by Chris Thomas…


#25

Thanks bobo for the information. I look forward to it.

Hope to get it this “Diwali”(Hindu’s new year) in November… :slight_smile:


#26

see in november :slight_smile:


#27

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.