Welcome to %s forums

BrainModular Users Forum

Login Register

global reflexion about items selection

Tell us what you'd like Usine to do
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 15 Dec 2016, 12:07

i think current way objects are selected in usine could need reflexion.

if we consider following exemple: 2 hexagons shapes are aligned one next to one together:

Image

the problem is the way usine actually selec items is by 'surrounding' contening rectangle,
and only one object is focused and processed at a time.
wich makes for exemple here the green area problematic, ie if brighther cell is selected,
clicking the green area won't select the blue one as one would expect.

as a workaround here, i thought i could track mouse XY of container, and bring to top wich shape
is closest to mouse position, so the 'correct' one will be selected.
problem is Container will stop processing XY outputs once mouse is on a cell, or anyting that 'recovers'
it. think this is not conveniant and containers maybe should output datas (mouse dwn, X,Y) as long as mouse is inside of it by logic.

if that was to tricky to do, maybe imagining an 'overlay' transparent object layer (here represented as the pink rectangle) would allows workaround in such situations.

Ive met several cases where it would be handy. for exemple save CPU computation where stuff in a patch will be computated only when mouse is above a set of controls or hilight a 'concerned focus Area'.
hope explain make sense... hard to describe^^

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 15 Dec 2016, 12:26

mm i found a workaround sending the container bmp output to another empty clone for this case, and use the cool 'inside shape' option i had missed.. :)
but think still worth reflexion for other stuff, global easiness

User avatar
senso
Site Admin
Posts: 4425
Location: France
Contact:

Unread post by senso » 21 Dec 2016, 17:41

good news !!

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests