musicien / compositeur / développeur multimedia

Forum

 
This Forum is Currently Locked – Access is Read Only
Current User: Guest Login
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

object drag recognition

Add a New Topic Reply to Post
UserPost

15:43
10 mars 2009


ke10

Guest

Post edited 21:04 – 10 mars 2009 by ke10


Would it be possible to add an option for the way certain objects react to touches, so that we don't necessarily have to touchdown on the oject for the object to react if we drag our finger over it?

I'll explain: i'm making a step sequencer using textbuttons as step toggles. right now I have to touch each button individually to turn them on or off. It would be nice if I could just drag my finger accross them and draw a line on or off, in a series with just one touchdown + drag.

I know I could do it myself using the original bpatcher functionality you had described in the earlier versions (before bpatcher was fully supported). but this would require some inelegent patching. it would be better and easier to implement if it was on the object level (paerhaps just an argument we could add to the object in question.)

thanks

ke10

16:40
10 mars 2009


admin

Admin

posts 49

I completly agree that this could be very useful…
but : with the way MMF actually works, testing the position of each updateCursor message (when draging a finger on the touchscreen) (= looking up in a coll if there is an object at finger pos) would be probably very cpu consuming…

+ another problem : we then would need to specify if an object "capture" the cursor or not ; and as it's not possible to add attributes in standard max UI object's inspectors, from where should we set this special added attribute ? 
that would mean adding a "multitouch properties editor" somewhere to configure UI objects…

 so :

for the moment, I would advise doing this kind of thing in a bpatcher (or use objects that actually support this kind of interaction : multislider / matrixctrl..)

M

17:28
21 mars 2009


ghostandthemachine

Member

posts 9

Hi all,

i had the same issues when creating a step sequencer and though i might share a quick fix solution.

They way worked around the drag, and still used text buttons to visually display the step sequence, was to create a transparent matrix control on top of the text button arrays. With the new versions of MMF dragging IS supported and there for can be used to control the buttons beneath. Additionally, the easiest way is to use a matrix object by itself, which you can edit graphics to look cooler.

As for the drag over seperate objects, I agree it might be a dificult to have be a fluid interfacing method, but I think the p cursor-to-object patch does give a current object to cursor update, but sends it on an addCursor or something. (I might be mixed up so I appologise if I am incorrect about the exact method)

Off the top of my head, it seems like cursor dragging over multiple objects could be done by using something like a zl change to bang the object input update when the object name comming out of the cursor_to_object changes, instead of when an addCursor is matched.

I have been messing with a multitouch editor control which allows you to open an edit mode and create, scale, move, and route new objects as well as change their appearence. It might not be the mode useful tool but I personally want to be able to creat interfaces live in performance so it is a fun project; hence my thoughts on using the cursor to object info..

Jon


Reply to Topic:
object drag recognition

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 12
   


About the Mathieu Chamagne Forum

Most Users Ever Online: 34

Currently Online:
4 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 6
Topics: 56
Posts: 138

Membership:

There are 15 Members
There have been 41 Guests

There is 1 Admin

Top Posters:

ghostandthemachine – 9
alp – 6
lossius – 2
davidestevens – 2
deenasharonn – 1

Recent New Members: deenasharonn, davidestevens

Administrators: admin (49 Posts)



 

»crosslinked«