Abstract:
A texture mapping algorithm based on vector calculation was presented in the paper to meet the demand of reasonable texture warp on the scene surface. The algorithm divided the scene surface into warp control meshes according to the scene surface feature on the texture pattern distribution. Then, the algorithm used mesh edges as texture warp control vectors. The composite vector based on the control vectors could determine the mapping point. Meanwhile, realistic texture effect was obtained by the brightness synthesis of corresponding mapping points between the scene image and the texture image. For detail changes in the scene surface, a mesh adjusting method was presented. Furthermore, mapping area was obtained by fitting its boundary using cubic parametric spline curves, and a boundary polygonization algorithm based on curvature radius was given to exactly estimate the mapping area. By using the method we may create highly photo-realistic effect.