this post was submitted on 02 Nov 2024
7 points (100.0% liked)

Blender

2759 readers
2 users here now

A community for users of the awesome, open source, free, animation, modeling, procedural generating, sculpting, texturing, compositing, and rendering software; Blender.

Rules:

  1. Be nice
  2. Constructive Criticism only
  3. If a render is photo realistic, please provide a wireframe or clay render

founded 2 years ago
MODERATORS
7
submitted 1 month ago* (last edited 1 month ago) by drem to c/blender
 

I have an object and points (point cloud). I would like to modify the named attribute of the nearest vertex to each point. How to do this?

I tried using the "sample nearest" node, but I couldn't make a selection out of the output. Then I tried it with the "sample index" node, and it seemed like it was modifying the named attribute for all vertices for each point, or the "sample nearest" node used the source object's location instead of the point cloud.

I would appreciate some help

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 month ago* (last edited 1 month ago) (3 children)

Modifying how ? this is central to the question

This is how I understand it :

[โ€“] drem 1 points 1 month ago* (last edited 1 month ago)

I have an other named attribute and I would like to assign "1" to it for the vertices that are closest to the points.

Your solution is close to what I want

load more comments (2 replies)