MoI discussion forum
MoI discussion forum

Full Version: New Beta version will not open my large files

Show messages: All  1-9  10-20

From: Michael Gibson
6 Sep 2018   [#10] In reply to [#9]
Hi Henry, it is related to the display but it controls how refined the display meshes will be. The display mesh is a triangle mesh that is pre-calculated and stored with an object. Then that pre-calculated mesh is drawn for the display of shaded surfaces.

It can take a while to generate these meshes so it doesn't try to do it dynamically just at display time only. That's for shaded surface display though, curve display is done dynamically during the rendering.

- Michael
From: BurrMan
6 Sep 2018   [#11] In reply to [#8]
I like the display mesh angle setting... use it regularly.


If you remove it from the gui, can we keep an ini setting for it?
From: Michael Gibson
6 Sep 2018   [#12] In reply to [#11]
Hi Burr, part of removing it could involve changing the whole approach, something along the lines of using a rough angle initially and then doing a more detailed one in the background. It will be a while before I'll be able to look into that though.

If I do end up having to remove the current one at some point because of too many people getting tripped up by it I will make sure to keep it available to script and in moi.ini though.

- Michael
From: BurrMan
7 Sep 2018   [#13] In reply to [#12]
Thanks Michael...

Message 9054.14 was deleted


From: Marbleman
5 Oct 2018   [#15]
Hi Michael,

This issue is something that I hit quite regularly.

Would it be possible to have the Mesh Angle value displayed somewhere on the ui?
From: Michael Gibson
5 Oct 2018   [#16] In reply to [#15]
Hi James, it would be possible to modify the UI to display it, where would you want to put it?

I'd generally recommend not to mess around with that setting much though since it can have bad side effects if set lower than the default 10 degrees.

- Michael
From: Marbleman
5 Oct 2018   [#17] In reply to [#16]
Hi Michael,

Maybe between the options and the help at the bottom.
From: Michael Gibson
5 Oct 2018   [#18] In reply to [#17]
Hi James,

re:
> Maybe between the options and the help at the bottom.

So to do that you'll need to edit the file CommandBar.htm which is inside MoI's ui sub-folder.

The options and help buttons are on line 137 of that file and look like this:

code:
				<moi:CommandButton icon="icons/OptionsIcon.png" onclick="if ( event.ctrlKey && event.shiftKey ) { LlamaMode(); } else { moi.ui.createDialog( 'Options.htm', 'resizeable,defaultWidth:43em,defaultHeight:32em' ); }"><moi:Text textid="Options"/></moi:CommandButton>
				<moi:CommandSplitButton icon="icons/HelpIcon.png" menu="HelpMenu.htm" onclick="moi.launchHelp();"><moi:Text textid="Help"/></moi:CommandSplitButton>


To add a display of the mesh angle between them insert this new line in between them like so:

code:
				<moi:CommandButton icon="icons/OptionsIcon.png" onclick="if ( event.ctrlKey && event.shiftKey ) { LlamaMode(); } else { moi.ui.createDialog( 'Options.htm', 'resizeable,defaultWidth:43em,defaultHeight:32em' ); }"><moi:Text textid="Options"/></moi:CommandButton>
				
				<div style="display:inline-block; margin:0.5em">Mesh angle:<moi:Text binding="this.innerText < moi.view.meshAngle"/></div>
				
				<moi:CommandSplitButton icon="icons/HelpIcon.png" menu="HelpMenu.htm" onclick="moi.launchHelp();"><moi:Text textid="Help"/></moi:CommandSplitButton>


- Michael
From: Marbleman
5 Oct 2018   [#19] In reply to [#18]
Thanks Michael, works a treat!

Message 9054.20 was deleted


Show messages: All  1-9  10-20