I'm currently experimenting with Blender's geometry nodes and curves to create arrays of instances along a curve, specifically using cubes as instances. However, I've run into two issues that I'm struggling to solve: Z-fighting between cube instances and uneven distribution of objects along the curve.
Z-Fighting Issue: When I create an array of cube instances along the curve, I'm noticing Z-fighting between the cubes. This seems to occur because the instances are very close to each other. How can I address this Z-fighting problem and ensure that the cube instances align perfectly along the curve without overlapping?
Unequal Instance Distribution: I've also observed that there are unequal numbers of cube instances between two vertices of the curve. This is causing an uneven distribution of cubes along the curve, which is not the desired outcome. How can I ensure that the instances are distributed uniformly along the curve, with a consistent gap between them?
I'm keen on finding a solution that combines both precise alignment of instances and an even distribution along the curve. Any advice, tips, or step-by-step instructions using Blender's geometry nodes would be greatly appreciated. Thank you in advance for your help!
Node Setup: