Bottom cap for CylinderGeometry

Hello,

I would like to close the bottom cap of CylinderGeometry. I asked this question before and I was recommended to use a transparent mesh for the top (see code below). However, this solution doesn’t work well for my use case because I change the structure of the cylinder (making it look like a vase) and this creates a weird bump in the bottom when I use this solution (see image). This bump does not appear if I set openEnded to true, but then both caps are obviously open.

Is there a way to draw the bottom cap separately while keeping the cylinder openEnded?
Thanks!

var radialSegments = 100;
var heightSegments = 90;
var openEnded = false;		

cylinderGeom5 = new THREE.CylinderGeometry(radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded);

var materials = [
    new THREE.MeshPhysicalMaterial( {color: color, side: THREE.DoubleSide } ),
    new THREE.MeshPhysicalMaterial( {color: 0xffffff, side: THREE.DoubleSide, transparent: true, opacity: 0 } ),
    new THREE.MeshPhysicalMaterial( {color: color, side: THREE.DoubleSide } ),
];

cylinder5 = new THREE.Mesh(cylinderGeom5, materials);
scene.add(cylinder5);

From the picture and the code snippet one cannot see the cause, but perhaps you have only changed the mantle of the cylinder. And not also the bottom in the dimensions adapted?

Update:

It could also be that the mantel values themselves have not been changed correctly?

For a vase I would use

LatheBufferGeometry https://threejs.org/docs/index.html#api/en/geometries/LatheBufferGeometry

and

CircleBufferGeometry https://threejs.org/docs/index.html#api/en/geometries/CircleBufferGeometry

into one

group. https://threejs.org/docs/index.html#api/en/objects/Group

Thanks!
I manually change the value of each vertex in the Geometry to allow maximum customizations of the shape. Note that when I set openEnded to true there is no issue so I’m not sure my manipulations are the problem.

Attached examples for both states:
openEnded = false

openEnded = true

Do you have any idea on how I can close only the bottom cap?
Thanks again.

It is clear from the edge bead (when openEnded = false) that it is on the bottom.
Your radii for the bottom do not seem to be correct.

How to close the bottom I have indicated in the above post. Take a circle and form a group.

By the way, I also tried such deformations in the beginning.

See Bumblebee Mara https://hofk.de/main/discourse.threejs/2018/Xindex2018.html

How do I delete selected faces ?

x3d_face_del.txt (3.1 KB)