Citations
Referenced by
Claims1. In a computer-assisted design system having a graphic output device, a method for providing surface detail to computer-generated two-dimensional graphic images of three-dimensional objects to create a three-dimensional appearance including generating a perspective mesh on a computer-generated two-dimensional graphic image such that said mesh creates a three-dimensional visual appearance, mapping surface detail to said mesh such that said surface detail produces a three-dimensional appearance and producing on said graphic output device a graphic visual image of said two-dimensional graphic image with said surface detail applied, the improvement comprising:
2. The method for providing surface detail in claim 1 in which said step of building a table includes storing two-dimensional offset coordinates of each pixel on said two-dimensional graphic image from reference locations on said perspective mesh and said step of applying the selected surface detail includes mapping said offset coordinates to said array of pixels making up the selected surface detail and selecting the pixels located by said mapping said offset coordinates. 3. The method for providing surface detail in claim 2 in which said step of applying the selected surface detail further includes applying the array of pixels making up the selected surface detail pixel-by-pixel in the same sequence as said step of scanning. 4. The method for providing surface detail in claim 3 in which said step of allocating a two-dimensional buffer includes storing illegal parameter values in substantially all locations in said buffer, said step of building a table includes replacing illegal parameter values with said two-dimensional offset coordinates of scanned pixels and in which said step of applying the selected surface detail further includes testing each location in said table for illegal entries and responding to illegal entries by developing a pixel to apply to the two-dimensional graphic image from characteristics of pixels previously applied to said two-dimensional graphic image. 5. The method for providing surface detail in claim 4 in which said step of building a table includes replacing said two-dimensional offset coordinates stored in said buffer with subsequently scanned said two-dimensional offset coordinates for the same two-dimensional graphic image pixel. 6. The method for providing surface detail in claim 2 in which said step of building a table includes replacing said two-dimensional offset coordinates stored in said buffer with subsequently scanned said two-dimensional offset coordinates for the same two-dimensional graphic image pixel. 7. The method for providing surface detail in claim 2 in which said step of applying the selected surface detail to said mesh includes:
8. The method for providing surface detail in claim 1 in which said step of building a table further includes storing color parameters of said each pixel of said two-dimensional graphic image and said step of apply the surface detail to the mesh includes modifying color parameters of said array of pixels making up the selected surface detail with said color parameters retrieved from said table. 9. The method for providing surface detail in claim 8 in which said step of storing color parameters further includes selecting the maximum magnitude of a primary color of each pixel on said two-dimensional graphic image as said color parameters. 10. The method for providing surface detail in claim 9 in which said color parameters of said array of pixels making up the selected surface detail includes a primary color of each said array of pixels and in which said step of mapping the selected surface detail includes multiplying the magnitude of each primary color of said array of pixels making up the selected surface detail by said maximum magnitude of a primary color of the corresponding pixel on said two-dimensional graphic image. 11. In a computer-assisted design system having a graphic output device, a method for providing surface detail to computer-generated two-dimensional graphic images of three-dimensional objects to create a three-dimensional appearance comprising the steps of:
12. The method for providing surface detail in claim 11 in which said step of building a table includes allocating a buffer, substantially filling said buffer with illegal data entries and overwriting said illegal data entries with said offset coordinates of each said pixel. 13. The method for providing surface detail in claim 12 in which said step of mapping the two-dimensional offset coordinates includes detecting illegal data entries in said table and constructing a modified pixel from adjacent pixels. 14. The method for providing surface detail in claim 11 in which said step of building a table includes sequentially scanning pixels making up said two-dimensional image and providing at a reference location in said table one of said two-dimensional offset coordinates for only the latter of two scanned pixels having the same said reference location. 15. The method for providing surface detail in claim 11 further including building in said computer-assisted design system first and second tables of one-dimensional offset coordinates of pixels in said array of pixels making up the selected surface detail and in which said step of mapping said two-dimensional offset coordinates includes mapping a first component of said two-dimensional offset coordinates to said first table of one-dimensional offsets and selecting a first one-dimensional offset coordinate located by said mapping a first component, mapping a second component of said two-dimensional offset coordinates to said second table of one-dimensional offsets and selecting a second one-dimensional offset coordinate located by said mapping a second component and mapping said first and second one-dimensional offsets to said array of pixels making up the selected surface detail and selecting the pixel located by said mapping said first and second one-dimensional offsets. 16. The method for providing surface detail in claim 15 in which said table of two-dimensional offset coordinates defines an X-by-Y array of said two-dimensional offset coordinates corresponding to the array of pixels making up the two-dimensional graphic image, in which said first table of one-dimensional offsets has a length of X and in which said second table of one-dimensional offsets has a length of Y. 17. The method for providing surface detail in claim 16 in which said step of building first and second tables of one-dimensional offset coordinates further includes determining the M and N parameters of an M-by-N array of pixels making up the selected surface detail and storing a repetitive sequence including M one-dimensional offset coordinates in said first table of one-dimensional offset coordinates and storing a repetitive sequence including N one-dimensional offset coordinates in said second table of one-dimensional offset coordinates. 18. In a computer-assisted design system having a graphic output device, a method for providing surface detail to computer-generated two-dimensional graphic images of three-dimensional objects comprising the steps of:
19. The method for providing surface detail in claim 18 in which said step of building a table include storing for each pixel on said two-dimensional graphic image the maximum magnitude of a primary color parameter. 20. The method for providing surface detail in claim 19 in which said step of modifying the color parameters includes multiplying primary color parameters of said array of pixels making up the selected surface detail by said maximum magnitudes in said table and dividing the result by a constant. 21. The method for providing surface detail in claim 20 in which said computer is a digital computer and said constant is 256. 22. In a computer-assisted design system having an output device, a method for providing surface detail to computer-generated two-dimensional graphic images of three-dimensional objects to create a three-dimensional appearance comprising the steps of:
23. The method for providing surface detail in claim 22 in which said step of building a first table includes allocating a buffer, substantially filling said buffer with illegal data entries and overwriting said illegal data entries with said two-dimensional offset coordinates of each pixel on said two-dimensional graphic image. 24. The method for providing surface detail in claim 23 in which said step of producing a graphic visual image includes detecting illegal data entries in said first table and constructing a modified pixel from adjacent pixels. 25. The method for providing surface detail in claim 22 in which said step of building a first table includes sequentially scanning pixels making up said two-dimensional image and providing at a reference location in said first table one of said two-dimensional offset coordinates for only the latter of two scanned pixels having the same said reference location. 26. The method for providing surface detail in claim 22 further including building a third table relating the location of pixels in said array of pixels making up the selected surface detail to locations in said first table and in which said step of mapping said two-dimensional offset coordinates includes mapping said offset coordinates to said third table. 27. The method for providing surface detail in claim 26 in which said third table includes a pair of tables. 28. The method for providing surface detail in claim 22 in which said step of building a second table includes storing the maximum amplitude of a primary color parameter of each pixel on said two-dimensional graphic image. 29. The method for providing surface detail in claim 28 in which said step of modifying includes multiplying the primary color parameters of said array of pixels making up the selected surface detail by said maximum amplitude in said second table and dividing the result by a constant. 30. The method in claim 29 in which said computer is a digital computer and said constant is 256. 31. A system for providing surface detail to computer-generated two-dimensional graphic images of three-dimensional objects to create a three-dimensional appearance comprising:
32. The system in claim 31 in which said location data includes the two-dimensional offset coordinates of each said particular pixel on said two-dimensional graphic image from reference locations on said perspective mesh and said mapping means includes means responsive to said two-dimensional offset coordinates for mapping to said array of pixels making up the image of surface detail and for selecting the appropriate pixels. 33. The system in claim 32 in which said means for mapping includes means for applying the array of pixels making up the image of surface detail pixel-by-pixel in the same sequence as said scanning means. 34. The system in claim 33 in which said means for building a table includes means for storing illegal data values in substantially all locations in said buffer and means for replacing illegal data with said two-dimensional offset coordinates and in which said means for mapping includes means for testing each location in said buffer for illegal data and for responding to illegal data by developing a substitute pixel to apply to the graphic image from characteristics of pixels previously applied to said graphic image. 35. The system in claim 34 in which said means for building a two-dimensional table includes means for replacing said two-dimensional offset coordinates with subsequently scanned said two-dimensional offset coordinates for the same said particular pixel in said two-dimensional image. 36. The system in claim 32 in which said means for building a two-dimensional data table includes means for replacing said two-dimensional offset coordinates with subsequently scanned said two-dimensional offset coordinates for the same said particular pixel in said two-dimensional image. 37. The system in claim 32 further including:
38. The system in claim 31 in which said parameters include the magnitudes of at least two primary colors of said each pixel of said two-dimensional graphic image and said mapping means includes means for modifying a color parameter of a corresponding pixel in said array of pixels making up the image of surface detail as a function of said at least two primary colors. 39. The system in claim 38 in which said calculating means includes means for selecting the maximum magnitude of a primary color of each pixel of said two-dimensional graphic image as said data. 40. The system in claim 39 in which said color parameter of a corresponding pixel in said array includes a primary color of the particular pixel in said array of pixels making up the image of surface detail and said mapping means includes means for multiplying the magnitude of each primary color of pixels selected from said array of pixels making up the image of surface detail by the data in said table for the corresponding pixel of said two-dimensional graphic image. |