Claims
- 1. A method for assigning coefficients to a texel of a parametric texture map (PTM) texture, comprising:
(a) generating a random PTM matrix of a desired size, said random PTM matrix comprising texels possessing random valued coefficients; (b) selecting a texel from said random PTM matrix; (c) determining a first neighborhood of said texel from said random PTM matrix; (d) comparing said first neighborhood to neighborhoods of a sample PTM textire to determine an optimal texel of said sample PTM texture; and (e) assignindg PTM coefficients of said optimal texel to said texel from said random PTM matrix.
- 2. The method of claim 1 further comprising the step of:
(f) repeating steps (a)-(e) for each texel of said random PTM matrix.
- 3. The method of claim 1 wherein said step of comparing comprises:
evaluating each texel of said first neighborhood utilizing at least one u,v pair, wherein u and v define intensities of illumination in orthogonal directions in said plane.
- 4. The method of claim 3 wherein said step of evaluating utilizes at least three u,v pairs.
- 5. The method of claim 1 wherein said step of comparing comprises the sub-steps of:
evaluating each texel for a second neighborhood utilizing said at least one u,v pair,. said second neighborhood being one of said neighborhoods of said sample PTM texture; and calculating a norm between values associated with said first neighborhood and values associated with said second neighborhood.
- 6. The method of claim 5 wherein said sub-step of calculating a norm includes summation over chromatic channels.
- 7. The method of claim 3 wherein said at least one u,v pair is selected such that (u2+v2)1/2 approximately equals 0.9.
- 8. The method of claim 3 wherein multiple u,v pairs are utilized and said multiple u,v pairs are selected to maximize separation between adjacent u,v pairs.
- 9. The method of claim 1 wherein said step of generating a random PTM matrix comprises the sub-steps of:
randomly selecting a texel from said sample PTM texture; and assigning coefficients of said selected texel to a particular texel of said random PTM texture.
- 10. The method of claim 1 wherein said step of comparing comprises the sub-step of:
searching a tree-structure vector quantization (TSVQ) tree.
- 11. The method of claim 1 further comprising the step of:
constructing a multi-resolution data structure from said random PTM matrix.
- 12. A system for creating a synthesized texture from a sample texture, comprising:
a first data structure defining a sample texture of a first plurality of texes, said first data structure comprising a plurality of coefficients for each texel of said first plurality of texels, and said plurality of coefficients defirung lighting characteristics of the respective texel in response to illumination in a plane; a second data structure defining a random texture of a second plurality of texels, said second data structure comprising a plurality of random coefficients for each texel of said second plurality oftexels, and said plurality of coefficients defining lighting characteristics of the respective texel in response to illumination in said plane; and a transformation algorithm, saidtransformation algorithm operable to determine a first neighborhood of a selected texel associated with said second data structure, said transformation algorithm being operable to compare said first neighborhood to neighborhoods associated with said first data structure to determine an optimal texel from said first plurality of texels, and said transformation algorithm operable to assign coefficients associated with said optimal texel to said selected texel.
- 13. The system of claim 12 wherein said transformation algorithm is operable to evaluate each texet of said first neighborhood utilizing at least one u,v pair, wherein u and v define intensities of illumination in orthogonal directions in said plane.
- 14. The system of claim 13 wherein said transformation algorithm is operable to utilize multiple u,v pairs, and wherein said multiple u,v pairs are selected to maximize separation distance between said multiple u,v pairs.
- 15. The system of claim 13 wherein at least three u,v pairs are utilized.
- 16. The system of claim 12 wherein said random coeffilcients for each texel of said second plurality of texels are determined by assigning coefficients of a randomly selected texel from said first plurality of texels.
- 17. The system of claim 12 wherein said transformation algorithm performs a norm calculation between said first neighborhood and a second neighborhood associated with said first data structure.
- 18. The system of claim 17 wherein said norm calculation sums over a plurality of chromatic channels.
- 19. The system of claim, 12 wherein said transformation algorithm is operable to search a tree-structure vector quantization (TSVQ) tree.
- 20. The system of claim 12 wherein said transformation algorithm constructs multi-resolution data structures from said first data structure and said second data structure.
- 21. A system for synthesizing a parametric texture map (PTM) texture of a desired size from a sample PTM texture, comprising:
code for generating a random PTM matrix of said desiredd size, said random PTM matrix comprising texels possessing random valued coefficients; code for determining a first neighborhood of a selected texel from said random PTM matrix; code for comparing said first neighborhood to neighborhoods of said sample PTM texture to determine an optimal texel of said PTM texture; and code for assigning PTM coefficients of said optimal texel to said selected texel.
- 22. The system of claim 21 wherein said code for determining evaluates each texel of said first neighborhood utilizing at least one u,v pair, wherein u and v define intensities of illumination in orthogonal directions in a plane.
- 23. The system of claim 22 wherein said code for comparing performs norm calculations between values associated with said first neighborhood and neighborhoods of said sample PTM texture, said values being generated utilizing said at least one u,v pair.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The present invention is related to co-pending and commonly assigned U.S. patent application Ser. No. 69/528,700, entitled “APPARATUS FOR AND METHOD OF RENDERING 3 D OBJECTS WITH PARAMETRIC TEXTURE MAPS,” co-pending and commonly assigned U.S. patent application Ser. No. ______, entitled “SYSTEM AND METHOD FOR RENDERiNG A TEXTURE MAP UTILIZING AN ILLUMINATION MODULATION VALUE,” and co-pending and commonly assigned U.S. patent application Ser. No. ______, entitled “SYSTEM AND METHOD FOR PERFORMING TEXTURE SYNTHESIS,” which are incorporated herein by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09921476 |
Aug 2001 |
US |
Child |
10683196 |
Oct 2003 |
US |