News:

 

Topic: Viewport.  (Read 5235 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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:


Now take a look at Perspective View in One View layout:


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:


For One View layout I use this command like this:



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.

« Last Edit: December 25, 2015, 09:31:22 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3752
  • Developer
  • Administrator
  • Polygon
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.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.
« Last Edit: December 25, 2015, 01:44:33 pm by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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!
« Last Edit: December 25, 2015, 06:18:56 pm by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3752
  • Developer
  • Administrator
  • Polygon
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.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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?
« Last Edit: December 26, 2015, 12:26:27 am by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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?

« Last Edit: December 27, 2015, 06:45:29 pm by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3752
  • Developer
  • Administrator
  • Polygon
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?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3752
  • Developer
  • Administrator
  • Polygon

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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!!
Portfolio: www.samardac.com