Hello.
I started to work with Woden. Unfortunately I cannot find the interaction I need. Does RWoden has the interaction as popup, highlighting and menu activating? Best regards, Natalia _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I am not sure about this.
In the previous version of Roassal3D we had this. In the version based on Woden we do not have it. Give me a bit of time to evaluate this. Having popup is essential. Which highlighting do you need? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On May 12, 2015, at 11:27 AM, Natalia Tymchuk <[hidden email]> wrote: > > Hello. > I started to work with Woden. Unfortunately I cannot find the interaction I need. > Does RWoden has the interaction as popup, highlighting and menu activating? > > Best regards, > Natalia > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I think that some roassal parts can be unified both to reduce the code publication and define some kind of common interface.
For example there there are mouse and key event classes for RT, R3, RW, they can be unified, as they have nothing special to do with the different frameworks. Also the Traits with a common protocol can be introduced. Despite the different implementations all elements should understand #translateTo: for example. Having this defined in a trait as an explicit requirement can help to have a clearer view on the design. Because despite being similar, all roassal versions implement different protocols, and I think that this is not because of design decisions, but because someone needed that specific shortcut/functionality while developing in a certain version of roassal. Uko > On 12 May 2015, at 18:48, Alexandre Bergel <[hidden email]> wrote: > > I am not sure about this. > In the previous version of Roassal3D we had this. In the version based on Woden we do not have it. > > Give me a bit of time to evaluate this. Having popup is essential. > > Which highlighting do you need? > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > >> On May 12, 2015, at 11:27 AM, Natalia Tymchuk <[hidden email]> wrote: >> >> Hello. >> I started to work with Woden. Unfortunately I cannot find the interaction I need. >> Does RWoden has the interaction as popup, highlighting and menu activating? >> >> Best regards, >> Natalia >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
I want to be able to highlight an element with a desired color when hovering over it. In general I need this:
el @ (RTPopup new text: #rmozaikLabel) el @ (RTHighlightable new highlightedColor: (Color red alpha: 0.3)). el @ (RTMenuActivable new action: #inspect; item: 'browse class' action: [ :e | e model browse ]). Kind regards, Natalia > On 12 May 2015, at 18:48, Alexandre Bergel <[hidden email]> wrote: > > I am not sure about this. > In the previous version of Roassal3D we had this. In the version based on Woden we do not have it. > > Give me a bit of time to evaluate this. Having popup is essential. > > Which highlighting do you need? > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > >> On May 12, 2015, at 11:27 AM, Natalia Tymchuk <[hidden email]> wrote: >> >> Hello. >> I started to work with Woden. Unfortunately I cannot find the interaction I need. >> Does RWoden has the interaction as popup, highlighting and menu activating? >> >> Best regards, >> Natalia >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Natalia,
In the last version of Woden, you will find the popup and the highlight. Consider the following example: =-=-=-==-=-=-==-=-=-= v := RWView new. es := ((RWCube new size: 1)) elementsOn: (1 to: 16). es @ RWPopup. es @ (RWHighlightable highlight: [ :vv | | arr | arr := OrderedCollection new. arr add: vv - 1. arr add: vv. arr add: vv + 1. arr add: vv - 4. arr add: vv + 4. arr]). RWXYGridLayout on: es. v addAll: es. v =-=-=-==-=-=-==-=-=-= Let us know how it goes! Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On May 12, 2015, at 12:53 PM, Natalia Tymchuk <[hidden email]> wrote: > > I want to be able to highlight an element with a desired color when hovering over it. In general I need this: > > el @ (RTPopup new text: #rmozaikLabel) > el @ (RTHighlightable new highlightedColor: (Color red alpha: 0.3)). > el @ (RTMenuActivable new > action: #inspect; > item: 'browse class' action: [ :e | e model browse ]). > > Kind regards, > Natalia > >> On 12 May 2015, at 18:48, Alexandre Bergel <[hidden email]> wrote: >> >> I am not sure about this. >> In the previous version of Roassal3D we had this. In the version based on Woden we do not have it. >> >> Give me a bit of time to evaluate this. Having popup is essential. >> >> Which highlighting do you need? >> >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >>> On May 12, 2015, at 11:27 AM, Natalia Tymchuk <[hidden email]> wrote: >>> >>> Hello. >>> I started to work with Woden. Unfortunately I cannot find the interaction I need. >>> Does RWoden has the interaction as popup, highlighting and menu activating? >>> >>> Best regards, >>> Natalia >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Uko2
Hi Yuriy!
I see your point, and it does make sense. We will seeā¦ We started to reuse code Cheers, Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by abergel
It is really nice, but you forgot to add to WDColor the method #asWDColor.
By the way are you planning to add menu like it was in roassal el@(RTMenuActivable new action: #inspect; item: 'browse class' action: [ :e | e model browse ]). Best regards, Natalia > On 13 May 2015, at 03:38, Alexandre Bergel <[hidden email]> wrote: > > Hi Natalia, > > In the last version of Woden, you will find the popup and the highlight. Consider the following example: > > =-=-=-==-=-=-==-=-=-= > v := RWView new. > es := ((RWCube new size: 1)) elementsOn: (1 to: 16). > es @ RWPopup. > es @ (RWHighlightable highlight: [ :vv | | arr | > > arr := OrderedCollection new. > arr add: vv - 1. > arr add: vv. > arr add: vv + 1. > arr add: vv - 4. > arr add: vv + 4. > arr]). > > RWXYGridLayout on: es. > v addAll: es. > v > =-=-=-==-=-=-==-=-=-= > > Let us know how it goes! > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > >> On May 12, 2015, at 12:53 PM, Natalia Tymchuk <[hidden email]> wrote: >> >> I want to be able to highlight an element with a desired color when hovering over it. In general I need this: >> >> el @ (RTPopup new text: #rmozaikLabel) >> el @ (RTHighlightable new highlightedColor: (Color red alpha: 0.3)). >> el @ (RTMenuActivable new >> action: #inspect; >> item: 'browse class' action: [ :e | e model browse ]). >> >> Kind regards, >> Natalia >> >>> On 12 May 2015, at 18:48, Alexandre Bergel <[hidden email]> wrote: >>> >>> I am not sure about this. >>> In the previous version of Roassal3D we had this. In the version based on Woden we do not have it. >>> >>> Give me a bit of time to evaluate this. Having popup is essential. >>> >>> Which highlighting do you need? >>> >>> Alexandre >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>>> On May 12, 2015, at 11:27 AM, Natalia Tymchuk <[hidden email]> wrote: >>>> >>>> Hello. >>>> I started to work with Woden. Unfortunately I cannot find the interaction I need. >>>> Does RWoden has the interaction as popup, highlighting and menu activating? >>>> >>>> Best regards, >>>> Natalia >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> It is really nice, but you forgot to add to WDColor the method #asWDColor.
Strange, it is defined in Woden-Core. Do you see it? > By the way are you planning to add menu like it was in roassal > el@(RTMenuActivable new > action: #inspect; > item: 'browse class' action: [ :e | e model browse ]). I have just included this: -=-=-=-=-=-=-=-=-=-= classes := RTObject withAllSubclasses. v := RWView new. n := RTMultiLinearColorForIdentity new objects: classes. shape := RWUVSphere new size: [ :c | (c numberOfMethods / 100) + 1 ] ; color: [ :cls | (n rtValue: cls) asWDColor ]. es := shape elementsOn: classes. es @ (RWMenuActivable new action: #inspect; item: 'browse class' action: [ :e | e model browse ]). v addAll: es. RWCubeLayout on: es. v -=-=-=-=-=-=-=-=-=-= You need to update Woden-Roassal. Let us know how it goes Cheers, Alexandre > > Best regards, > Natalia > >> On 13 May 2015, at 03:38, Alexandre Bergel <[hidden email]> wrote: >> >> Hi Natalia, >> >> In the last version of Woden, you will find the popup and the highlight. Consider the following example: >> >> =-=-=-==-=-=-==-=-=-= >> v := RWView new. >> es := ((RWCube new size: 1)) elementsOn: (1 to: 16). >> es @ RWPopup. >> es @ (RWHighlightable highlight: [ :vv | | arr | >> >> arr := OrderedCollection new. >> arr add: vv - 1. >> arr add: vv. >> arr add: vv + 1. >> arr add: vv - 4. >> arr add: vv + 4. >> arr]). >> >> RWXYGridLayout on: es. >> v addAll: es. >> v >> =-=-=-==-=-=-==-=-=-= >> >> Let us know how it goes! >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >>> On May 12, 2015, at 12:53 PM, Natalia Tymchuk <[hidden email]> wrote: >>> >>> I want to be able to highlight an element with a desired color when hovering over it. In general I need this: >>> >>> el @ (RTPopup new text: #rmozaikLabel) >>> el @ (RTHighlightable new highlightedColor: (Color red alpha: 0.3)). >>> el @ (RTMenuActivable new >>> action: #inspect; >>> item: 'browse class' action: [ :e | e model browse ]). >>> >>> Kind regards, >>> Natalia >>> >>>> On 12 May 2015, at 18:48, Alexandre Bergel <[hidden email]> wrote: >>>> >>>> I am not sure about this. >>>> In the previous version of Roassal3D we had this. In the version based on Woden we do not have it. >>>> >>>> Give me a bit of time to evaluate this. Having popup is essential. >>>> >>>> Which highlighting do you need? >>>> >>>> Alexandre >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>>> On May 12, 2015, at 11:27 AM, Natalia Tymchuk <[hidden email]> wrote: >>>>> >>>>> Hello. >>>>> I started to work with Woden. Unfortunately I cannot find the interaction I need. >>>>> Does RWoden has the interaction as popup, highlighting and menu activating? >>>>> >>>>> Best regards, >>>>> Natalia >>>>> _______________________________________________ >>>>> Moose-dev mailing list >>>>> [hidden email] >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>> >>>> >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi.
I found strange behavior of interaction. After rotating the camera highlighting is not working until I press one of movement keys. It can be seen on this example: classes := RTObject withAllSubclasses. v := RWView new. n := RTMultiLinearColorForIdentity new objects: classes. shape := RWUVSphere new size: [ :c | (c numberOfMethods / 100) + 1 ] ; color: [ :cls | (n rtValue: cls) asWDColor ]. es := shape elementsOn: classes. es @ (RWHighlightable new highlightedColor: (Color red)). v addAll: es. RWCubeLayout on: es. v Also sometimes for my system highlighting works wrong - it highlights only some pieces. But, I cannot reproduce this with example. Does anybody know what is the problem and how to fix it? Best regards, Natalia _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Natalia,
> I found strange behavior of interaction. After rotating the camera highlighting is not working until I press one of movement keys. This is due to a change I introduced a couple of days ago in order to reduce the CPU load. I have a pretty good idea on how to fix this. Give me a few days (I am traveling right now). Alexandre > It can be seen on this example: > > > classes := RTObject withAllSubclasses. > v := RWView new. > n := RTMultiLinearColorForIdentity new objects: classes. > shape := RWUVSphere new size: [ :c | (c numberOfMethods / 100) + 1 ] ; color: [ :cls | (n rtValue: cls) asWDColor ]. > es := shape elementsOn: classes. > es @ (RWHighlightable new highlightedColor: (Color red)). > v addAll: es. > RWCubeLayout on: es. > v > > Also sometimes for my system highlighting works wrong - it highlights only some pieces. But, I cannot reproduce this with example. Does anybody know what is the problem and how to fix it? > > > <Screen Shot 2015-05-25 at 22.39.17.png><Screen Shot 2015-05-26 at 07.39.35.png> > > > Best regards, > Natalia > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi, Alex.
Thanks. Enjoy your trip) Best regards, Natalia > On 29 May 2015, at 17:32, Alexandre Bergel <[hidden email]> wrote: > > Hi Natalia, > >> I found strange behavior of interaction. After rotating the camera highlighting is not working until I press one of movement keys. > > This is due to a change I introduced a couple of days ago in order to reduce the CPU load. I have a pretty good idea on how to fix this. Give me a few days (I am traveling right now). > > Alexandre > > > >> It can be seen on this example: >> >> >> classes := RTObject withAllSubclasses. >> v := RWView new. >> n := RTMultiLinearColorForIdentity new objects: classes. >> shape := RWUVSphere new size: [ :c | (c numberOfMethods / 100) + 1 ] ; color: [ :cls | (n rtValue: cls) asWDColor ]. >> es := shape elementsOn: classes. >> es @ (RWHighlightable new highlightedColor: (Color red)). >> v addAll: es. >> RWCubeLayout on: es. >> v >> >> Also sometimes for my system highlighting works wrong - it highlights only some pieces. But, I cannot reproduce this with example. Does anybody know what is the problem and how to fix it? >> >> >> <Screen Shot 2015-05-25 at 22.39.17.png><Screen Shot 2015-05-26 at 07.39.35.png> >> >> >> Best regards, >> Natalia >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |