CylinderBufferGeometry with Tapered (Mitered) ends

Hello everyone,
For my project’s needs, I built a function that changes attributes.position values to taper the cylinders ends.
Currently it works perfectly only if heightSegments = 1, but I could probably fix that too.

I think that it would be useful for many users to have the above extra feature, and I don’t think it consumes many resources.
What do you think?
Would you be interested to add it at some point?

I adjusted the docs/scenes/geometry-browser.html to do it, I attach the file here.

geometry-browser-mitered.html (7.9 KB)

And here is an application:

In the last years the geometry generators were not further enhanced since they already have a certain complexity which is not easy to maintain. Hence, I doubt that this feature will be accepted in the main repository.

However, feel free to share your implementation in the Resource category of this forum.

1 Like

Thank you @Mugen87

related

1 Like

Wow @hofk!!