Virtual realization of tobacco leaves based on ball B-spline function