Apparatus and methods for wrapping texture onto the surface of a virtual object
First Claim
1. A method for wrapping a texture onto a surface of a three-dimensional virtual object, the method comprising:
- (i) rendering an arbitrarily-shaped-region of the surface of the three-dimensional virtual object in response to a user manipulation of a graphical user interface device;
(ii) defining a first patch over the user-defined region, the patch being a NURBS patch;
(iii) for each of a plurality of locations in the user-defined region, mapping the location to a corresponding location in a texture according to a mapping scheme wherein points of a planar mesh are adjusted to account for a spacing of corresponding points within the first patch, and wherein the texture is superimposed onto a second patch based on the adjusted planar mesh; and
(iv) assigning to each location in the arbitrarily-shaped, user-defined region a graphical value associated with the corresponding location in the texture, wherein the points of the planar mesh are adjusted to improve a quality metric associated with the spacing of corresponding points within the first patch, wherein the mapping scheme models at least a plurality of the points of the planar mesh as connected by mechanical modeling elements, and wherein the points of the planar mesh are adjusted to reduce an energy associated with the mechanical modeling elements.
5 Assignments
0 Petitions
Accused Products
Abstract
The invention provides techniques for wrapping a two-dimensional texture conformally onto a surface of a three dimensional virtual object within an arbitrarily-shaped, user-defined region. The techniques provide minimum distortion and allow interactive manipulation of the mapped texture. The techniques feature an energy minimization scheme in which distances between points on the surface of the three-dimensional virtual object serve as set lengths for springs connecting points of a planar mesh. The planar mesh is adjusted to minimize spring energy, and then used to define a patch upon which a two-dimensional texture is superimposed. Points on the surface of the virtual object are then mapped to corresponding points of the texture. The invention also features a haptic/graphical user interface element that allows a user to interactively and intuitively adjust texture mapped within the arbitrary, user-defined region.
-
Citations
19 Claims
-
1. A method for wrapping a texture onto a surface of a three-dimensional virtual object, the method comprising:
-
(i) rendering an arbitrarily-shaped-region of the surface of the three-dimensional virtual object in response to a user manipulation of a graphical user interface device; (ii) defining a first patch over the user-defined region, the patch being a NURBS patch; (iii) for each of a plurality of locations in the user-defined region, mapping the location to a corresponding location in a texture according to a mapping scheme wherein points of a planar mesh are adjusted to account for a spacing of corresponding points within the first patch, and wherein the texture is superimposed onto a second patch based on the adjusted planar mesh; and (iv) assigning to each location in the arbitrarily-shaped, user-defined region a graphical value associated with the corresponding location in the texture, wherein the points of the planar mesh are adjusted to improve a quality metric associated with the spacing of corresponding points within the first patch, wherein the mapping scheme models at least a plurality of the points of the planar mesh as connected by mechanical modeling elements, and wherein the points of the planar mesh are adjusted to reduce an energy associated with the mechanical modeling elements. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. An apparatus for wrapping a texture onto a surface of a three-dimensional virtual object, the apparatus comprising:
-
a memory for storing code that defines a set of instructions; and a processor for executing the set of instructions to; (i) define a first patch over an arbitrarily shaped, user-defined region, the first patch being a NURBS patch; (ii) for each of a plurality of locations in the arbitrarily-shaped, user-defined region of the surface of the three-dimensional virtual object, map the location in the user-defined region to a corresponding location in a texture according to a mapping scheme wherein points of a planar mesh are adjusted to account for a spacing of corresponding points within the first patch, and wherein the texture is superimposed onto a second patch based on the adjusted planar mesh; and (iii) assign to each location in the user-defined region a graphical value associated with the corresponding location in the texture, wherein the points of the planar mesh are adjusted to improve a quality metric associated with the spacing of corresponding points within the first patch, wherein the mapping scheme models at least a plurality of the points of the planar mesh as connected by mechanical modeling elements, and wherein the points of the planar mesh are adjusted to reduce an energy associated with the mechanical modeling elements. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification