2
$\begingroup$

[I butchered the question with a heavy hand, you can still access the previous revision here - MVB]

I use the same field for Selection of those nodes:

  • Distribute Points on Faces
  • Set Material

and yet the first node distributes some points on faces, where a material wasn't set by the second node. What causes this discrepancy and how to fix it?

The Selection field:

$\endgroup$
5
  • $\begingroup$ Can you share your .blend? First thing I'd try is to remove "Points to Volume" and instance icospheres on the points, to make sure those pixels aren't some other artifact. Also perhaps you have some vertical faces that are invisible in this perspective, but spawn points which still are visible… $\endgroup$ Jul 29, 2023 at 18:05
  • $\begingroup$ @Markus von Broady I am using some purchased nodes so I can't share the blend. I will try to generate the terrain without those nodes. As far as invisible faces there are only two materials on the separated plane, the blue water texture and the red selection color. $\endgroup$
    – Grandpa3D
    Jul 29, 2023 at 18:15
  • $\begingroup$ You can apply the geonodes before the problematic nodes, sharing only the product of proprietary custom groups, not the groups themselves. $\endgroup$ Jul 29, 2023 at 18:17
  • $\begingroup$ sorry for the delayed response. I will attempt that. $\endgroup$
    – Grandpa3D
    Jul 30, 2023 at 16:09
  • $\begingroup$ Here is the link. link $\endgroup$
    – Grandpa3D
    Jul 30, 2023 at 17:01

1 Answer 1

2
$\begingroup$

From the docs:

Set Material

Selection

Whether to change the material of each face[…]

Distribute Points on Faces

Selection

The selection of which face corners[…]

Therefore the difference comes from the fields being evaluated in different domains: face vs face corner. Possible solutions:

  • using Evaluate on Domain node before one of the pair of problematic nodes, and switching the domain to the domain used by the other node,
  • capturing an attribute in face domain, and reading the captured attribute, as that face → face corner interpolation is an exact copy of a value,
  • setting a material first, and then using a material index for the selection.

$\endgroup$
2
  • $\begingroup$ That Did the job. Thank you for the answer along with the why things were behaving inconstantly. Very Thorough Great job :) $\endgroup$
    – Grandpa3D
    Jul 30, 2023 at 19:48
  • $\begingroup$ @Grandpa3D We tend to express a thank you with an upvote here. ;-) $\endgroup$
    – quellenform
    Jul 30, 2023 at 23:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .