1 Create a new document in Photoshop with 600*800 300ppi and a black background color. Use the pen tool to draw the outline of the cup, as shown in the picture.
2 Convert this path to a selection (ctrl+enter), fill it with white, if it is incomplete, use a brush to complete it.
3 Select the outer contour of the cup and feather it (ctrl+alt+D), set the feather value to 100, and then fill it with black.
4 Use Levels (ctrl+l) to increase the contrast of this cup until you feel it is acceptable.
5 Use the Elliptical Selection Tool (M) to select the mouth of the cup, and use the Gradient Fill Tool (G) to fill it from black to white, as shown in the picture.
6 In the same way, use the Ellipse Selection Tool to select the bottom of the cup, and use the Gradient Fill Tool to fill it from white to transparent, as shown in the picture.
7 Then use the Pen Tool (P) to draw the lighter part of the cup and convert it into a selection, as shown in the picture. 8 Increase the brightness (ctrl+u).
9 Then use the pen tool to draw the highlight of the cup, convert it to a selection, and use the gradient fill tool to fill it downward from white to transparent.
10 Select all of this layer (ctrl+A), then copy (ctrl+C). So far it's all on the same layer.
11 Bring up the channel bar and create a new Alpha 1 channel.
12 Paste the layer you just copied into this Alpha channel.
13 Hold down ctrl and click on this channel to bring up the selection of the cup.
14 Return to the layer panel, create a new layer, and fill the cup selection just called up in the channel with white (it can also be other colors), depending on what color you like the cup.
15 The cup looks like it. Is the transparent effect pretty good?