为了将三维物体紧密地贴合在曲面上,提出一种生成曲面浮雕的方法.首先分别提取三维物体及其所依附曲面的高度场,并把它们转换为各自的梯度场;沿用平面浮雕的压缩方法,仅对物体的梯度场进行压缩,并将压缩后的梯度场与曲面梯度场进行矢量运算,得到曲面浮雕的梯度场;最后通过积分求解得到曲面浮雕高度场.通过对贴合物体轮廓线处的梯度的调整,可实现物体的紧密贴合、上浮或下陷效果;且底曲面可以为凸面和凹面.
In this paper, a method for relief generation on curved surfaces is proposed, which compresses a given 3D model and sticks it on a curved surface closely. In the proposed method, the height fields of both a 3D model and the curved surface are first retrieved, and gradient fields are computed based on the height fields. The obtained gradient fields are then compressed using a similar method as for flat relief generation. The gradients of curved surface with relief are obtained by vector operations between the compressed gradient field of the object and the original gradient field of the surface. Finally the relief's height field is achieved by integration. The experiments show the results that the surfaces can be either concave or convex, and the relief can lie on, above or below the stitched surface.