NVil Forum

General Category => Feature Requests => Topic started by: samardac on March 30, 2016, 11:35:26 am

Title: Materials Requests.
Post by: samardac on March 30, 2016, 11:35:26 am
IStonia,
We need this new window for materials, it will be much more smaller and will contain much more visible Materials:
(https://monosnap.com/file/AapyTodNLrIcxfWv5AKqpMzKajT3i9.png)
You will be able to scroll this materials with Mouse Wheel or Mouse drag.

When you double click material in that new window it will open this window:
(https://monosnap.com/file/465d1rAWtCWnsmmx2OGGmS4nGIL9eu.png)
So we will have this window open only when wee need it.



Title: Re: Materials Requests.
Post by: IStonia on April 03, 2016, 06:32:01 am
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar

* View > Windows > Simple Material Window. It has a right click context menu.
Title: Re: Materials Requests.
Post by: samardac on April 03, 2016, 07:03:54 am
Many thanks!!! It looks really great!!!

Now if you double click material it open old window, but can it open only this window:
(https://monosnap.com/file/465d1rAWtCWnsmmx2OGGmS4nGIL9eu.png)

We need it because Old window is too big and takes a lot of space of view port, having this new window we can nicely solve this problem.
Title: Re: Materials Requests.
Post by: mogul on April 04, 2016, 12:35:36 pm
this looks cool!
it would be nice if the material can drag and drop to the object, command cycle material just in simple material window and auto load when i open nvil
Title: Re: Materials Requests.
Post by: samardac on April 04, 2016, 01:07:00 pm
Quote
it would be nice if the material can drag and drop to the object, command cycle material just in simple material window and auto load when i open nvil

mogul,
I also have that requests in mind and not only them, but now I am waiting till IStonia create that window :)

Quote
auto load when i open nvil
What do you mean?
Title: Re: Materials Requests.
Post by: samardac on April 06, 2016, 07:57:28 am
Hay IStonia, wanted to ask you will you make that window?
Title: Re: Materials Requests.
Post by: IStonia on April 06, 2016, 09:03:41 am
Added.
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 06, 2016, 09:13:48 am
I must say it is absolutely awaysome!!!
Now it takes much less place and looks really great!
(https://monosnap.com/file/MYQ4JT8bVClSY7GH3IE0yXYufAtTuU.png)
Title: Re: Materials Requests.
Post by: samardac on April 06, 2016, 07:00:44 pm
Lets polish all stuff!

1. We need Drag and Drop. So it will be possible to drag materials to assign them to objects. Also we need to drag it to another Material to replace it.

2. Context menu should run if you click anyware in window (now it runs only if you click on Material)

3. Context menu should look like this:

New
Assign
Duplicate
Edit (Double Click)

Delete
Delete Unused Materials

Set Default Material (Will set Local Default Material)

Copy
Past

Select Polygons By Material
Select object By Material

4. Add pleas this Orange selection to opened material.
(https://monosnap.com/file/6vwm89JGdwBXGMpBEIi9aMa2PK6H4W.png)

5. Add pleas this big sphere to the Material window.
(https://monosnap.com/file/3uPnnIeggioXo2xlWvz4TgB2MzgmBZ.png)

6. Can you pleas disable that Black Rectangle behind materials in Simple Window and leave only window color. I want to see how it will look.

7. Add pleas string under Material to show name of material.
Title: Re: Materials Requests.
Post by: IStonia on April 08, 2016, 08:40:17 pm
All done.
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 09, 2016, 05:27:55 am
It is really Great!!! Many thanks! :)

Now we need Library, I am going to create good library like on screen.
I want user to not spend time creating materials, he will just pick them from cool library!

(https://monosnap.com/file/TwzNfR8qvQMKw6081lbTvWGgJjAqo3.png)



Library have to support Drag and Drop, so you can drag onto objects and into Simple Material Window.
Also you could drag from Simple Material Window to Library.

Context menu have to have these items:
New
Assign
Duplicate
Edit (Double Click)
Delete

Context menu of Group section have to have these items:
New Group
Delete Group (It will delete all materials also, add pleas warning message)
Title: Re: Materials Requests.
Post by: IStonia on April 12, 2016, 07:57:08 am
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar

View > Windows > Material Library Window.
Title: Re: Materials Requests.
Post by: samardac on April 12, 2016, 08:11:24 am
Many thanks, look great!!! Now we have really great material system! :)
I collected all small bugs and stuff about Material and Library and I will post them tomorrow.


I just wanted to ask you is it possible to some how make list of groups like in my screen?
Title: Re: Materials Requests.
Post by: IStonia on April 12, 2016, 09:24:16 am
I just wanted to ask you is it possible to some how make list of groups like in my screen?

It is possible. But the implementation is not easy.It will take too much space if number of groups increases. Group renaming will not be as easy. It won't be suitable to dock to top or bottom.
Title: Re: Materials Requests.
Post by: samardac on April 12, 2016, 09:29:33 am
Good!
Title: Re: Materials Requests.
Post by: samardac on April 13, 2016, 06:37:56 am
Final touch.

1. We need ability to drag and drop between Simple Material Window and Library in both sides.

1.1 We need ability to drag and drop from Material Edit window Sphere to objects.

1.2 If you click Sphere in Material Edit window it will open color pallet.

1.3 MMB Click on Material will assign it to selection. Have to work in both windows.

1.4 [Edited] Lets make command Merge. If you hold SHift and click One material than another it will merge them. New material will be first selected. Will work in both windows.

2. Now we use RMB to drag materials, I think you made it because LMB we use for scroll. Lets swap them, so we will drag with LMB and Scroll with RMB(only in Material Windows). Drag materials have much more priority also we can scroll with Mouse Wheel.


3. Remove from Context menu pleas:
 - Select By material Cascade
 - Set As Global Default Material (We will use only Local Materail)

4. Rename Assign to ... just to Assign. Add please () to shortcuts, like this ( RMB+Drag )

5. Groups in Library Context Menu must be on the first place.

6. Double Click in empty Space in both windows will create material and open Material Edit window.

7. Make Pleas NVil to remember Last Opened Group. So it will open it on restart.

8. Item From Menu, Window - Layout Style, must be visible only in Customization Mode. I hope it will remove these artifacts from menus:
(https://monosnap.com/file/g5SvwOFPHk24JOoTtIW3FD41ja5JiN.png)

(https://monosnap.com/file/TFTOVSEcvhHfGbH2mXRtrHCy9JATHW.png)

9. Make pleas Material Edit window to remember its position.

10. Lets make Material assignment to work as SL tools works - if nothing is selected it will assign material to highlighted object/polygon.



Title: Re: Materials Requests.
Post by: IStonia on April 13, 2016, 07:04:06 am
1 is possible already.
Title: Re: Materials Requests.
Post by: samardac on April 13, 2016, 07:08:44 am
I can drag and drop it only if I drop it into another material. But we need also this - if I drop it into empty space it have to create new material.
Title: Re: Materials Requests.
Post by: samardac on April 13, 2016, 07:14:40 am
IStonia let me know when you work you read this request form forum or you copy requests to your PC?
I need it to know because some times I get better Ideas and change request.
Title: Re: Materials Requests.
Post by: IStonia on April 15, 2016, 12:23:59 pm
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar

1-9 done.

1.2 lmb+Ctrl. Because if only lmb, it will block double click.
10 Don't understand.
Title: Re: Materials Requests.
Post by: samardac on April 15, 2016, 02:04:36 pm
Greate, everything works nice!

1.2
Works great, and with CTRL it is nice! But one thing, If Edit material window has no focus and you click Sphere, window get focus and nothing happen, fix it pleas, because you have to click second time to open Pallete. In the same situation if I click color item it opens Pallet it is how it should work.

-----------------------------------------------------------------

1.4
I tested this new Merge command that works through context menu and with shift, and got much more better solution. Lets rename it to Replace Material, it will have more sense.
Replace Material will work this way, we have 2 objects:
 - object A with Material 1
 - object B with Material 2.

I want to Replace Material 2 with Material 1 it will work this way:
Material 2 will be replaced with Material 1 and object B will be assigned Material 1. It means wil will have only one material - Material 1.

Lets implement it this way:
if you drag Material 1 with holding Ctrl and drop it onto Material 2, Material 2 will replace with Material 1 and object B will be assigned Material 1.
In Simple material Window we will have only Material 1 that will lay in place of Material 2.

In the context menu we will have new item "Past and Replace" it will appears near Copy/Past. So if you Copy some material and then instead of Past apply "Past and Replace" it will replace material.

-----------------------------------------------------------------

10. I meant, for example you have no objects/polygons selected and if you start to drag material to assign it, NVil will assign material to highlighted objects/polygons.

-----------------------------------------------------------------

- Add pleas Delete Unused Materials to context menu when you click in empty space.
- If you close Edit Material window material keep have orange highlighting.
- In Context menu Default Material item have submenu, remove it pleas.
- rename pleas default materials from Mtrl_01 to Material 01, Material 02...

-----------------------------------------------------------------

- Now all windows in NVil loose focus when you leave them, make it pleas to loose focus when you click outside them.
Title: Re: Materials Requests.
Post by: samardac on April 15, 2016, 08:09:36 pm
10. Looks like i found right solution.
If you drag material on unselected object or polygon it will assign material to it. If you drag material on selected object or polygon it will assign material only to selection.
Title: Re: Materials Requests.
Post by: IStonia on April 16, 2016, 10:32:07 am
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar


- If you close Edit Material window material keep have orange highlighting.

Is this a bug or what you want?


- Add pleas Delete Unused Materials to context menu when you click in empty space.

No. People may delete materials by accident in this way.
Title: Re: Materials Requests.
Post by: samardac on April 16, 2016, 10:35:09 am
Quote
Is this a bug or what you want?
It is bug.
Title: Re: Materials Requests.
Post by: samardac on April 16, 2016, 10:59:17 am
Quote
Is this a bug or what you want?
Looks like it is fixed!!!

-Can you pleas remove highlighting when you go with cursor other Material, they have to be highlighted only when you select objects or when you open Edit Material window.

-Lets remove these Replace and Past Replace it is too complicated to use.
I play with this about half hour and it confuse me a lot :) Looks like it was not very good idea.

-When you open Edit Material window Sphere appears with delay. Fix it pleas.
Title: Re: Materials Requests.
Post by: IStonia on April 16, 2016, 12:03:41 pm
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar


-When you open Edit Material window Sphere appears with delay. Fix it pleas.

Can't do any better.
Title: Re: Materials Requests.
Post by: samardac on April 16, 2016, 12:09:14 pm
Fixed, except one small thing if you click material and keep button pressed highlight appears, remove it pleas.
Title: Re: Materials Requests.
Post by: IStonia on April 16, 2016, 10:02:30 pm
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 17, 2016, 07:26:48 am
Fixed!
IStonia add pleas Control Box Visible option to context menu when you are in customization mod.
I want to hide these buttons:
(https://monosnap.com/file/AFP4jj8moC6IUas8JSYWSncKUi8Mtl.png)

And Add please options to rename these windows.
Title: Re: Materials Requests.
Post by: kevjon on April 17, 2016, 08:01:45 am
This is looking really good Andrei and Istonia. Can't wait to try it out when its finished.

If you get a chance Andrei, can you post a workflow on this when its finished so I can incorporate it into my interface.
Title: Re: Materials Requests.
Post by: IStonia on April 17, 2016, 10:31:19 am
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 17, 2016, 10:38:21 am
May be some small bugs will appear latter but for now looks like everything works nice, we did it!!! New Material management system is ready!!! 

(https://monosnap.com/file/ZmkioXUDHRZ7VFLuTwrEVWGi11L5rS.png)

I'll prepare library and tutorial this week!
Title: Re: Materials Requests.
Post by: kevjon on April 17, 2016, 10:55:24 am
Cool, well done !
I like the nice bright colours.
Title: Re: Materials Requests.
Post by: samardac on April 18, 2016, 10:02:40 am
Thanks)!
Title: Re: Materials Requests.
Post by: IStonia on April 19, 2016, 10:23:42 am
A crashing bug fixed and the file is renewed.
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 22, 2016, 03:27:52 pm
Hay IStonia I created Library, I sent you config so you can add this library to NVil.
(https://monosnap.com/file/k5oLqpbdOkZqljEd9zHMTAadFPqiaN.png)

Can you pleas add option to Library context menu - Restore Library. It will restore default library. It will available when you run menu being on material or in empty space.

Bugs and stuff:
- Add pleas Alt+Click it will delete material (Add this hotkey to context menu)
- Now you can open more than one Material Edit window, one from Librery one from Simple Mat. window, fix it pleas, only one window can be visible at time.
- Make pleas NVil to keep materials names when you drug it from Librery to Simple mat. window and vice versa.
- Add pleas to context menu of Simple mat. window - Change Color (Ctrl + Click). Under Edit.


Quote
- Add pleas Delete Unused Materials to context menu when you click in empty space.

Quote
No. People may delete materials by accident in this way.

I tried to make it so many times but found that there is no such item in context menu:))) If user delete it accidentally he can undo it. Add it pleas :)
Title: Re: Materials Requests.
Post by: IStonia on April 23, 2016, 06:12:12 am
Have you sent the config?
Title: Re: Materials Requests.
Post by: samardac on April 23, 2016, 06:20:00 am
Sent!
Title: Re: Materials Requests.
Post by: IStonia on April 23, 2016, 08:17:55 am
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 23, 2016, 08:59:48 am
You added Alt+LMB in empty space nice idea! I tried it but it does not work  :(

Can you pleas change shortcuts captions in context menu from MMB or LMB to Left click, Middle click.
And make them to start from Modifier key like CTRl + Left Click. It will be clear for any users.
Title: Re: Materials Requests.
Post by: IStonia on April 23, 2016, 09:28:10 am
You added Alt+LMB in empty space nice idea! I tried it but it does not work  :(

Where is your empty space?
Title: Re: Materials Requests.
Post by: samardac on April 23, 2016, 09:29:51 am
(https://monosnap.com/file/Il4k0BNlT6z8K4HHM99dtjOca6MpwH.png)
Title: Re: Materials Requests.
Post by: IStonia on April 23, 2016, 10:27:26 am
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 23, 2016, 10:34:34 am
Thanks!!
Title: Re: Materials Requests.
Post by: samardac on April 23, 2016, 12:58:32 pm
Tutorial about new materials system is here:
http://voidworld.cmcproductions.co.uk/index.php/topic,2900.msg12085.html#msg12085

IStonia, when you assign material from Library to object it does not keep its names, fix it pleas.
Title: Re: Materials Requests.
Post by: IStonia on April 23, 2016, 08:20:25 pm
http://www.digitalfossils.com/Download/NVil-Apr-03-16.rar
Title: Re: Materials Requests.
Post by: samardac on April 24, 2016, 07:15:22 am
Thanks!
Title: Re: Materials Requests.
Post by: polyxo on April 24, 2016, 04:25:46 pm
Is it now somehow possible to use a environment texture (use an image in the channel you call Ambient). Then one could use Matcaps (http://blenderartists.org/forum/showthread.php?206930-solved-What-exactly-is-a-quot-matcap-quot-and-how-does-it-aid-sculpting)...
Title: Re: Materials Requests.
Post by: samardac on April 24, 2016, 04:29:11 pm
No, rebuild only workfow.
http://voidworld.cmcproductions.co.uk/index.php/topic,2900.msg12085.html#msg12085
Title: Re: Materials Requests.
Post by: samardac on April 25, 2016, 08:08:05 am
IStonia,
I just discovered some small drawback.
If you change color using command - Change Color (Ctrl+LMB) you will have strange result because all materials from library use colored Specular or Ambient.
To avoid it lets remove command - Change Color (Ctrl+LMB).
Lets make users to change colors only from Edit Material window, so there they can see that Specular or Ambient is also colored and quickly fix it.