News:

 

Topic: (Fixed) Inset  (Read 9177 times)

0 Members and 1 Guest are viewing this topic.

  • No avatar
  • Posts: 2102
  • Polygon
May 23, 2014, 11:01:19 am
Hi IStonia,

I know you are busy, so please put this on your "to look at later" list for when you can find time.

For quite some time I have been seeing an issue when using "Inset", the issue appears to happen more when inset is used on surfaces or solid models built from surfaces.

Here is an example.

This is a part of a model (part attached).



I select all polygons and use Inset (either basic streamline tools > Polygon Tools > Polygon Inset#" or "Visual tools > Inset" and find that the inset does not give correct results.



The new vertex are created for the Inset(at the highlighted position shown above, there are 2 vertex at each location), but they do not slide with the rest of the new edge.

As I said, just look at this when you can, no rush, I can manually edit to fix (it is just a bit of a pain at times).

Thanks,

Example file attached:-



« Last Edit: December 30, 2014, 04:33:08 pm by steve »

  • No avatar
  • Posts: 130
  • Spline
May 23, 2014, 01:35:47 pm
I am also experiencing some inset issues.  I recently tried a simple operation to  inset a group of faces on a cylinder, and was unable to achieve the desired effect using the inset tool (the inset faces distorted the shape of the cylinder)... I had to do it manually.  Check out the attached diagram.

  • No avatar
  • Posts: 306
  • Triangle
May 23, 2014, 02:09:14 pm
 I also had a problem like Steve

  • No avatar
  • Posts: 2102
  • Polygon
December 22, 2014, 03:25:21 am
Hi IStonia,

I need to bump this thread, as the problem is still present.

I have checked and find it is only a problem in 64 bit version.

I will ask again, can you please release a build of Nvil that will run as 32bit on 64 bit windows. I am getting tired of having to keep going back to Dec-23-13 build (last build that will run as 32 bit on 64 bit windows)


  • No avatar
  • Posts: 3716
  • Developer
  • Administrator
  • Polygon
December 22, 2014, 09:52:20 am
Can you run this debug build? It may output some information that can help me to pinpoint the bug
http://www.digitalfossils.com/Download/NVil-Dec-22-14-Debug.rar

  • No avatar
  • Posts: 2102
  • Polygon
December 22, 2014, 11:17:03 am
Hi IStonia,

With new default config.

When I run "Visual tools > Inset" with debug version, I get a popup with "Not Added". After pressing "OK" on the popup, the popup remains(continually reshowing). I have to kill Nvil process to exit.

If I use "Streamline tool > Bevel/Inset polygon"(S + No mouse button), I get popup with "Not Added". On pressing OK, I get "Unhandled Exception" Details:-

Code: [Select]
************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.BaseExtrudeOp.ComputeVertexInsetMoveDirections()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.BaseExtrudeOp.ComputeExtrudeCenter()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.InsetPolygonOp.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineTool.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineTool.OnMouseMoveCall(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.OnMouseMoveCore(Object sender, MouseEventArgs e)
   at DigitalFossil.AbstractGraphicWindow.CursorClerk.OnMouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
NVil 1.0
    Assembly Version: 2.3.5469.40914
    Win32 Version: 2.3.5469.40914
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/NVil%201.0.exe
----------------------------------------
WorkShop
    Assembly Version: 2.3.5469.40907
    Win32 Version: 2.3.5469.40907
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/WorkShop.DLL
----------------------------------------
BasicD3DClasses
    Assembly Version: 2.3.5469.40901
    Win32 Version: 2.3.5469.40901
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/BasicD3DClasses.DLL
----------------------------------------
CharacterClasses
    Assembly Version: 2.3.5469.40899
    Win32 Version: 2.3.5469.40899
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/CharacterClasses.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SlimDX
    Assembly Version: 2.0.13.43
    Win32 Version:
    CodeBase: file:///C:/Windows/assembly/GAC_64/SlimDX/2.0.13.43__b1b0c32fd1ffe4f9/SlimDX.dll
----------------------------------------
DevExpress.XtraBars.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.XtraBars.v10.2.DLL
----------------------------------------
DevExpress.Utils.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.Utils.v10.2.DLL
----------------------------------------
DevExpress.Data.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.Data.v10.2.DLL
----------------------------------------
DevExpress.XtraEditors.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
msvcm90
    Assembly Version: 9.0.30729.6161
    Win32 Version: 9.00.30729.6161
    CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251/msvcm90.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



If I use "Streamline tool > Bevel/Inset polygon"(S + Right mouse button), I get popup with "Not Added". On pressing OK, I get "Unhandled Exception" Details:-

Code: [Select]
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at DigitalFossil.BaseEdge.GetVertB(BaseEdge edge)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.BaseExtrudeOp.ComputeVertexInsetMoveDirections()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.BaseExtrudeOp.ComputeExtrudeCenter()
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.InsetPolygonOp.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineTool.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.StreamLineTool.OnMouseMoveCall(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.ModelDesigner.OnMouseMove(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.OnMouseMoveCore(Object sender, MouseEventArgs e)
   at DigitalFossil.AbstractGraphicWindow.CursorClerk.OnMouseMove(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
NVil 1.0
    Assembly Version: 2.3.5469.40914
    Win32 Version: 2.3.5469.40914
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/NVil%201.0.exe
----------------------------------------
WorkShop
    Assembly Version: 2.3.5469.40907
    Win32 Version: 2.3.5469.40907
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/WorkShop.DLL
----------------------------------------
BasicD3DClasses
    Assembly Version: 2.3.5469.40901
    Win32 Version: 2.3.5469.40901
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/BasicD3DClasses.DLL
----------------------------------------
CharacterClasses
    Assembly Version: 2.3.5469.40899
    Win32 Version: 2.3.5469.40899
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/CharacterClasses.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
SlimDX
    Assembly Version: 2.0.13.43
    Win32 Version:
    CodeBase: file:///C:/Windows/assembly/GAC_64/SlimDX/2.0.13.43__b1b0c32fd1ffe4f9/SlimDX.dll
----------------------------------------
DevExpress.XtraBars.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.XtraBars.v10.2.DLL
----------------------------------------
DevExpress.Utils.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.Utils.v10.2.DLL
----------------------------------------
DevExpress.Data.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.Data.v10.2.DLL
----------------------------------------
DevExpress.XtraEditors.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/Stem/Documents/NVil-Dec-22-14-Debug/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
msvcm90
    Assembly Version: 9.0.30729.6161
    Win32 Version: 9.00.30729.6161
    CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251/msvcm90.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>


Hope that helps.


« Last Edit: December 22, 2014, 11:18:47 am by steve »

  • No avatar
  • Posts: 2102
  • Polygon
December 23, 2014, 05:24:35 am
Hi IStonia,

Rather than bumping other old threads, I will bring up another old problem here, "Edge leaks". I am still seeing that problem too often. It makes me not trust Nvil for face selections.
There is no longer a selection method I can use while "Subobject Occlusion Selection" is enabled that does not select back facing polygons. So "edge leaks" are a major pain.

  • No avatar
  • Posts: 3716
  • Developer
  • Administrator
  • Polygon
December 23, 2014, 06:01:28 am
The "Not Added" popup is want I need. Things that happened after this popup are not part of the intentional debugging process and can be ignored.

Now I can narrow down the area. Please try this
http://www.digitalfossils.com/Download/NVil-Dec-23-14-Debug.rar


Hi IStonia,

Rather than bumping other old threads, I will bring up another old problem here, "Edge leaks". I am still seeing that problem too often. It makes me not trust Nvil for face selections.
There is no longer a selection method I can use while "Subobject Occlusion Selection" is enabled that does not select back facing polygons. So "edge leaks" are a major pain.

There is a technical hurdle. I currently can't figure out a solution.

  • No avatar
  • Posts: 2102
  • Polygon
December 23, 2014, 06:34:25 am
Please try this

I get the same popup with "Not Added"


Quote
There is a technical hurdle. I currently can't figure out a solution.

If you cannot fix the "edge leaks", would be at all possible to be able to have paint selection that does not select back facing polygons while "Subobject Occlusion Selection" is enabled? (in builds prior to last feb/march, I could use "X+LMB", but it was changed and now selects back facing polygons)

  • No avatar
  • Posts: 3716
  • Developer
  • Administrator
  • Polygon
December 23, 2014, 06:55:27 am
I reupload the file. Please try again.
http://www.digitalfossils.com/Download/NVil-Dec-23-14-Debug.rar


If I add an option to let Paint Selection ignore "Subobject Occlusion Selection" option, will that be ok.

  • No avatar
  • Posts: 2102
  • Polygon
December 23, 2014, 07:27:18 am
I reupload the file. Please try again.

Popup with "Not Added angleIs0"


Quote
If I add an option to let Paint Selection ignore "Subobject Occlusion Selection" option, will that be ok.
I would still need the "Subobject Occlusion Selection" to work when enabled, it is just I need the back facing polygons not to be selected when "Subobject Occlusion Selection" is enabled (to stop the back facing polygons being selected through any edge leaks).

I need to be able to paint select (any method at all, does not matter which, be it MMB or X+LMB etc) that will only select front facing polygons under cursor (in view) and ignore all polygons (front/back facing) behind.

-------------------
Maybe looking at the post when you made the change (to paint selection) may remind you how it used to work:- http://voidworld.cmcproductions.co.uk/index.php/topic,2162.0.html



« Last Edit: December 23, 2014, 07:35:31 am by steve »

  • No avatar
  • Posts: 3716
  • Developer
  • Administrator
  • Polygon
December 23, 2014, 09:09:00 am
Can you try it again.
http://www.digitalfossils.com/Download/NVil-Dec-23-14-Debug.rar

I will look into the selection issue later.

  • No avatar
  • Posts: 2102
  • Polygon
December 23, 2014, 09:22:46 am
Can you try it again.

Pic attached showing popup info:-




  • No avatar
  • Posts: 3716
  • Developer
  • Administrator
  • Polygon
December 23, 2014, 10:57:04 am

  • No avatar
  • Posts: 2102
  • Polygon
December 23, 2014, 04:53:42 pm
The problem with "Inset" now appears to be fixed.

Thank you.