Quote Originally Posted by User137 View Post
I suppose it's safest to have 3 segments per corner. 1 in the middle and 1 at each side entry point.
I think you didn't undersstand me correctly.
I wanna know if there is a way for me to calculate how many points that form the Catmull-rom curve do I need so that the distance between them would be in some minimum/maximum range.
I need this becouse I will be using Catmull-rom function as a guideline for creating 2d mesh for road. So if I have to litle of these pints that would be clearly visible by smal straight section that form the road cruve. And if I have to many of these ponts I'm just wasting GPU time as it will increase the number of triangles that form this 2d mesh.
In theory larger the curve the larger number of sections/curve points it requires. But how to calculate the number of these.