automatic 0 does not remove the origianl

Jul 3, 2010 at 7:04am

automatic 0 does not remove the origianl

I made a particle patch with jit.gl.multiple, but failed to get rid of the original shape by setting “automatic” to 0 for jit.gl.gridshape. I was wondering if there is some error in my patch. Please help.

Thank you so much.

#51180
Jul 3, 2010 at 2:16pm

Hello Cheng Chien-Wen,

i didn’t investigate so much, but IMHO :

that’s not a problem with “automatic 0″ ;

you simply send lots of zeros to your [jit.gl.multiple] so it seems you have the original but in fact it draws what you are asking to draw ;-)

f.e. just changing [jit.matrix] size :

– Pasted Max Patch, click to expand. –

I hope to be right …

#183533
Jul 4, 2010 at 2:22am

I have another patch of particles (from Jitter reference) that does not uses jit.gl.multiple, and the matrix size is set to 1000 * 2. (See the attachement)

Does that mean that I will have to reduce the matrix size because I am using jit.gl.multiple ?

Thank you so much.

#183534
Jul 4, 2010 at 8:14am

Hello maxer,

NO : problem is not [jit.gl.multiple] nor [jit.matrix] size : problem is there is no problem at all in your patch ;-)

I’m not a vishnu/shiva expert but if you are emitting 50 particles per cycle in a 1000 long matrix with a short life, hundreds are still zero and then you ask [jit.gl.multiple] to draw them !!!

f.e. @emit 1000 :

– Pasted Max Patch, click to expand. –
#183535
Jul 4, 2010 at 4:22pm

Hi, Olives

Thanks for the patch. It looks better than the patch I posted.

But I still don’t quite understand what you mean by “if you are emitting 50 particles per cycle in a 1000 long matrix with a short life, hundreds are still zero and then you ask [jit.gl.multiple] to draw them !!!”.

According to the help file of jit.p.shiva:
“Emit” decides the maximum particles emitted per frame.
The first dimension of the matrix represents the number of particles (per cycle ?).

I can’t figure out how these two parameters affect each other mathematically.
Could you explain more ?

Thanks.

#183536
Jul 5, 2010 at 6:33am

Hello maxer,

i have never used [jit.p.vishnu] nor [jit.p.shiva] ; so i can’t really teach you ; but this simple test patch may help you to understand :

– Pasted Max Patch, click to expand. –
#183537

You must be logged in to reply to this topic.