thesis with jitter!! (need help!)

tissi_88's icon

Hi everybody!
I'm new to jitter but I have to solve a problem:

I drew a sphere using the jit.gl.render and jit.gl.gridshape objects.
I need to input in the same drawing some point giving them spatial coordinates....

How can I do that?
it's very important for me cause I can't go straight on with my thesis work...

thanks!!

glBeatriz's icon

I don't think I understand what you want to do exactly. What kind of point you need? Inside or outside the sphere? you need to draw it as a point? Please post your patch so we can help you further.

tissi_88's icon

The points must be on the surface of the sphere or in it,they simulate some speakers wich can be moved. The sphere simulates the space in wich the speakers are.

1665.Cupola.maxpat
Max Patch
cap10subtext's icon

I recommend the Cosm objects. This is practically done for you in the examples and you can set it up to work with your specific speaker configurations.

Hope this helps.

tissi_88's icon

thank's for help!

actually I'm not able to use Cosm object but I'll try to use it!
...what I need to do is something like the image attached...I have to control speakers position but I need to have a visual feedback of it...hope I explain better!

1683.SpeakersSpace.JPG
JPG
MIB's icon
Max Patch
Copy patch and select New From Clipboard in Max.

have you seen this patch (did a simple search to find it)?
it's from this thread https://cycling74.com/forums/random-points-on-a-sphere and was contributed by Zachary Seldess

tissi_88's icon

Hi, thank's, i haven't seen it before!

but...i need to give points an exact position on sphere's grid (through coordinates), not a sum of random points on it...!

Rob Ramirez's icon

how are you planning to control the placement of the red circles on the sphere surface?

MIB's icon

I have to admit that I didn't look into the example in detail, but I figured since you are learning how to do this it stands to reason that once you know and understand how you can place them randomly on the sphere you should be able to figure out a way to do it in any location... good luck!

Zachary Seldess's icon

Hi tissi_88,

This might help get you started. You'll need to download the attached abstraction for it to work.

best,
Zachary

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

1695.z.3Dpoltocar.maxpat
Max Patch
tissi_88's icon

thank you very much!!!!

tissi_88's icon

Hi everybody!
is there a way to do something like a button in the patcher that add a "point" just clicking on it?

Timo Rozendal's icon

add a point where? you can do something like that with lcd (or the jitter variants of it)