Dressing method, device, computer readable medium, and electronic device
First Claim
1. A costume replacement method, the costume replacement method being performed by at least one processor, and the costume replacement method comprising:
- based on a user input, obtaining information of a model comprising a plurality of parts, the plurality of parts comprising a target part of which a costume is to be replaced;
obtaining image set object data corresponding to the model of which the information is obtained, the image set object data comprising a plurality of pieces of image data respectively corresponding to the plurality of parts;
obtaining a memory address of one of the plurality of pieces of image data corresponding to the target part, using a quantity of bytes occupied by each pixel, and using a pixel point correlating to a vertex of an area where the plurality of pieces of image data corresponding to the target part are located;
obtaining costume replacement data corresponding to the target part comprised in the model of which the information is obtained;
updating the obtained image set object data by copying the obtained costume replacement data to the obtained memory address to overwrite the one of the plurality of pieces of image data; and
rendering the model, based on the updated image set object data, to update the costume of the target part comprised in the model.
1 Assignment
0 Petitions
Accused Products
Abstract
A costume replacement method includes, based on a user input, obtaining information of a model including a plurality of parts, the plurality of parts including a target part of which a costume is to be replaced, obtaining image set object data corresponding to the model of which the information is obtained, the image set object data including a plurality of pieces of image data respectively corresponding to the plurality of parts, and obtaining costume replacement data corresponding to the target part included in the model of which the information is obtained. The method further includes updating the obtained image set object data by updating one of the plurality of pieces of image data corresponding to the target part, based on the obtained costume replacement data, and rendering the model, based on the updated image set object data, to update the costume of the target part included in the model.
-
Citations
18 Claims
-
1. A costume replacement method, the costume replacement method being performed by at least one processor, and the costume replacement method comprising:
-
based on a user input, obtaining information of a model comprising a plurality of parts, the plurality of parts comprising a target part of which a costume is to be replaced; obtaining image set object data corresponding to the model of which the information is obtained, the image set object data comprising a plurality of pieces of image data respectively corresponding to the plurality of parts; obtaining a memory address of one of the plurality of pieces of image data corresponding to the target part, using a quantity of bytes occupied by each pixel, and using a pixel point correlating to a vertex of an area where the plurality of pieces of image data corresponding to the target part are located; obtaining costume replacement data corresponding to the target part comprised in the model of which the information is obtained; updating the obtained image set object data by copying the obtained costume replacement data to the obtained memory address to overwrite the one of the plurality of pieces of image data; and rendering the model, based on the updated image set object data, to update the costume of the target part comprised in the model. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A costume replacement method, the costume replacement method being performed by at least one processor, and the costume replacement method comprising:
-
based on a user input, obtaining information of a model comprising a plurality of parts, the plurality of parts comprising a target part of which a costume is to be replaced; obtaining image set object data corresponding to the model of which the information is obtained, the image set object data comprising a plurality of pieces of image data respectively corresponding to the plurality of parts, obtaining a memory address of one of the plurality of pieces of image data corresponding to the target part using a quantity of bytes occupied by each pixel, and using a pixel point correlating to a vertex of an area where the plurality of pieces of image data corresponding to the target part are located; obtaining costume replacement data corresponding to the target part comprised in the model of which the information is obtained; creating new image set object data corresponding to the model, by copying the obtained costume replacement data to the obtained memory address of the one of the plurality of pieces of image data to overwrite the one of the plurality of pieces of image data; and rendering the model, based on the created new image set object data, to update the costume of the target part comprised in the model. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An electronic device comprising:
-
at least one memory configured to store computer program code; and at least one processor configured to access the at least one memory and operate according to the computer program code, the computer program code comprising; first obtaining code configured to cause the at least one processor to, based on a user input, obtain information of a model comprising a plurality of parts, the plurality of parts comprising a target part of which a costume is to be replaced; second obtaining code configured to cause the at least one processor to obtain image set object data corresponding to the model of which the information is obtained, the image set object data comprising a plurality of pieces of image data respectively corresponding to the plurality of parts; third obtaining code code configured to cause the at least one processor to obtain a memory address of one of the plurality of pieces of image data corresponding to the target part, using a quantity of bytes occupied by each pixel, and using a pixel point correlating to a vertex of an area where the plurality of pieces of image data corresponding to the target part are located; fourth obtaining code configured to cause the at least one processor to obtain costume replacement data corresponding to the target part comprised in the model of which the information is obtained; first updating code configured to cause the at least one processor to update the obtained image set object data by copying the obtained costume replacement data to the obtained memory address to overwrite the one of the plurality of pieces of image data; and second updating code configured to cause the at least one processor to render the model, based on the updated image set object data, to update the costume of the target part comprised in the model. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification