NVil Forum

General Category => Feature Requests => Topic started by: samardac on January 30, 2016, 09:55:06 pm

Title: Selection.
Post by: samardac on January 30, 2016, 09:55:06 pm
Hi IStonia, some requests about selection.

All requests have this settings:
- Switch paint selection from MMB to LMB set to ON
- Swap REPEAT LAST STEP with SELECT AT POINT set to ON
- SL tool is Active

1. We have Replace/Include/Exclude selection commands. So we have to use 3 buttons to make selections. I spent yesterday all day thinking of how to optimize it and elaborate one nice solution we need command - Include/Exclude selection. It will work this way:
If nothing is selected under cursor it will Include selection
If something is selected under cursor it will Exclude selection.
Using this command in conjunction with Clear Selection will give us awaysome result! My config have Clear selection set to RMB Click. So you can make selection practically without shortcuts.

2. Now Paint Selection by default work as Replace selection can you pleas add option: Paint Selection work as Include/Exclude selection(New mode from previous request).


3. Now selection works like:

Selection:

LMB
Without/With Selection Keys - Paint selection

MMB
Without Selection Keys - it is free.
With Selection Keys it works as Simple Click selection. Disable it Pleas! (If we have Paint selection(LMB) we do not need this) We need it to make Gap/Range selection, so leave it as it is.

RMB
Without Selection Keys - Simple Click selection. Disable it Pleas! (If we have Paint selection(LMB) we do not need it.
With Selection Keys -  It is free.

Style Selection:

LMB
With Selection Keys - Simple Rectangle Selection (Works only if you start drag from empty space) Disable it Pleas!

RMB
With Selection Keys - Rectangle Selection Through. Works nice!

RMB
With Selection Keys - Is free. Add pleas to it Simple rectangle selection(Not through).

4. Can you pleas make Paint selection to work in Object mode? So we will have absolutely the same selection conception as we have for Sub Objects.

5. When Object Mode is ON, can you pleas make objects to be highlited when you go with cursor other them? So we will have the same behavior as we have for subobjects. (If you go other subobject with cursor it highlights)
Title: Re: Selection.
Post by: samardac on January 31, 2016, 02:16:49 pm
6. Add Pleas color for Style selection. Now it is white and with light background you can not see it. Also when you make select through it use the dotted line leave it as it is with white color between dots.

7. About - Multy Seelction Disabled on object Mode changed.
It works but vertexes do not deasapers when you change Mode.
For example if Multi Selection is ON you can see vertexes and as soon as you select Sub Object for example Polygon vertexes become hidden. We need the same behavior when we change Mode by shortcut or button.


8. Add pleas color for Vertexes when Multy selection is on. So it will indicate to us that we in Multi Selection mode. If it is hard task leave it.

9. Add pleas option - Alternative Mode Switch.
- When you switch from Polygons to Edges it will perform Edges on Selected Border.
- When you switch from Edges to Polygons it will perform Polygons Inside Edge Selection.



10. Cooplanar Selection do not work with Paint Selection when you run it form Button. Looks like it do not see last selected subobject.

11. Now if there is no object selected you can freely change Subobjects Mods, we have to modify this behaviour this way -  If you are in Object Mode and you have no object selected you can not activate Polygon, Edge or Vertex mods. Only after you selected some object you could do it. Some times it is confusing, for example you are in Object Mode and nothing is selected and you switched to Polygons and can not understand why you can not select objects any more.
[Added]
If you are in Object mode, and you select Spline you only can activate Vertex Mode.


Title: Re: Selection.
Post by: samardac on February 03, 2016, 09:18:01 am
Hay IStonia, can you pleas make this request, I need to go further. We made more than 70% of all things we have to do. There is about month or maximum two to finish all stuff. I started from config for MoI but now it turns into fully functional ideally polished config.
Title: Re: Selection.
Post by: IStonia on February 03, 2016, 09:48:38 am
Please give me some time.
Title: Re: Selection.
Post by: samardac on February 03, 2016, 10:00:34 am
Good not a problem!

Some times I started to worry that something goes wrong and this Config will be not finished :)
It means for me a lot because I decline all my jobs and spent so much time working only on it :)
So sorry if I hurry you, work the way that is comfortable for you.
I just need to know that everything goes good and we will finish it :)
Title: Re: Selection.
Post by: IStonia on February 04, 2016, 09:32:31 am
http://www.digitalfossils.com/Download/NVil-Jan-28-16.ra

Some done. 4, 5, 10.
Title: Re: Selection.
Post by: samardac on February 04, 2016, 09:49:25 am
Thanks!
4. Works nice!
5. Add pleas Option for this.
6. Works partially, if you paint last subobject by pressing Selection Hotkey it will not work.
Check this video:
http://take.ms/VJMDq
Title: Re: Selection.
Post by: IStonia on February 05, 2016, 09:27:34 am
http://www.digitalfossils.com/Download/NVil-Jan-28-16.rar

5. View > Display > Object Highlight Enabled.
6. Edit > Preference > Colors > Misc Colors > Marquee. Marquee selection line color.
7. Fixed.
Title: Re: Selection.
Post by: samardac on February 05, 2016, 09:40:57 am
Thanks, everything working good! I crossed out all finished requests.
Title: Re: Selection.
Post by: samardac on February 05, 2016, 10:05:14 am
IStonia, Switching to another object from Sub Object Mode using LMB+RMB stopped to work when SL tool is Active. it works only when Viewport SL tool is Active.
Title: Re: Selection.
Post by: IStonia on February 05, 2016, 10:18:45 am
When a SL tool is active, if you press down LMB, an action may be performed or an basic streamline gets activated. If you try to use LMB+RMB to select object, the two actions may become conflict with each other. I think you can use selection hotkey to get around it.
Title: Re: Selection.
Post by: samardac on February 05, 2016, 10:27:55 am
Good!
Title: Re: Selection.
Post by: IStonia on February 06, 2016, 08:29:58 am
http://www.digitalfossils.com/Download/NVil-Jan-28-16.rar
1. 2. Edit > Preference > Options > Use keyless contextual selection operator.
Title: Re: Selection.
Post by: samardac on February 06, 2016, 08:43:53 am
Hay IStonia,
What tool I have to use for KeyLess selection I called it Include/Exclude Selection? Request #1?
We have: Include, Exclude, Replace Selection. But I can not find KeyLess Selection.

Title: Re: Selection.
Post by: IStonia on February 06, 2016, 08:47:44 am
Click, Style and paint.
Title: Re: Selection.
Post by: samardac on February 06, 2016, 08:48:39 am
It does not work when SL tool is ON only when it is OFF and viewport SL tool is OFF, that is why I asked for KeyLess selection Tool. Or I miss something?
Title: Re: Selection.
Post by: IStonia on February 06, 2016, 08:56:55 am
There is no way it can work when Viewport SL tool is On.

You can create a streamline tool to hold the selection tools so you can access those selection tools through the streamline tool.
Title: Re: Selection.
Post by: samardac on February 06, 2016, 09:00:47 am
It can work with Replace, Include, Exclude Selection but can not work with Include/Exclude selection (KeyLess Selection)?
My logic is that we have to create new tool - Include/Exclude Selection.
It will temporally enable selection mode and allow us to do our things like it is now with for example Include Selection.
Title: Re: Selection.
Post by: samardac on February 06, 2016, 10:00:20 am
OR, If Use keyless contextual selection operator is ON - Replace Selection will work like KeyLess selection(Automatically Include/Exclude Selection).
So if SL tool is Activated and you run Replace Selection it will allow you to Include selection if subobject is unselected or Exclude selection if subobject is already selected.
I think it is how it should be!
KeyLess selection is great feature!
Title: Re: Selection.
Post by: IStonia on February 06, 2016, 10:25:24 am
http://www.digitalfossils.com/Download/NVil-Jan-28-16.rar

  * Edit > Customize > Tools > Common Modeling Tools > Contextual Selection.
Title: Re: Selection.
Post by: samardac on February 06, 2016, 10:33:32 am
Absolutely crazy stuff!! Many thanks!!!!!
Title: Re: Selection.
Post by: IStonia on February 06, 2016, 08:23:02 pm

3. Now selection works like:

Selection:

LMB
Without/With Selection Keys - Paint selection

MMB
Without Selection Keys - it is free.
With Selection Keys it works as Simple Click selection. Disable it Pleas! (If we have Paint selection(LMB) we do not need this) We need it to make Gap/Range selection, so leave it as it is.

RMB
Without Selection Keys - Simple Click selection. Disable it Pleas! (If we have Paint selection(LMB) we do not need it.
With Selection Keys -  It is free.

Style Selection:

LMB
With Selection Keys - Simple Rectangle Selection (Works only if you start drag from empty space) Disable it Pleas!

RMB
With Selection Keys - Rectangle Selection Through. Works nice!

RMB
With Selection Keys - Is free. Add pleas to it Simple rectangle selection(Not through).



I found it's hard to understand this. There is no RMB for selection in current Nvil behavior.
Title: Re: Selection.
Post by: samardac on February 06, 2016, 08:47:58 pm
Good lets look at it from this point.
I'm offer just simple shortcut optimization.

If we have - Switch paint selection from MMB to LMB set to ON.
Simple Rectangle Selection(Not through) works with LMB drag.
It works only if you start drag from empty space. We can not activate it if cursor is above subobject/object, because it will activate paint selection.
I offer to disable it and move to RMB(drag). RMB(drag) is free and it will allow us to start it not only from empty space but everytime we launch it, no metter if cursor is in empty space or above subobject/object. So if you RMB drag it NVil will perform simple Rectangle selection.


Let me know if you need additional information.
Title: Re: Selection.
Post by: IStonia on February 07, 2016, 06:53:20 am
http://www.digitalfossils.com/Download/NVil-Feb-07-16.rar

 * Edit > Customize > Tools > Common Modeling Tools > Marquee Selection/Marquee Selection(Through). It is used to set the mouse button for marquee selection. This option is removed, Edit > Preference > Options > Switch marquee select through from MMB to LMB.

8. I just leave it. Too complicated.

11. Done.

Title: Re: Selection.
Post by: samardac on February 07, 2016, 08:25:39 am
Great, Many thanks!
I know I'm torturing you but pleas excuse me, I just want to make things perfect. There are some last little steps about Selection we must to finish.

1. Marquee Selection, Loop Selection, Ring Selection, LMB+RMB to switch objects from Sub Object Mode, Pattern Selection have to work in Contextual Mode selection if you run it with with Contextual Selection key or if you have Use keyless contextual selection operator ON. Now only Paint selection works with Contextual Selection.

2. Need to think about it a bit more.
To make SL tools works smooth with buttons we have to make some simple rules.
So when you change Selection Mode:
- If active SL tool is Generic tool, it will be never dropped.
- If active SL tool is Sub Object tool, it will be dropped only when you switch to object Mode.
- If active SL tool is Spline/Vertex/Edge/Poly/Object it will be dropped everytime you switch Selection Mode.

For this we will need this tool - Contextual StreamLine tool Cancel. So I could put it composite tools that switch Mods.


3. If you have Multi Selectio ON, during deselection of polygons NVil keep edges selected. Check this video:
http://take.ms/BaD05

Title: Re: Selection.
Post by: IStonia on February 07, 2016, 08:57:46 am
Great, Many thanks!
I know I'm torturing you but pleas excuse me, I just want to make things perfect. There are some last little steps about Selection we must to finish.

1. Marquee Selection, Loop Selection, Ring Selection, LMB+RMB to switch objects from Sub Object Mode, Pattern Selection have to work in Contextual Mode selection if you run it with with Contextual Selection key or if you have Use keyless contextual selection operator ON. Now only Paint selection works with Contextual Selection.


I think it works with marquee selection already.
Title: Re: Selection.
Post by: samardac on February 07, 2016, 09:33:13 am
Marquee selection with Contextual Selection:

Do not work when (tested with polygons):
- When you Start select from empty Space. (It works like replace Selection but have to work like Contextaul Selection*)
- If you start select being above subobject but selected nothing. It will just drop Selection. But NVil have to do nothing in this situation.

*Also,

Now:
If you start select from selected Subobject everything inside Marquee  will be Excluded from selection.
If you start select from unselected Subobject everything inside Marquee will be Included into selection.

Have to be:
If there are Selected Subobjects inside Marquee they will be deselected.
If there are Deselected Subobjects inside Marquee they will be selected.
Title: Re: Selection.
Post by: IStonia on February 07, 2016, 10:44:39 am

Now:
If you start select from selected Subobject everything inside Marquee  will be Excluded from selection.
If you start select from unselected Subobject everything inside Marquee will be Included into selection.

Have to be:
If there are Selected Subobjects inside Marquee they will be deselected.
If there are Deselected Subobjects inside Marquee they will be selected.

What is "Deselected Subobjects" ?

What is "they"? All the subobjects inside Marquee?
Title: Re: Selection.
Post by: samardac on February 07, 2016, 11:28:58 am
Quote
What is "Deselected Subobjects" ?
Subobjects that is not selected.

Quote
What is "they"? All the subobjects inside Marquee?
So If you have this Marquee Selection(red line):
(https://monosnap.com/file/PMr90IaAuLhVw8sq442ejpg540xQzv.png)

After you releas Mouse button selection will look like this:
(https://monosnap.com/file/iKj1B7iLocqnjZ48HdIihpDP7gNVCm.png)

All subobjects that was selected become unselected and all subobjects that was not selected become selected.
Title: Re: Selection.
Post by: IStonia on February 07, 2016, 11:40:10 am
So it is toggle selection. Right?

Marquee selection with Contextual Selection:

- If you start select being above subobject but selected nothing. It will just drop Selection. But NVil have to do nothing in this situation.

Some people use this to clear selection when using tablets. So I am not going to change it. It is not worth to create an option either.


Title: Re: Selection.
Post by: samardac on February 07, 2016, 02:16:42 pm
Quote
So it is toggle selection. Right?
No it is not toggle selection it works with the same principile like Contextual Paint Selection. I gave you more examples of how it have to works.


Contextual Marquee Selection (Red is Marquee Selection, Selection from Left to Right Window Selection):

From This:
(https://monosnap.com/file/87KCHURQpz9mpVUC52z6TTsG6jHfg3.png)
We will have this:
(https://monosnap.com/file/rzouQQ7pFqDyA0elaIplTPmCNlYnLk.png)

From This:
(https://monosnap.com/file/OFfhOdFnlEwxAt6G3iNyZFFPHmz3Lg.png)
We will have this:
(https://monosnap.com/file/nOSTYwe5ZSo4KXYBAqdmWEV3NeaDLN.png)

From This:
(https://monosnap.com/file/N7Mko8MzIXpdbDLgboIFg2ik2wEYEo.png)
We will have this:
(https://monosnap.com/file/khuhc9GkWBr55j5IEvuan2jpgPAzYy.png)

From This:
(https://monosnap.com/file/ViQVuPfrHLpH5mZ4UZMPKz6JwHUTjm.png)
We will have this:
(https://monosnap.com/file/5pWbBhdUcKWUzdOg0JtAdPK2c6ZwfA.png)

Conception of Context Selection expect that you use it always with Clear Selection tool. So this 2 tools Context Selection and Clear Selection works in ligament.  So other ways to Clear Selection is optional.
And our Marquee have to work this way:

From This (Marquee Selection started but nothing selected):
(https://monosnap.com/file/GY6C8acztRZn8Iw2SbCZAVK6EFyhHh.png)
We will have this (Nothing changed, NVil do nothing):
(https://monosnap.com/file/H06o731cUUMNj8Vj8ZK1mMqsK4eYga.png)

From This:
(https://monosnap.com/file/3to1U6MuykgaHhQqDexqNSYC5mTTnY.png)
We will have this:
(https://monosnap.com/file/AlqsWotcau9kgtbAfJny9jzxzkoV6c.png)

Let me know if you need more information.
Title: Re: Selection.
Post by: samardac on February 07, 2016, 02:40:42 pm
IStonia,
I do not want to bother you, if you tired from that request about contextual selection leave it.
I want that we have harmony in development :)
Title: Re: Selection.
Post by: IStonia on February 07, 2016, 09:39:47 pm
http://www.digitalfossils.com/Download/NVil-Feb-07-16.rar


IStonia,
I do not want to bother you, if you tired from that request about contextual selection leave it.
I want that we have harmony in development :)

That's ok. The contextual selection can be a very useful tool if you can make all the selections out of it.
Title: Re: Selection.
Post by: samardac on February 08, 2016, 07:23:50 am
Works very well! Thank you!

Some little bugs:

1. You can not make edge ring selection without Selection Key (Double MMB). You can make loop but can not Ring.

2. When you have Multy Selection Enabled and Start Selection Vertexes appear. Cjeck This videp:
http://take.ms/rMULs

3. When you make Marquee Selection already selected subobjects deasaper than apear again. Check this video:
http://take.ms/rMULs

Title: Re: Selection.
Post by: samardac on February 08, 2016, 07:55:23 am
4. I just tested all stuff and find that it is not very convenient to use LMB+RMB to select objects from subobject in Contextual Selection mode because it everytime include selected object to selection.

Request:
Can you pleas Make LMB+RMB to select objects from subobject mode works as Replace Selectcion when you in Contextual Selection mode.

5. If you select polygons without selection keys just by clicking on them vertexes appears and already selected polygons turn into edges selection and when you releas mouse everything is ok, check this video:
http://take.ms/jsanC

The partialy same thing with edges but only when multy selection is ON. When you select edges without selection keys just by clicking on them vertexes appears.
Title: Re: Selection.
Post by: IStonia on February 08, 2016, 08:30:02 am

1. You can not make edge ring selection without Selection Key (Double MMB). You can make loop but can not Ring.



Can you show this bug in a video?
Title: Re: Selection.
Post by: samardac on February 08, 2016, 08:32:52 am
Yes, this is it:
http://take.ms/zZwTU
Title: Re: Selection.
Post by: IStonia on February 08, 2016, 08:42:54 am
It works fine on me. Can you send me your config?
Title: Re: Selection.
Post by: samardac on February 08, 2016, 08:45:01 am
Check Mail. Contextual Selection - Space.
Title: Re: Selection.
Post by: samardac on February 09, 2016, 07:04:11 am
Hay IStonia, I experiment yesterday all day and think all night about Contextual Selection and want to share with you some thoughts.

I discovered that there are 3 types of Contextual Selection.

Type A.
Behavior of selection will be depend from object/subobject that is under cursor at moment when you start Selection. I think Paint Selection works this way now and Marquee Selection worked this way when you introduce it for the first time.
This type of selection have some serious weaknesses:
Paint selection - you can not start select from empty space, you always have to start selection from something to take information from object/subobject under cursor at moment when you start selection. It is especially very unconvenient when you try to select objects or edges and vertexes. Now it works unpredictable in that cases I mean no general rule it do not work with subobjects and some how works with objects.
Marquee Selection - you can not start select from empty space, you always have to start selection from something to take information from object/subobject under cursor at moment when you start selection.
Also it is absolutely not good if you use Windows Selection Style because it will derive information from object/subobject under cursor but first selected object/subobject may be differ. For example you use Marquee Selection in Window Style and you want to deselect some already selected polygons. You started from not selected polygon so selection will perform Include Selection so no way to deselect your polygons.

Type B.
In this type of selection NVil dynamically derive information from selected objects/subobjects. So if selected object/Subobject are already selected they will be excluded from selection and if they are not selected they will be included into selection. This is how now works Marquee Selection.
This type of selection also have some weaknesses -  it can confuse you very fast!
But I think it would be greate to have SL tool thet will create contextual selection Type B and call it something like - Marquee Invert selected.

Type C.
In this type of selection NVil will derive information from first selected object/subobject.
So if first selected object/subobject is already selected NVil will perform Exclude Selection. If first selected object/subobjects is not seelcted NVil will perform Include selection.
For example you started Paint Selection from empty space, till you select first object/suboject NVil do not know what operation it will perform - Include or Exclude. As soon as you select first object NVil derive information from it so if it is already selected NVil will start to perform Exclude selection, if it is not selected NVil will start to perform Include Selection.
There is no problem with Paint selection and Lasso selection to identify first selected object/subobject but with Rectangle selection there is one nuance, it can select at once more than one object/subobject and NVil have to decide witch one is first selected to derive information from it.
The solution of this problem is very simple - first selected will be that one that is the closest to the start point of Rectangle Selection. Or may be NVil have another algorythm to discover witch object was first selected inside rectangle.
Can not find any weaknesses, just advantages, you can start select from empty space and use it with Window Style Selection.

I'm sure we have to to make all our Contextual selection to work as Type C, because only in this way we will get full control of our contextual selection.

Let me know if you need more information or screens.
Title: Re: Selection.
Post by: samardac on February 09, 2016, 07:40:47 am
Some Images to show you how Type C works.


From this selection:
(https://monosnap.com/file/xD5XXQn4IdKKRvcM2qlbEok6HLXKBY.png)
We will get this:
(https://monosnap.com/file/5osbt5L1TPXL6nDtV35Pfx5FkU4zFc.png)


From this selection:
(https://monosnap.com/file/NvShEQXHWdS3E9Ao4XlbXyV7NPfIun.png)
We will get this:
(https://monosnap.com/file/X7qVuEjexbuEbboIowUfEzVIYUNE66.png)



From this selection:
(https://monosnap.com/file/02FpU52xUrtNQKzFBoWmVQYagcFLMs.png)
We will get this:
(https://monosnap.com/file/iJPy1XTAdrmj8JZ5q9B9Bw72jgy2OV.png)


From this selection:
(https://monosnap.com/file/lxS6ltQyruihbiicKPmOkoEC2tBP7O.png)
We will get this:
(https://monosnap.com/file/AWhhhMXmviirL3v5lz3BbRXxl8t70X.png)

Title: Re: Selection.
Post by: IStonia on February 09, 2016, 08:50:38 am
http://www.digitalfossils.com/Download/NVil-Feb-07-16.rar
There was no "No Action Event" in "Tweak Move" tool. Now it is added so you should be able to do ring select.

--
Haven't got time to read your new thoughts.
Title: Re: Selection.
Post by: samardac on February 09, 2016, 09:04:28 am
Thanks!!
Title: Re: Selection.
Post by: samardac on February 10, 2016, 02:13:37 pm
IStonia,
The further we go with Contextual selection, the more unexpected difficulties and complications arise, so lets stop it where we are now, it works may be not perfect but it is enough for now.
Thank you! :)
Title: Re: Selection.
Post by: IStonia on February 11, 2016, 07:06:51 am
http://www.digitalfossils.com/Download/NVil-Feb-07-16.rar

"Contextual Marquee Selection Mode" is introduced. When starting or during marquee selection, if "Contextual Selection" hotkey is pressed, "Contextual Marquee Selection Mode" will be set.
Once "Contextual Marquee Selection Mode" is set, it will stay on until the selection operation is finished even if the "Contextual Selection" hotkey is released. So now if you want to do Include selection, keep "Contextual Selection" hotkey pressed. If you want to do exclude selection, release that hotkey.


Title: Re: Selection.
Post by: samardac on February 11, 2016, 08:21:21 am
Very interesting solution!!!
Lets evolve it a bit.
Lets use Timing that we already have.
So if tapping time of Contetextual Selection key is less than click event timing, the tool will perform Exclude Selection else Include selection. In both keyses it will be dropped when you release mouse button.
So if you keep key pressed it will Include Selection or if you hit key and release immediately than start to drag mouse it will perform exclude selection till you release mouse button. So if you hit key and release immediately the next action for mouse drag will be exclude selection.
And make pleas the same rule to work with paint selection to have universal rule for everything, lets experiment a bit.
Title: Re: Selection.
Post by: samardac on February 11, 2016, 08:29:24 am
And Double Hit of Contetextual Selection key will clear selection.
Very interesting  :)
Title: Re: Selection.
Post by: IStonia on February 11, 2016, 08:55:53 am
I don't think it's a good idea to go any further. Otherwise things will get too complicated and troublesome.
Title: Re: Selection.
Post by: samardac on February 11, 2016, 08:58:53 am
Good :)
Title: Re: Selection.
Post by: IStonia on February 15, 2016, 08:18:50 am
smardac, you asked for disabling switching to other modes from object mode if no object selected. Now I have changed it back. Because some people go to subobject modes without any object selected just for retopo.

http://www.digitalfossils.com/Download/NVil-Feb-07-16.rar
Title: Re: Selection.
Post by: samardac on February 15, 2016, 09:35:04 am
Aaa, ok.