Show messages: All
1-8
9-20
From: hflint2001
I used to change the angle when using the file after it had opened but i didn't think it would alter the loading because it was just a display setting i thought?
From: Michael Gibson
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
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
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
Thanks Michael...
Message 9054.14 was deleted
From: Marbleman
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
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
Hi Michael,
Maybe between the options and the help at the bottom.
From: Michael Gibson
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
Thanks Michael, works a treat!
Message 9054.20 was deleted
Show messages: All
1-8
9-20