Forums > Gen

[sharing is ... inky] gen particles

November 12, 2012 | 1:10 am

This patch lets you make inky particles around edges of image.

– Pasted Max Patch, click to expand. –

more info:

http://www.itaru.org/ilog/2012/11/12/inky-particle/


November 13, 2012 | 12:23 am

Hi Itaru,
This is a fantastic patch. Been playing with it for a bit. Beautiful! I think you win the prize for most jitter gen objects in a single patch.


November 13, 2012 | 10:11 am

very comprehensive and good to learn (& understand) Gen

tnx for sharing!


November 14, 2012 | 4:52 pm

Very nice patch, thank you. FYI The [qmetro 10] seemed too demanding for my older Macbook pro – rendering max totally unresponsive, so I increased the metro interval to 30. It still seems to work ok at this lower rate.


November 15, 2012 | 10:07 am

Smith,
Thank you. Actutally Gen is really fun and the patch owe much to cycling74′s tutorial especially the recipe from Andrew!

Vjacobs,
Thanks I’m glad you liked it!

Spectro,
Thank you for the info. yeah I knew the patch is kind of peaky ;)


November 20, 2012 | 2:41 am

Whenever I click the toggle on for playing, Max 6 crashes. I did see the particle effects, but Max freezes and it does allow me to adjust any parameters.


November 20, 2012 | 2:48 am

@Cheng Chien-Wen: Regarding the freezing, this sounds like the same problem I had and described earlier in this topic – in which case Max isn’t strictly crashing but becoming bogged down and totally unresponsive. The ‘fix’ was to change the [qmetro 10] in the left side of the main window to [qmetro 30] (or possibly even greater, depending on your machine).


January 4, 2013 | 6:59 pm

thank you Itaru


January 24, 2013 | 5:44 am

Hi Itaru

just a question, when you convert a matrix to a plane, do you actually remove the z axis? i see many lines when I set the mesh into lines mode, is it posible to just draw points in gl environment? I want the same result visually as your patch but without those unknown lines…. would you help pls? many thanks

L


January 24, 2013 | 9:02 pm

Hi, In "matrix_converter" subpatch, I’m not removing z axis value. I’m just not using/providing z axis value as I only need x y value to draw 2D points. I’m not fully sure what you want but if you want to draw only points. You should just stay "jit.gl.mesh @draw_mode points" then you won’t get any line. Sample is below. Hope it helps.

– Pasted Max Patch, click to expand. –

January 24, 2013 | 9:14 pm

Hi Itaru

No….. sorry I didn’t make myself clear, the purpose I want is to "xfade" those point style mesh composed by your converter with other noise particles, but I found you give those point "100" value for x1 and y1 attribute in the gen patch, you just put them far away from the window, so in other words, they are not pure points and they will cause massive influence to my "xfade" process (those 100 value dots comes back from far behind when I xfade it)

so I am asking how to remove those "lines" and just to keep purely points in the GL environment? I can do point mesh but I want transparency, your patch seems do the job closely.

I hope my explanation works this time…thank you!

L


January 24, 2013 | 9:20 pm

sorry I mean x0 y0 in the your converter gen patch, right now x0 n y0 are both 100.

btw, is it matters to this line:

// if in1 value = 1 then set x1,y1 else set x0,y0


January 24, 2013 | 10:56 pm

Have you tried this?

– Pasted Max Patch, click to expand. –

the matrix converter intend to create mesh position only on the edge of image. That’s why I gave the value 100 to x0 and y0.

These two line do the job.
xval = in1 ? x1 : x0;
yval = in1 ? y1 : y0;
The line "// if in1 value = 1 then set x1,y1 else set x0,y0" is just comment explainging the two line’s process.


January 25, 2013 | 1:10 am

Hi Itaru

Thanks for the reply, yes, I’ve tried this too, but you will have edge of the mesh, which is not what I want.

What I intend to do is to transform an image into a mesh (like what your patch does now) with shape or edge, not a square, that’s what i meant by "transparency", then I wanna make it xfade with other particles or jit.noise.

Please try this patch and import the png along with it, then switch the mesh draw mode to points, thats the effect i want visually.
Then please switch the mesh draw mode to lines, then you will see those weird line coming from the dots, thats something i don’t want, can you try to make each lines

2nd patch indicate the "1 plane" points, how to make "1 plane" dots align with particularly shape? like your patch do? also I found you CAN NOT see lines under line mode when I am applying 1 plane jit.noise to mesh.

or I can just do it by importing obj to jit.gl.model then matrixoutput it to a mesh, but your way seems smarter and I wanna learn gen too.

Many thanks

L



FP
January 25, 2013 | 11:14 am

Really good. thx a lot.


January 25, 2013 | 11:55 am

L, ok, this will be my last reply. try the patch below. again, you just don’t need to use draw mode line. if you really need to use line-mode for any reason then you have to create proper value for line-mode which unfortunately I don’t know how to do… good luck!

– Pasted Max Patch, click to expand. –

March 24, 2013 | 9:50 am

adding a jit.window next to the jit.pwindow was alot of fun! it had some nice variations


Viewing 17 posts - 1 through 17 (of 17 total)