Hello, I was wondering whether it’s possible to address individual points on a sphere to change or display something at that point. For example, if you have 72 columns and 15 rows, can you address i.e. point 46,7?
It depends how you want to address it. You can specify the point index in the Point SOP to change only that one point. If you want to use python there is a syntax in the Script SOP as well. Can you give a more concrete example of what you are aiming for?
Thank you Malcolm.
I have a project in Ableton Live that plays a tuning system based on a 3D sphere where the notes that are being played relate to points on a sphere. I would like to highlight the points that are actively being played to illustrate the shapes that are being formed by the music. Each MIDI channel relates to a row and each note being played relates to a column. In looking at the Point SOP documentation I don’t see how I can directly address a point on the sphere to, for example, change it’s color. I’s also like to draw lines between points that are actively being played. I would be happy to use python or any method that you think would be the most efficient. Could you show me what the syntax or script command would look like or how to form the point index? Maybe a screenshot or something? Thank you for any help!!!
On the Points parameter page for the Point parameters I see a Group category position that I assume is the position for Group 0. Do I need to create a group for every point on the sphere to address it? How do I update the point position and how do I change the color of each point in a program?
Can you show me how I can change these values to address every column and row point position?
Any help is most appreciated, thanks!
I was able to create a geometry from a python script and to interactively set color characteristics of the points based on and OSC in MIDI note messages, but like others I found that I was missing messages through the Parameters input pages using the op.par.Note.eval() mechanism. When I added the OSC In DAT I found that I could get all the messages in but how should I feed them to my script SOP? Through a table or a dictionary entry or is there a way to directly pass the values into my script program?
Sorry if this is a basic question, I am fairly new to TD and Python and don’t quite get how to connect differently classes of operators/classes together efficiently.
Any help is most appreciated!!!
I would have a look at Extensions – you can define one for your parent component (i.e. a Base comp) and have both the Script SOP and the OSC callback calling promoted functions, which would allow them to both communicate within a common context.