Page MenuHome

Frank Olthuis (Fury)
User

Projects

User does not belong to any projects.

User Details

User Since
May 11 2014, 11:17 AM (301 w, 5 d)

Recent Activity

Fri, Feb 14

Frank Olthuis (Fury) added a comment to T69234: Difference boolean doesn't work properly if the object that is used to cut has its normal direction outside (Isolated occurance).

Simplified version of the first file:


The fact that the center vertices of the cylinder coincide with the top face of the cube is critical. Possibly related to T68144.

Fri, Feb 14, 5:09 AM · Modifiers, Modeling, BF Blender

Thu, Feb 13

Frank Olthuis (Fury) edited reviewers for D6840: T68144: Fixed point-in-object test isect_bvhtree_point_v3_impl in bmesh_intersect.c, added: Campbell Barton (campbellbarton), Sergey Sharybin (sergey); removed: Bastien Montagne (mont29), Howard Trickey (howardt).
Thu, Feb 13, 11:11 PM
Frank Olthuis (Fury) updated the summary of D6840: T68144: Fixed point-in-object test isect_bvhtree_point_v3_impl in bmesh_intersect.c.
Thu, Feb 13, 10:57 PM
Frank Olthuis (Fury) updated the summary of D6840: T68144: Fixed point-in-object test isect_bvhtree_point_v3_impl in bmesh_intersect.c.
Thu, Feb 13, 10:57 PM
Frank Olthuis (Fury) added reviewers for D6840: T68144: Fixed point-in-object test isect_bvhtree_point_v3_impl in bmesh_intersect.c: Bastien Montagne (mont29), Howard Trickey (howardt).
Thu, Feb 13, 10:47 PM
Frank Olthuis (Fury) added a revision to T68144: Boolean Difference works like Boolean Union - modifier bug: D6840: T68144: Fixed point-in-object test isect_bvhtree_point_v3_impl in bmesh_intersect.c.
Thu, Feb 13, 10:44 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) created D6840: T68144: Fixed point-in-object test isect_bvhtree_point_v3_impl in bmesh_intersect.c.
Thu, Feb 13, 10:44 PM
Frank Olthuis (Fury) added a comment to T68144: Boolean Difference works like Boolean Union - modifier bug.

My initial diagnose was incorrect. I initially thought that isect_bvhtree_point_v3 gave the wrong result because the it found two intersection points that were so close together that they were incorrectly considered to be identical. The actual problem is that the ray exactly hits an edge of the cylinder, which is not recognized as such.

Thu, Feb 13, 9:14 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) updated the summary of D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Thu, Feb 13, 9:01 PM

Tue, Feb 11

Frank Olthuis (Fury) updated the summary of D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Tue, Feb 11, 4:20 AM
Frank Olthuis (Fury) updated the summary of D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Tue, Feb 11, 4:15 AM
Frank Olthuis (Fury) updated the summary of D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Tue, Feb 11, 4:10 AM

Sun, Feb 9

Frank Olthuis (Fury) updated the summary of D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:33 PM
Frank Olthuis (Fury) updated the summary of D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:30 PM
Frank Olthuis (Fury) updated the summary of D6796: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:18 PM
Frank Olthuis (Fury) added a revision to T68144: Boolean Difference works like Boolean Union - modifier bug: D6796: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:10 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) created D6796: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:10 PM
Frank Olthuis (Fury) added a revision to T68144: Boolean Difference works like Boolean Union - modifier bug: D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:08 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) created D6795: T68144: Fixed point-in-object test in bmesh_intersect: isect_bvhtree_point_v3.
Sun, Feb 9, 11:08 PM
Frank Olthuis (Fury) added a comment to T68144: Boolean Difference works like Boolean Union - modifier bug.

OK, I the problem is indeed that isect_bvhtree_point_v3 gives the wrong result. It determines whether a face is inside or outside a given object by casting a ray and counting the number of intersections of that ray with the object. If the number is even, it must be outside the object, if it is odd, it must be inside. A complicating factor here is that there may a small error in the calculation, which can make it difficult to determine this number of intersections correctly.
I think I have a fix for this, but I'm not 100% sure it is correct, so it may not pass code review.

Sun, Feb 9, 7:48 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) added a comment to T68144: Boolean Difference works like Boolean Union - modifier bug.

