# Support curve component in attribute proximity and attribute transfer nodes #88630

Open
opened 2021-05-27 16:52:46 +02:00 by Hans Goudey · 16 comments
Collaborator

This will involve creating a BVH from the curve data, so the two nodes are related.

This will involve creating a BVH from the curve data, so the two nodes are related.
Poster
Collaborator

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Poster
Collaborator

Do you plan on finding the exact closest point when a `Curve` is the `Target` (or are you planning to convert to mesh)? I assume the exact approach will involve finding the root(s) of a polynomial.

When a `Curve` is the source `Geometry`, on which domain is the output attribute going to be stored? The control points? I'm not fully familiar yet with the domains for curves. It's control points and segments right?

Do you plan on finding the exact closest point when a `Curve` is the `Target` (or are you planning to convert to mesh)? I assume the exact approach will involve finding the root(s) of a polynomial. When a `Curve` is the source `Geometry`, on which domain is the output attribute going to be stored? The control points? I'm not fully familiar yet with the domains for curves. It's control points and segments right?
Poster
Collaborator

Hi @victorlouis, sorry I missed your message! I'm not sure how that happened.

In #88630#1167621, @victorlouis wrote:
Do you plan on finding the exact closest point when a `Curve` is the `Target` (or are you planning to convert to mesh)? I assume the exact approach will involve finding the root(s) of a polynomial.

The curve code is generally based on using a set of "evaluated points", so all of the math is still quite discrete. So distance would just be either the distance from each evaluated position (in points mode) or the distance from the "edges" between those positions (in edge mode).

When a `Curve` is the source `Geometry`, on which domain is the output attribute going to be stored? The control points? I'm not fully familiar yet with the domains for curves. It's control points and segments right?

There are just two domains, spline and control points (the same "point" domain as meshes and point clouds), so the result would be stored on the point domain.

Hi @victorlouis, sorry I missed your message! I'm not sure how that happened. > In #88630#1167621, @victorlouis wrote: > Do you plan on finding the exact closest point when a `Curve` is the `Target` (or are you planning to convert to mesh)? I assume the exact approach will involve finding the root(s) of a polynomial. The curve code is generally based on using a set of "evaluated points", so all of the math is still quite discrete. So distance would just be either the distance from each evaluated position (in points mode) or the distance from the "edges" between those positions (in edge mode). > When a `Curve` is the source `Geometry`, on which domain is the output attribute going to be stored? The control points? I'm not fully familiar yet with the domains for curves. It's control points and segments right? There are just two domains, spline and control points (the same "point" domain as meshes and point clouds), so the result would be stored on the point domain.

So the functionality of this when using a curve as target should accomplish the exact same as curve -> curve to mesh -> attribute proximity right? But be more efficient as it would skip the mesh conversion step?

So the functionality of this when using a curve as target should accomplish the exact same as curve -> curve to mesh -> attribute proximity right? But be more efficient as it would skip the mesh conversion step?
Poster
Collaborator

Right, exactly. And for attribute transfer it should support any curve attribute.

Right, exactly. And for attribute transfer it should support any curve attribute.

self-assigned this 2022-01-21 01:25:28 +01:00

Please assign to me, I have the Proximity part implemented.

Please assign to me, I have the Proximity part implemented.

Collaborator

was unassigned by Iliya Katueshenock 2022-10-18 22:24:38 +02:00
Collaborator

As far as I understand, this task is now free.

As far as I understand, this task is now free.

removed the label 2023-02-10 08:44:49 +01:00
No Label
No Milestone
No project
No Assignees
9 Participants