Chaos Corona for Cinema 4D > [C4D] Daily Builds

Problem Scatter Edge Trimming

(1/5) > >>

fabio81:
Hello guys,

can anyone tell me why not all the branches are cut or some? the setting is just like the other shaders, ie in the alpha channel there is the appropriate shader.
Thank you

Beanzvision:
Looks like it might have something to do with the pivot handle of your object at a guess.


For more details on the edge trimming shader, please feel free to visit this article:
https://support.chaos.com/hc/en-us/articles/5244883674897-How-to-use-Chaos-Scatter-with-Corona-for-Cinema-4D-Advanced-Features#h_01GG6J1CWE8HJ5S0N5XV647AF9

TomG:
Edge trimming doesn't cut off the geometry - it looks at where the pivot point is, and if it is inside the edge boundary, the instance is rendered - even if the geometry then "sticks out" beyond the edge. This is to stop things like flowers cut in half, rocks cut in half, etc.  It is possible to do such a hard cut, you could use a Corona slicer for instance, or Corona Distance Maps into opacity, but it's not the aim of the Edge Trimming.

fabio81:
it is perfectly centred

TomG:
It's not a question of whether the pivot is centered in the original geometry - it's a question of whether the pivot in the scattered instance lies inside the edge trimming area. If it does, the instance is rendered, even if the geometry in that instance will "stick out" past the edge trimming area. This is working as expected. Edge trimming does NOT cut any branches or any geometry, it simply decides whether an instance gets rendered based on whether the pivot point of the instance is inside the area. To cut geometry, you need to use the Corona Slicer, or a Distance Map in the opacity slot of a material, etc.

Navigation

[0] Message Index

[#] Next page

Go to full version