Boids Algorithms and lists

Jan 24, 2007 at 1:08pm

Boids Algorithms and lists

I’m using the Boids algorithms objects by Eric Singer (from http://www.ericsinger.com/cyclopsmax.html), and I’m having trouble using the numbers that the objects produce. When they output the co-ordinates of the flocking objects, they come out in a list format, so when they’re sent to the Max Window via Print the arrive as

print: 12
print: 8
print: 12
print: 34

in the format X1, Y1, X2, Y2 and so on and so forth. What I’d really love is these numbers in the format that I could use with the unpack object or something, such as

print: 12 8 12 34

I’ve tried using spray and various other objects (listfunnel, funnel, zl and similar), but none of them really work.

Any help is appreciated, thanks.

#29907
Jan 24, 2007 at 1:54pm

Ed Schroeder wrote:
> in the format X1, Y1, X2, Y2 and so on and so forth. What I’d really
> love is these numbers in the format that I could use with the unpack

You’re looking for zl.

#94405
Jan 24, 2007 at 1:57pm

Ed Schroeder wrote:
> I’ve tried using spray and various other objects (listfunnel, funnel,
> zl and similar), but none of them really work.

Sorry, I replied too quickly. [zl group] should do it. What about it
doesn’t work?

#94406
Jan 24, 2007 at 1:57pm

Ed Schroeder wrote:
> I’ve tried using spray and various other objects (listfunnel, funnel,
> zl and similar), but none of them really work.

Sorry, I replied too quickly. [zl group] should do the job. What about
it doesn’t work?

#94407
Jan 24, 2007 at 11:20pm

have you ssen the more modern versions of boids andre sier and i made
a while back?
they’re set for 2D or 3D and output the coords in various list-formats.

http://www.maxobjects.com will help you find the most current builds of
boids2d, boids3d, jit.boids2d etc.

/*j

On 24 Jan 2007, at 14:57, dlurk wrote:

> Ed Schroeder wrote:
>> I’ve tried using spray and various other objects (listfunnel, funnel,
>> zl and similar), but none of them really work.
>
> Sorry, I replied too quickly. [zl group] should do it. What about
> it doesn’t work?
>

#94408
Jan 26, 2007 at 11:36am

[zl group] works fine thank you very much, guess I must have missed it first time round, my bad.

#94409

You must be logged in to reply to this topic.