NVil Forum

General Category => Feature Requests => Topic started by: samardac on December 24, 2015, 05:33:00 pm

Title: Viewport.
Post by: samardac on December 24, 2015, 05:33:00 pm
Hay IStonia, I removed previous topic about viewport problem and create this because I collect some more information about this problem.

1. Take a look at Perspective view in Four View Layout:
(https://monosnap.com/file/6iOPcHtiHMvm0JHetZMU1jeliM5Ple.png)

Now take a look at Perspective View in One View layout:
(https://monosnap.com/file/uE3VvsIOF5i7oQ1uyae2QqC6DglG5Z.png)

They are not the same. The same thing with all views, for example Top view in Four view do not the same like in One view.
It would be great if they will be the same.

For Four View Layout I use this command:
(https://monosnap.com/file/EdozjLjstqpbOTiesAqn8gsWgqcAmZ.png)

For One View layout I use this command like this:
(https://monosnap.com/file/ifHX3kmG0JuUDl3Ql2BWYtCBtzE6Od.png)


2. Now we do not have default Layout and View. NVil remember Layout and view from that one that was when we close NVil. Or if you have Load viewport Layout from file it will load it form file instead.

So my request is make ability to set default Layout and View.
I think the best way will be to use Template file. I made request about it previously. So it will work this way - you set layout and View you want than save it in .vws and everytime NVil starts it will load this template and set default new scene from it.
So this .vws can contain information not only about Layout but about everything we can save with it, for example Default Mode, Default Pivot settings, Default Symmetry state, Default Ortho/Perspective etc...

For example you can add ability to select that template file from Preference Window like it made in MoI or just use Default.vws from c:\Users\USERNAME\AppData\Roaming\DigitalFossils\NVil\. So if there will be Default.vws NVil will use it as template for new scene.

Title: Re: Viewport.
Post by: IStonia on December 25, 2015, 12:16:42 pm
http://www.digitalfossils.com/Download/NVil-Dec-24-15.rar

File > Save/Load Default Settings. Save to/Load from these files: PreferenceSettings_Default.xml, PreferenceSettings_Colors_Default.xml, MainFormDockingSetting_Default.xml, MainFormBarSetting_Default.xml.
Title: Re: Viewport.
Post by: samardac on December 25, 2015, 01:42:54 pm
Default settings do not save Viewport Layout and View :-\ Next time I restart NVil it shows last viewport Layout and views.
Title: Re: Viewport.
Post by: samardac on December 25, 2015, 03:05:40 pm
I have an idea, we can make Initialize_Instructions.txt.
So if this file presents NVil will execute instruction from that file when it Create New Scene or Load Project. This way we can initialize a lot of different defaults!
Title: Re: Viewport.
Post by: IStonia on December 25, 2015, 09:45:14 pm
http://www.digitalfossils.com/Download/NVil-Dec-24-15.rar

* Edit > Preference > Options > Load default settings on Startup.
Title: Re: Viewport.
Post by: samardac on December 25, 2015, 11:30:53 pm
Thanks now Default Viewport Layout works!

Wanted to ask you about Initialize_Instructions.txt.
For example now I want to set by default Manipulator Position/Orientation, default SubD level and enable by default some SL Tool. It can be done only with Initialize_Instructions.txt. Can you do this or it is complicated task?
Title: Re: Viewport.
Post by: samardac on December 27, 2015, 01:12:59 pm
Continue to tweak you about Template file/Initialize.txt and other stuff about restoring settings on startup  ;D
Now looks like I have super nice Idea!
So what if you will add option in composite tool window: Execute on StartUp?

Title: Re: Viewport.
Post by: IStonia on December 28, 2015, 09:23:16 am
Continue to tweak you about Template file/Initialize.txt and other stuff about restoring settings on startup  ;D
Now looks like I have super nice Idea!
So what if you will add option in composite tool window: Execute on StartUp?

What is the purpose?
Title: Re: Viewport.
Post by: samardac on December 28, 2015, 09:47:21 am
Purpose to restore settings on start up. Foe example I will use it to restore default pivot position/orienratoion, set default subd level or even load template scene, etc... Settings that you can not restore with save defaul settings command.
Title: Re: Viewport.
Post by: IStonia on December 28, 2015, 12:16:00 pm
Done.
http://www.digitalfossils.com/Download/NVil-Dec-24-15.rar
Title: Re: Viewport.
Post by: samardac on December 28, 2015, 02:25:27 pm
It is absolutely awaysome!!!!
I just created StartUp composite tool and it have all instructions that NVil must perform on startup!
So great tool!!