News:

 

Topic: New Tool Test "Draw Mesh"  (Read 51831 times)

0 Members and 3 Guests are viewing this topic.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 06, 2017, 01:39:48 pm
Try this
http://www.digitalfossils.com/Download/NVil-Sep-07-17.rar

5-- Close. To close an open line, press RMB at the line then tap Caps-Lock+Space key.
7-- MOVE. To move a line, LMB+Alt then drag.


Drawing strokes fails on random occasions. When it happens, usually toggling snapping on and off helps (ALT+S in my config).
https://drive.google.com/open?id=0B5_r9d5SdkIvVWdFU09iYy1qSTA

It always works fine on me. I just make some changes. Hopefully that will fix it.

  • No avatar
  • Posts: 976
  • Polygon
September 06, 2017, 03:24:00 pm
I have a problem with "Create lines inside rectangle" (CAPS+LMB drag). In some areas it fails and I'm not sure why. Could it be because of the position of several existing edges I'm trying to generate a patch from?
https://drive.google.com/open?id=0B5_r9d5SdkIvRGVPOHZ5WGd5cDg

EDIT: Hm, must be the camera projection thingy, because it works in some viewport angles.
« Last Edit: September 06, 2017, 03:26:17 pm by rubberDuck »

  • No avatar
  • Posts: 976
  • Polygon
September 06, 2017, 03:53:58 pm
Working near the symmetry plane is a little bit problematic. Sometimes vertices of generated mesh are welded, sometimes edges are not generated. In general, areas near the symmetry plane require some further manual cleanup. Not always, but most of the time. Could you please look into it?

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 06, 2017, 04:52:21 pm
I have a problem with "Create lines inside rectangle" (CAPS+LMB drag). In some areas it fails and I'm not sure why. Could it be because of the position of several existing edges I'm trying to generate a patch from?
https://drive.google.com/open?id=0B5_r9d5SdkIvRGVPOHZ5WGd5cDg

EDIT: Hm, must be the camera projection thingy, because it works in some viewport angles.

Can you chop that piece of geometry out and send me so I can test on my side?


Working near the symmetry plane is a little bit problematic. Sometimes vertices of generated mesh are welded, sometimes edges are not generated. In general, areas near the symmetry plane require some further manual cleanup. Not always, but most of the time. Could you please look into it?

Can you show the problem in a video?

  • No avatar
  • Posts: 976
  • Polygon
September 06, 2017, 05:11:38 pm
Can you chop that piece of geometry out and send me so I can test on my side?
Link to scene file sent via PM.
Patch will be generated when you rotate the viewport near the side view. In bottom view nothing will happen after CAPS+LMB drag.

Working near the symmetry plane is a little bit problematic. Sometimes vertices of generated mesh are welded, sometimes edges are not generated. In general, areas near the symmetry plane require some further manual cleanup. Not always, but most of the time. Could you please look into it?

Can you show the problem in a video?
Okay, I'll record one.

  • No avatar
  • Posts: 976
  • Polygon
September 07, 2017, 10:44:59 am
Another example regarding the inability to create patches with CAPS+LMB on some surfaces at standard viewport angles.
The camera angle required to generate the lines is very sharp here.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 07, 2017, 10:51:22 am
Try this
http://www.digitalfossils.com/Download/NVil-Sep-08-17.rar

Patch is improved.

Also see if this new feature helps on symmetry issues.
7-- MOVE. To move a line, LMB+Alt then drag. While the line is being captured, tap Space key to snap it to symmetry plane.

  • No avatar
  • Posts: 976
  • Polygon
September 07, 2017, 01:17:10 pm
Try this
http://www.digitalfossils.com/Download/NVil-Sep-08-17.rar
Patch is significantly improved and it shows. Great job!

