complex Polygon shape question

antitoyz's icon

Hi everybody . I try desperatly to recreate this:

I want to control the number and the "highness" of angle.
Do you understand me ?
I 'm a little bit lost . I can't succes to do this from the Jitter example or tutorials, but if i missed something , I expect you to tell me what.

Should I use Gen ? what kind of object(grid shape? mesh?) ? I don't know how to use jitter's tutorials to recreate this .

I don't want you to do it for me.. . But I need some advise.
I hope you can help me and "show me the way".

greetings, Moté.

4028.432221109af3a8dfc996f2d131198eae.jpg
jpg
Rob Ramirez's icon

hello. you will probably want to use jit.gl.mesh for something like this.
you provide the gl.mesh object jitter matrices containing vertex and normal data for each point of the mesh (and other optional types of data as well).

you can use jit.gen to create these matrices, but it's certainly not a requirement.

check out the gen patch-a-day posts and the jitter-gen example patches for some examples of using jit.gen to generate and process geometry matrices.

antitoyz's icon

I will do that, and then post the patch, thank you.

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

here's a very basic example to get you started:

antitoyz's icon

here is what I have . the shatter thing is not effective right now because I suppose my problem is the base shape.

Your exemple is instructive but I don't succed to put in the matrix vertex data of individual points.

here is the "shape engine" but I going in the wrong way .
I have use gen because I thought it could be less complicated .
But it's definatly not the way to go .(with my litle experience)

Max Patch
Copy patch and select New From Clipboard in Max.

thank you for helping me . (And I hope to be "understandable")