Method and system of improving silhouette appearance in bump mapping
AssigneeSilicon Integrated Systems Corp.
InventorRuen-rone Lee
Life of this patent
Estimating the term…
Abstract
The invention provides a method of improving silhouette appearance in bump mapping, which not only reduces the operation overhead of applying displacement mapping to a whole model but also retains the truly geometric shape in displaying the object silhouette. The invention comprises the following steps: receiving, checking vertex, checking subdivision, subdividing, repeating, displacing and bump mapping. The invention also discloses a system employing the method of improving silhouette appearance in bump mapping.
Claims20
A method of improving silhouette appearance in bump mapping comprising:
- a receiving step of receiving a triangle of a plurality of triangles;
- a checking vertex step of checking whether there is a vertex near silhouette in the triangle;
- a checking subdivision step of checking whether the triangle meets a predetermined criterion of subdivision if the result of the checking vertex step is “YES”;
- a subdividing step of subdividing the triangle if the result of the checking subdivision step is “YES”;
- a repeating step of repeating the receiving step, the checking vertex step, the checking subdivision step and the subdividing step until the triangle does not meet the predetermined criterion;
- a displacing step of displacing the vertex positions near silhouette along their normals according to the displacements obtained from displacement mapping if the result of the checking subdivision step is “NO”;
- and
- a bump mapping step of implementing bump mapping if the result of the checking vertex step is “NO”.
A system of improving silhouette appearance in bump mapping comprising:
- a receiving device for receiving a triangle of a plurality of triangles;
- a checking vertex device for checking whether there is a vertex near silhouette in the triangle;
- a checking subdivision device for checking whether the triangle meets a predetermined criterion of subdivision if there is a vertex near silhouette in the triangle;
- a subdividing device for subdividing the triangle;
- a repeating device for conducting the receiving device, the checking vertex device, the checking subdivision device and the subdividing device to repeat their own operations until the triangle does not meet the predetermined criterion, and then inputting the triangle into the displacing device;
- a displacing device of displacing the vertex positions near silhouette along their normals according to the displacements obtained from displacement mapping;
- and
- a bump mapping device of implementing bump mapping if there is no vertex near silhouette in the triangle or after the triangle has been processed by the displacing device.
A machine-readable record medium storing a program for instructing an MPU (Microprocessor Unit) etc. to execute a method of improving silhouette appearance in bump mapping, the method comprising:
- a receiving step of receiving a triangle of a plurality of triangles;
- a receiving step of receiving a triangle of a plurality of triangles;
- a checking vertex step of checking whether there is a vertex near silhouette in the triangle;
- a checking subdivision step of checking whether the triangle meets a predetermined criterion of subdivision if the result of the checking vertex step is “YES”;
- a subdividing step of subdividing the triangle if the result of the checking subdivision step is “YES”;
- a repeating step of repeating the receiving step, the checking vertex step, the checking subdivision step and the subdividing step until the triangle does not meet the predetermined criterion;
- a displacing step of displacing the vertex positions near silhouette along their normals according to the displacements obtained from displacement mapping if the result of the checking subdivision step is “NO”;
- and
- a bump mapping step of implementing bump mapping if the result of the checking vertex step is “NO”.
A system of improving silhouette appearance in bump mapping comprising:
- a CPU;
- and
- a memory storing instructions so that the CPU can access instructions stored in the memory and execute a method of improving silhouette appearance in bump mapping, wherein the method comprising:
- a receiving step of receiving a triangle of a plurality of triangles;
- a checking vertex step of checking whether there is a vertex near silhouette in the triangle;
- a checking subdivision step of checking whether the triangle meets a predetermined criterion of subdivision if the result of the checking vertex step is “YES”;
- a subdividing step of subdividing the triangle if the result of the checking subdivision step is “YES”;
- a repeating step of repeating the receiving step, the checking vertex step, the checking subdivision step and the subdividing step until the triangle does not meet the predetermined criterion;
- a displacing step of displacing the vertex positions near silhouette along their normals according to the displacements obtained from displacement mapping if the result of the checking subdivision step is “NO”;
- and
- a bump mapping step of implementing bump mapping.
Dependencies are inferred from the claim text.