CPC G06T 11/001 (2013.01) [G06T 7/60 (2013.01); G06T 7/70 (2017.01); G06T 7/90 (2017.01); G06T 2207/10024 (2013.01); G06T 2210/62 (2013.01)] | 15 Claims |
1. A method for rendering, comprising:
determining colors of a plurality of predetermined areas on a target object, the number of the predetermined areas being at least a predetermined number, which is greater than 1;
determining a target color to be superimposed to a target position according to a color of each predetermined area in the plurality of predetermined areas, comprising:
superimposing the color of each predetermined area with a first opacity on white to obtain a first color;
adjusting a saturation of the first color to a saturation threshold range, and adjusting a brightness of the first color after adjusting the saturation to a brightness threshold range to obtain the target color;
superimposing the color of each predetermined area with a second opacity on white to obtain a second color; and
adjusting a saturation of the second color to the saturation threshold range, and adjusting a brightness of the second color after adjusting the saturation to the brightness threshold range to obtain the target color; wherein the second opacity is greater than the first opacity, the difference between the second opacity and the first opacity is a predetermined value, the second opacity is less than or equal to a first value, the first opacity is greater than or equal to a second value, and the first value is greater than the second value; and
superimposing the target color at the target position to achieve rendering.
|