0
$\begingroup$

This answer has a noise texture control the value of the bevel_weight_edge attribute in geometry nodes – but it doesn't work for me (the texture is too stretched):

enter image description here

Is there another way to randomise bevel weight? (Or a fix to the texture stretching?)

$\endgroup$
2
  • $\begingroup$ If you are rendering with cycles, you could use the bevel shading node. $\endgroup$
    – Leander
    Mar 25 at 14:32
  • $\begingroup$ @Leander How though? $\endgroup$ Mar 26 at 4:58

1 Answer 1

0
$\begingroup$

You can change to the following:

enter image description here

Your vertex group input should be a string and its value retreived using "named attribute".

And from that, simply plug a random node into the bevel weight value.


From your question in comments: how to define bevel weight from the vertices of a vertex group:

enter image description here

This samples the vertex group from the edge vertex indices, and check if the vertices have a non null value in this vertex group.

And from that, assign a bevel weight to bevel_weight_edge attribute.

Of course you can change things above: for instance, should the edge be bevelled because only one vertex has a weight in the vertex group (using or instead of and), or other.

$\endgroup$
7
  • $\begingroup$ Is there a way to make it random across a single edge like the answer I linked? $\endgroup$ Mar 26 at 4:54
  • $\begingroup$ You mean using the vertex group like in your file, or a random edge? $\endgroup$
    – lemon
    Mar 26 at 6:29
  • $\begingroup$ Just the edges bevelled from vertex group. $\endgroup$ Mar 26 at 8:24
  • $\begingroup$ I'm sorry what is the second set up meant to be doing? I should have been more clear: I want the bevel weight to vary within edges, like this $\endgroup$ Mar 27 at 6:37
  • $\begingroup$ Well, no it was not clear: an edge is delimited by two vertices. The link you just provided has subdivision. So you need to subdivide the mesh (as you want) and set random bevel. The way it should be subdivided is to determinate, but GN won't be able to do it like in your image (as there will be horizontal subdivisions). $\endgroup$
    – lemon
    Mar 27 at 7:22

You must log in to answer this question.

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