By using the Shape tool. Using the Cylinder icon at the bottom of the 3D Panel.  Photoshop doesn't have this option, With shapes and filters.