Quote
Also see if this new feature helps on symmetry issues.
7-- MOVE. To move a line, LMB+Alt then drag. While the line is being captured, tap Space key to snap it to symmetry plane.
When I ran it for the first time, it threw an exception. However it didn't crash NVil, so I was able to continue. Consequent invocations of the tool didn't throw further exceptions and the tool worked as it is supposed to (it straightens the line and snaps it to symmetry plane, although preceeded by a short delay which freezes NVil's interface for a couple of seconds).

Code: [Select]
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at DigitalFossil.AnimationDesign.ModelDesigner.Strln_DrawRetopo.OnMouseUp(Object sender, MouseEventArgs e, Boolean isTrueMouseUp)
   at DigitalFossil.AnimationDesign.ModelDesigner.StreamLineTool.OnMouseUpCall(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.ModelDesigner.StreamLineEngine.OnMouseUp(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.ModelDesigner.OnMouseUp(Object sender, MouseEventArgs e)
   at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.OnMouseUp(Object sender, MouseEventArgs e)
   at DigitalFossil.AbstractGraphicWindow.CursorClerk.OnMouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Anyway, I'm still experiencing problems with mesh generated near symmetry plane. Here are two examples in the same region.
I'm using bridge to automatically create lines between two pairs of existing edges.
On the first video, NVil takes several generated vertices, snaps them to symmetry plane and welds them together. As a result, I get triangles and topology that requires manual correction.
On the second video, a non-manifold geometry is created.

1: https://drive.google.com/open?id=0B5_r9d5SdkIvM1EwQTR2eHFHUjg
2: https://drive.google.com/open?id=0B5_r9d5SdkIvRDg5Z0lMaWZiczA

I also have a problem with how spline vertex snapping works in Draw Mesh tool. It makes the mouse cursor jump to vertex position, which is a completely different behaviour than what we can observe outside of the tool where it's only the crosshair that jumps to nearby vertex, and cursor still follows mouse movement (see the third video for a demo).
Because of this jumping cursor I keep overshooting the target and need to redraw the lines multiple times. It is quite annoying.

3: https://drive.google.com/open?id=0B5_r9d5SdkIva0tDOU1VUkRJNzA

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 07, 2017, 03:32:13 pm
When you did the symmetry cut, those vertices in the symmetry line does not snap to reference object's surface. That's why you have problem near the symmetry line. You can select those center lines and move it a little to let those vertices adjust themselves. I will fix the symmetry cut tool.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 08, 2017, 01:16:49 pm

  • No avatar
  • Posts: 976
  • Polygon
September 08, 2017, 06:07:45 pm
Thanks for fixing the jumping cursor. :)

Unfortunately I still keep running into problems when I'm operating near symmetry plane.
Also, NVil crashes every time when I'm trying to bridge a round mesh which is cut in half with a symmetry plane.

Both issues are shown on the video:
https://drive.google.com/open?id=0B5_r9d5SdkIvaXdqd01CeW11ekk

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 09, 2017, 09:05:20 am
Try this
http://www.digitalfossils.com/Download/NVil-Sep-10-17.rar

7-- TRANSFORM. To transform a line, LMB+Alt to capture it then drag. Rotate: Shift+Ctrl. Circularize: Caps-Lock. Scale: Shift/Ctrl/Caps-Lock. Snap to symmetry plane : Space.

  • No avatar
  • Posts: 976
  • Polygon
September 09, 2017, 01:15:46 pm
Quote
2-- To resume the drawing of a drawn line, Caps-Lock+RMB-Click the line at any of its two ends. Then continue its drawing or right click another line to connect.
IStonia, a resumed curve snaps to vertices of a reference mesh if vertex snapping is enabled.
It actually does not snap to reference object vertex. It snaps to the spline end. I will fix it.
I have the impression that this showed up again in the most recent build.

Also, NVil crashes every time when I'm trying to bridge a round mesh which is cut in half with a symmetry plane.
Okay, no more crashes here. :)
Circularize and line transforms are very helpful.


I didn't notice any improvements regarding working near a symmetry plane. Were there any in the last build?
For now I'm drawing my strokes off-symmetry and manually welding vertices to their mirrored counterparts after the mesh is generated.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
September 09, 2017, 01:49:23 pm
I didn't notice any improvements regarding working near a symmetry plane. Were there any in the last build?
For now I'm drawing my strokes off-symmetry and manually welding vertices to their mirrored counterparts after the mesh is generated.


Have you snapped the center line to symmetry plane by Space key?

  • No avatar
  • Posts: 976
  • Polygon
September 09, 2017, 02:00:12 pm
Yes, I did snap it.
But NVil sometimes generates clean geometry near the symmetry plane, and sometimes not.
« Last Edit: September 09, 2017, 02:04:17 pm by rubberDuck »