Howard Trickey howardt
  • Joined on 2011-05-01
Howard Trickey suggested changes for blender/blender#114545 2024-08-16 22:54:00 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

I made some minor requests for changes. I think it is ready for commit after those are addressed, but Campbell might want to look too.

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:59 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

The code below assumes neither angle1 nor angle2 is zero. What if triangles are degenerate?

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:59 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

This will fail if either a or b is a zero vector. Do we believe that all calls of this will guarantee non-zero length arguments? E.g., in find_vertex_to_opposite_angles_correspondence below, what if a triangle has two equal vertices?

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:58 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

The 3 here seems kind of arbitrary. How was this arrived at? Should there be some kind of user control over this?

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:57 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

remove "indices] "

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:56 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

Are we guaranteed that dblA != 0? I wonder what happens with degenerate triangles.

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:55 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

Since this is part of the external interface of slim to the rest of Blender, it would be good to do a better job of documenting what these data members are. For instance, the vectors called ..._matrices are actually linearized versions of matrices and the comments could explain things like that.

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:54 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

I know that this file is an adapted version of https://github.com/libigl/libigl/blob/main/include/igl/slim.h and as such, we probably want to allow disobeying some of Blender's code style conventions in order to make it easier to incorporate upstream fixes. But skipInitialization, validPreInitialization, etc., as well as withWeightedParameterization etc below, all seem to be new coded added for Blender. As such, I would prefer that Blender's naming convention be used, which is snake_case, so, e.g., skip_initialization, etc., for all variables that are not in the original igl code. However I am not insisting on this point, since there are numerous other variables not following the convention. Campbell, do you have a strong feeling one way or the other here?

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 22:53:53 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

Would be nice to explain what this added field is for in a comment (of course it would be nice to explain what all the fields are for in the comment). I notice that There is a Python API object, BMLoopUV, https://docs.blender.org/api/current/bmesh.types.html#custom-data-layer-types , giving access to this struct. Should that be extended with this new field?

Howard Trickey commented on pull request blender/blender#114545 2024-08-16 17:18:39 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

I agree that is appropriate for interfacing with code in intern/

Howard Trickey commented on pull request blender/blender#114545 2024-08-08 21:32:00 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

The final set of reviewers is me and Campbell. I am going to have time to look at this tomorrow.

Howard Trickey pushed to manifold_extern at howardt/blender 2024-07-18 03:51:21 +02:00
49292e0ecc Progress towards merging triangles.
Howard Trickey commented on pull request blender/blender#114545 2024-07-15 02:47:52 +02:00
The SLIM UV unwrap algorithm implementation for Blender 4.x

I tried this out and it seems to work well. @glukoz are you still working on things, or do you think it is ready at this point?

Howard Trickey commented on pull request blender/blender#124701 2024-07-15 01:40:47 +02:00
Fix #124545: Axis constraints in knife failing

This looks good to me. Will you commit it to the release branch please, as this needs fixing before 4.2 is released.

Howard Trickey commented on issue blender/blender#124545 2024-07-14 21:14:23 +02:00
Knife tool failure in 4.2

Germano, I looked at this some, but the combination of efd3c4b3c9 and the previous one have so changed the logic of what is going on that I can't figure out what is supposed to be happening. It…

Howard Trickey pushed to main at blender/blender-developer-docs 2024-07-05 01:24:30 +02:00
8b0dd1d812 Update docs/release_notes/4.2/geometry_nodes.md
Howard Trickey commented on issue blender/blender#114476 2024-06-18 13:20:02 +02:00
Exact Boolean V2

No, I am not sure I will complete this version of Exact Boolean V2 at this point. I was running into a number of hard-to-fix issues and then I learned about the Manifold Boolean library, which…

Howard Trickey commented on issue blender/blender#122096 2024-06-17 13:47:10 +02:00
Crash after editing multi-user mesh data with two scenes open

It triggers an assert in CustomData_get_active_layer_index (the data argument has no layers or any other data).

Howard Trickey pushed to main at blender/blender-developer-docs 2024-06-03 12:51:40 +02:00
928254c6a1 Update docs/handbook/bug_reports/hardware_list.md
Howard Trickey commented on issue blender/blender#121717 2024-05-30 20:05:25 +02:00
Crash when extruding mesh after removing element with bmesh in edit mode

Try moving the ensure_lookup_table() calls after you delete things.