Spinning Pool Ball?

Hi guys,

I saw some pool games and when the pool balls roll the numbers and stripes on them go around the ball making it look very realistic. It looks like they are using 3D modelling. How do they do that ?

I’m talking about the graphics only, not the physics of the balls.