So, I've delved into the code a bit and found that isect_bvhtree_point_v3 appears to give the wrong result for the first face. I'm not sure why yet. But if you call BM_face_calc_center_median just before that call, it considers it a 'no hit', making the issue disappear, whereas the with the existing code, which calls BM_face_calc_point_in_face, it does consider it a hit and the issue shows. Mind you, calling BM_face_calc_center_median cannot be the correct fix. BM_face_calc_point_in_face does return a valid point inside the given face, just a different one than the median, so something else must be wrong. Investigating isect_bvhtree_point_v3 requires some understanding of the BVH tree, which is a bit out of my league, but I'll do my best.

Sun, Feb 9, 5:53 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) added a comment to T68144: Boolean Difference works like Boolean Union - modifier bug.

To rule out that the scale was filled in incorrectly somewhere, I recreated the same meshes with all scales set to 1. This shows the exact same issues:

Sun, Feb 9, 4:27 PM · Modifiers, Modeling, BF Blender
Frank Olthuis (Fury) added a comment to T68144: Boolean Difference works like Boolean Union - modifier bug.

Here is a simplified version of the file created by matc. The difference is that I created the cylinder with only 3 sides, which hopefully will make it easier to pinpoint the bug. I intend to have a look at the bug myself, as I've run into this many times, but I'm new to the blender code so I cannot give any guarantees.

Sun, Feb 9, 11:30 AM · Modifiers, Modeling, BF Blender

May 16 2014

Frank Olthuis (Fury) added a comment to T40171: Bezier curve to mesh creates duplicate vertices / edges.

Great to hear the user is taken seriously again. Sorry for being sarcastic, but really, this is very basic functionality that just doesn't work correctly. Your'e being very unprofessional.

May 16 2014, 1:10 AM · BF Blender

May 14 2014

Frank Olthuis (Fury) added a comment to T40171: Bezier curve to mesh creates duplicate vertices / edges.

BTW, I realize my control points overlap, but in my understanding of Bezier curves this should play no role. Moreover, if I move the vertices of the initial curve away from each other so that the control points no longer overlap, I keep seeing the same issue.

May 14 2014, 10:33 PM · BF Blender
Frank Olthuis (Fury) added a comment to T40171: Bezier curve to mesh creates duplicate vertices / edges.

Here are five files.
The first is the initial bezier curve.
The last is the resulting mesh, where I've applied a boolean operation with a cube that goes wrong, which according to you guys (T40139) is because the mesh contains duplicates





May 14 2014, 10:25 PM · BF Blender

May 13 2014

Frank Olthuis (Fury) raised the priority of T40171: Bezier curve to mesh creates duplicate vertices / edges from to 90.
May 13 2014, 12:51 AM · BF Blender

May 11 2014

Frank Olthuis (Fury) added a comment to T40139: Boolean operator gives incorrect or no result.

I see. Thanks. Will anyone fix the Curve-To-Mesh function then? Or should I add a feature request?

May 11 2014, 9:46 PM · BF Blender
Frank Olthuis (Fury) added a comment to T40139: Boolean operator gives incorrect or no result.

Ah, but now I've got a really simple situation where it goes wrong, even though all the normals seem ok:

May 11 2014, 3:15 PM · BF Blender
Frank Olthuis (Fury) added a comment to T40139: Boolean operator gives incorrect or no result.

Apologies again, that file still had some incorrect normals. After fixing those, the boolean operator does work ok, for this file at least.

May 11 2014, 1:55 PM · BF Blender
Frank Olthuis (Fury) added a comment to T40139: Boolean operator gives incorrect or no result.

Apologies, that last file had some incorrect normals. Fixed them here:

May 11 2014, 1:46 PM · BF Blender
Frank Olthuis (Fury) added a comment to T40139: Boolean operator gives incorrect or no result.

An even simpler example:

May 11 2014, 1:34 PM · BF Blender
Frank Olthuis (Fury) raised the priority of T40140: Feature request: support for Home/End and Delete keys in edit boxes from to 90.
May 11 2014, 1:12 PM · BF Blender
Frank Olthuis (Fury) raised the priority of T40139: Boolean operator gives incorrect or no result from to 90.
May 11 2014, 12:16 PM · BF Blender
Frank Olthuis (Fury) raised the priority of T40137: Boolean operator gives incorrect or no result from to 90.
May 11 2014, 12:03 PM · BF Blender