Replies: 2 comments 19 replies
-
Yes, geogram has a generic attribute handling mechanism, with generic attribute interpolation that will work for interpolating UV coordinates and colors. All the wires at not plugged yet in the mesh intersection code, but it is doable:
|
Beta Was this translation helpful? Give feedback.
-
It seems that attributes 'don't work' through So, by the time I tried adding
At the end of It seems like I could handle this transfer very manually via |
Beta Was this translation helpful? Give feedback.
-
What happens to attributes when various operations are done on meshes?
In particular, I have two cases I care about -- and I am mostly concerned with Boolean (like) operations.
ID's of faces -- every triangle may have a unique (integer) ID number, or a group may share a groupID. When a triangle is split (during the intersection process), I would like the sub-triangles to inherit the value of the parent ID and groupID.
U,V parametric coordinates of vertices -- vertex viewed from a face -- every vertex will have (floating point) U,V coordinates. When a triangle is split (during the intersection process), I would like the new vertices to be assigned interpolated U,V coordinate values. Vertices along an intersection come from both MeshA and MeshB, so while there would be a single XYZ, I would want those verts to have a U_A,V_A and U_B,V_B.
I can imagine other cases where different behavior may be desired -- depending on the meaning of the quantity and the operation being performed. Since no single answer fits for all purposes, a flexible system probably allows choice. Perhaps Geogram provides a callback function to handle this situation...
Beta Was this translation helpful? Give feedback.
All reactions