UV Mapping System
The UV mapping system addresses the issue of blurring and color degradation in voxel models by positioning vertices at pixel centers and matching voxel sides with front surfaces, achieving sharp boundaries and accurate colors in 3D voxel models.
Patent Information
- Application Number
- JP2022090671
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-06-03
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-06-03
AI Technical Summary
Conventional UV mapping methods fail to effectively map illustrations of animal characters created using two-dimensional codes onto three-dimensional voxel models due to low resolution and blurring at voxel boundaries, and the sides of voxels being intermediate colors, which degrades the appearance of the 3D model.
A UV mapping system that positions the XYZ coordinates of each vertex of the polygons at the center points of the pixels in UV space and colors the voxels based on these coordinates, ensuring the sides of the voxels match the front surfaces, thereby preventing blurring and maintaining color integrity.
The system ensures sharp voxel boundaries and maintains color accuracy, preventing the appearance of neutral colors at voxel sides, thus enhancing the visual quality of the 3D voxel model.
Smart Images

Figure 0007759849000001 
Figure 0007759849000002 
Figure 0007759849000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a UV mapping system that UV maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character. [Background technology]
[0002] Conventionally, techniques have been proposed for mapping two-dimensional data such as images and photographs onto three-dimensional models. For example, a method has been proposed for mapping a two-dimensional facial photograph (image data) of a specific person onto three-dimensional stereoscopic data (three-dimensional model) of the person's head (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2013-97588 Summary of the Invention [Problem to be solved by the invention]
[0004] In the conventional method, feature points extracted from a person's face photograph (two-dimensional data) are used to map the two-dimensional face photograph to three-dimensional data. Therefore, in the case of an illustration of an animal character created using a two-dimensional code, for example, where feature points cannot be extracted from the two-dimensional data, the conventional method cannot be used.
[0005] Furthermore, no method has been proposed to date that is suitable for mapping two-dimensional data onto a three-dimensional model (three-dimensional voxel model) composed of multiple voxels. In particular, no method has been proposed that properly maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character.
[0006] For example, UV mapping is a well-known method for mapping illustrations onto 3D models. However, in the case of illustrations of animal characters created using 2D codes, the resolution of the illustration images is low, so when the illustrations are stretched and displayed, blurring occurs at the pixel / voxel boundaries due to the stretching.
[0007] Furthermore, because the sides of voxels are located on the boundary areas of the pixels in the 2D code, if normal UV mapping is performed (expanding the voxel into UV space so that each vertex of the polygons that make up the voxel is positioned exactly at each vertex, and then coloring the voxel based on the XYZ coordinates of each vertex obtained by UV mapping), the color of the side of the voxel will be an intermediate color between the faces on either side of that face (the side of the voxel) (the front face of the voxel that has that side, and the front face of the voxel next to the voxel that has that side), which will impair the appearance (beauty of the colors) of the 3D voxel model. Furthermore, when normal UV mapping is performed in this way, the color is taken from the boundary areas of the pixels in the 2D code, resulting in a "blurred" voxel boundary (see Figure 6(a)).
[0008] The present invention has been made in consideration of the above-mentioned problems, and aims to provide a UV mapping system that can appropriately map an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of that animal character. [Means for solving the problem]
[0009] The UV mapping system of the present invention UV maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character, the two-dimensional code having a quadrangular code area with four corners, positioning symbols arranged at three of the four corners of the code area, and a data area inward from the four corners of the code area in which predetermined data is coded using a plurality of light colored cells and a plurality of dark colored cells, and the system performs UV mapping of an illustration of an animal character created using the ... an input unit that receives input of two-dimensional data of the illustration of the animal character and voxel data of a three-dimensional voxel model of the animal character onto which the illustration is mapped; and a UV mapping unit that performs UV mapping so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are located at the center points of the pixels that make up the two-dimensional code in UV space, and assigns colors to the voxels based on the UV coordinates of the center points obtained by the UV mapping, and the UV mapping unit assigns colors to the side surfaces of the voxels so that they are the same color as the front surfaces of the voxels that have the side surfaces.
[0010] With this configuration, UV mapping is performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the 3D voxel model are located at the center point of the pixels that make up the 2D code in UV space, and the voxels are colored based on the UV coordinates of the center point obtained by UV mapping. Because the color is sampled from the center point of the 2D code's pixels in this way, even if the resolution of the illustration of the animal character created using the 2D code is low, the voxel boundaries do not become "blurred" and the voxel boundaries can be displayed sharply.
[0011] In addition, the side of a voxel is colored to be the same color as the front of the voxel that has that side, which prevents the side of the voxel from being a "neutral color" and prevents the appearance (beauty of the colors) of the 3D voxel model from being damaged.
[0012] In this way, an illustration (two-dimensional data) of an animal character created using a two-dimensional code can be properly mapped onto a three-dimensional model (three-dimensional voxel model) of the animal character made up of multiple voxels.
[0013] In addition, in the UV mapping system of the present invention, the UV mapping unit may calculate the UV coordinates of the center points of the pixels that make up the two-dimensional code in the UV space based on the XYZ coordinates of each vertex of the polygon that makes up the voxel of the three-dimensional voxel model and the normal direction of the polygon.
[0014] With this configuration, the UV coordinates of the center points of the pixels that make up the two-dimensional code in UV space are calculated based on the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model and the normal direction of the polygons. This allows UV unwrapping to be performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are located at the center points of the pixels that make up the two-dimensional code in UV space.
[0015] In the UV mapping system of the present invention, the polygons constituting the voxels of the three-dimensional voxel model may be triangular polygons having three vertices.
[0016] With this configuration, UV mapping is performed so that the UV coordinates of the three vertices of the polygon that make up a voxel in the 3D voxel model are positioned at the center point of the pixel that makes up the 2D code in UV space. Then, the voxel can be colored based on the UV coordinates of the center point obtained by UV mapping.
[0017] The method of the present invention is a method executed by a UV mapping system that UV maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels, the two-dimensional code having a rectangular code area with four corners, positioning symbols arranged at three of the four corners of the code area, and a data area inward from the four corners of the code area in which predetermined data is coded using a plurality of light colored cells and a plurality of dark colored cells, and the method is carried out by UV mapping the illustration of the animal character created using the two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels. The method comprises an input step in which two-dimensional data of an illustration of an animal character and voxel data of a three-dimensional voxel model of the animal character onto which the illustration is to be mapped are input, and a UV mapping step in which UV mapping is performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are located at the center point of the pixels that make up the two-dimensional code in UV space, and coloring the voxels based on the UV coordinates of the center point obtained by the UV mapping, wherein in the UV mapping step, the side surfaces of the voxels are colored the same color as the front surfaces of the voxels that have the side surfaces.
[0018] With this method, as with the above system, UV mapping is performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the 3D voxel model are located at the center point of the pixels that make up the 2D code in UV space, and the voxels are colored based on the UV coordinates of the center point obtained by UV mapping. In this way, because the color is taken from the center point of the 2D code's pixels, even if the resolution of the illustration of the animal character created using the 2D code is low, no "blurring" appears at the voxel boundaries, and the voxel boundaries can be displayed sharply.
[0019] In addition, the side of a voxel is colored to be the same color as the front of the voxel that has that side, which prevents the side of the voxel from being a "neutral color" and prevents the appearance (beauty of the colors) of the 3D voxel model from being damaged.
[0020] In this way, an illustration (two-dimensional data) of an animal character created using a two-dimensional code can be properly mapped onto a three-dimensional model (three-dimensional voxel model) of the animal character made up of multiple voxels.
[0021] The program of the present invention is a program executed by a computer of a UV mapping system that UV-maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels, the two-dimensional code having a quadrangular code area with four corners, positioning symbols arranged at three of the four corners of the code area, and a data area inward from the four corners of the code area in which predetermined data is coded using a plurality of light colored cells and a plurality of dark colored cells, the program causing the computer to UV-map the two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels. The method executes an input process in which two-dimensional data of the illustration of the animal character created using a code and voxel data of a three-dimensional voxel model of the animal character onto which the illustration is mapped are input, and a UV mapping process in which UV mapping is performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are located at the center point of the pixels that make up the two-dimensional code in UV space, and the voxels are colored based on the UV coordinates of the center point obtained by the UV mapping, and in the UV mapping process, the side surfaces of the voxels are colored the same color as the front surfaces of the voxels that have the side surfaces.
[0022] Like the system described above, this program performs UV mapping so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the 3D voxel model are positioned at the center point of the pixels that make up the 2D code in UV space, and then colors the voxels based on the UV coordinates of the center point obtained through UV mapping. Because the color is taken from the center point of the 2D code's pixels in this way, even if the resolution of the illustration of an animal character created using a 2D code is low, the voxel boundaries do not become blurry and can be displayed sharply.
[0023] In addition, the side of a voxel is colored to be the same color as the front of the voxel that has that side, which prevents the side of the voxel from being a "neutral color" and prevents the appearance (beauty of the colors) of the 3D voxel model from being damaged.
[0024] In this way, an illustration (two-dimensional data) of an animal character created using a two-dimensional code can be properly mapped onto a three-dimensional model (three-dimensional voxel model) of the animal character made up of multiple voxels. [Effects of the Invention]
[0025] According to the present invention, an illustration (two-dimensional data) of an animal character created using a two-dimensional code can be appropriately mapped onto a three-dimensional model (three-dimensional voxel model) of the animal character composed of multiple voxels. [Brief explanation of the drawings]
[0026] [Figure 1] 1 is a block diagram of a UV mapping system according to an embodiment of the present invention. [Figure 2] FIG. 1 is a diagram showing an example of a two-dimensional code according to an embodiment of the present invention. [Figure 3]FIG. 1 is a diagram showing an example of a two-dimensional code illustration (an illustration of an animal character created using a two-dimensional code) according to an embodiment of the present invention. [Figure 4] FIG. 2 is an explanatory diagram of UV mapping according to the embodiment of the present invention. [Figure 5] FIG. 2 is a diagram showing an example of UV mapping according to an embodiment of the present invention. [Figure 6] 10A to 10C are diagrams illustrating the effect of UV mapping in the embodiment of the present invention. [Figure 7] FIG. 2 is a flowchart illustrating the operation of the UV mapping system according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0027] A UV mapping system according to an embodiment of the present invention will be described below with reference to the accompanying drawings. In this embodiment, a UV mapping system used in a system for UV mapping animal characters created using two-dimensional codes encoding the URLs of stores, commercial facilities, etc. onto a three-dimensional voxel model will be described as an example.
[0028] The configuration of a UV mapping system according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the UV mapping system according to this embodiment. As shown in FIG. 1, the UV mapping system 1 includes an input unit 2, an output unit 3, a storage unit 4, and a UV mapping unit 5. The UV mapping system 1 can be configured, for example, as a terminal device used by a user, or a server device communicably connected to the user's terminal device.
[0029] The input unit 2 is an input interface that accepts input from the user, and inputs data (two-dimensional data) of illustrations of animal characters created using two-dimensional codes that encode the URLs of stores, commercial facilities, etc., and data (voxel data) of three-dimensional voxel models of the animal characters onto which the illustrations are to be mapped.
[0030] FIG. 2 is a diagram showing an example of a two-dimensional code C. As shown in FIG. 2, the two-dimensional code C is, for example, a QR code (registered trademark). The two-dimensional code C has a quadrangular code area CA having four corners, and positioning symbols P1 to P3 are arranged at three of the four corners of the code area CA. The positioning symbols P1 to P3 have a quadrangular dark pattern composed of a plurality of dark cells DC arranged in the center of the positioning symbols P1 to P3, a quadrangular frame-shaped light pattern composed of a plurality of light cells BC arranged around the dark pattern, and a quadrangular frame-shaped dark pattern composed of a plurality of dark cells DC arranged around the light pattern. A data area DA is provided inside the four corners of the code area CA, in which predetermined data is encoded using the plurality of light cells BC and the plurality of dark cells DC.
[0031] The predetermined data coded in the data area DA of the two-dimensional code C may include a shortened URL, which has a smaller amount of data than a regular URL (for example, the URL of a store or commercial facility), and a hash value corresponding to the regular URL, so that the regular URL can be obtained by using the shortened URL and the hash value. Publicly known techniques can be used to generate this shortened URL and hash value.
[0032] FIG. 3 is a diagram showing an example of a two-dimensional code illustration I of an animal character created using a two-dimensional code C. A two-dimensional code illustration I of an animal character as shown in FIG. 3 is created based on a two-dimensional code C as shown in FIG. 2. Publicly known techniques can be used to create the two-dimensional code illustration. Data (two-dimensional data) of this two-dimensional code illustration I and data (voxel data) of a three-dimensional voxel model of the animal character to which this two-dimensional code illustration I is to be mapped are input to the input unit 2.
[0033] A three-dimensional voxel model of an animal character is composed of a plurality of voxels (see FIG. 5). In this embodiment, the polygons that make up the voxels of the three-dimensional voxel model are triangular polygons having three vertices (see FIG. 4). Note that the polygons that make up the voxels of the three-dimensional voxel model are not limited to triangular polygons, and may be polygons of other polygonal types.
[0034] The output unit 3 is an output interface for outputting to the user, and outputs data (voxel data) of a three-dimensional voxel model onto which data (two-dimensional data) of an illustration of an animal character is mapped. The output unit 3 also has a function of displaying a warning if the two-dimensional code illustration I or the three-dimensional voxel model does not satisfy predetermined conditions (described later).
[0035] The storage unit 4 is configured, for example, by a storage medium such as a memory, and stores various data and programs used for UV mapping the two-dimensional code illustration I onto the three-dimensional voxel model.
[0036] The UV mapping unit 5 is configured with, for example, a CPU and has various functions for UV mapping the 2D code illustration I onto the 3D voxel model. The functions of this UV mapping unit 5 are realized by executing a program stored in the storage unit 4. The program can also be implemented as a web application that is downloaded each time from a cloud server, for example.
[0037] As shown in Figure 1, the UV mapping unit 5 has functional blocks for UV mapping the two-dimensional code illustration I onto a three-dimensional voxel model, including an XYZ coordinate calculation unit 6, a normal direction determination unit 7, a UV coordinate calculation unit 8, and a voxel coloring unit 9.
[0038] The XYZ coordinate calculation unit 6 has a function of calculating the XYZ coordinates of each vertex of a polygon that constitutes a voxel of a three-dimensional voxel model. In the example of Fig. 5, the XYZ coordinates of the vertex of a polygon that constitutes a side surface of a certain voxel in the three-dimensional voxel model are calculated to be (-5.5, 15.0, 4.5).
[0039] The normal direction determination unit 7 has a function of determining the normal direction (orientation of polygons) of polygons that constitute voxels of a three-dimensional voxel model. In the example of Fig. 5, the orientation (normal direction) of a polygon that constitutes the side surface of a certain voxel in the three-dimensional voxel model is determined to be in the "negative X-axis direction."
[0040] The UV coordinate calculation unit 8 performs UV mapping so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are located at the center of the pixels that make up the two-dimensional code in UV space. Specifically, the UV coordinate calculation unit 8 calculates the UV coordinates of the center of the pixels that make up the two-dimensional code in UV space based on the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model and the normal direction of the polygons. In the example of Figure 5, the UV coordinates of the center of the pixels that make up the two-dimensional code in UV space are calculated as (0.2391304347826087, 0.589565217391304).
[0041] The voxel coloring unit 9 has a function of coloring voxels based on the UV coordinates of the center point obtained by UV unwrapping. In this embodiment, the voxel coloring unit 9 colors the side surface of a voxel so that it has the same color as the front surface of the voxel having the side surface (see FIG. 6(b)).
[0042] The UV mapping unit 5 also has a function of determining whether the input two-dimensional code illustration I or three-dimensional voxel model satisfies predetermined conditions for UV mapping. For example, the UV mapping unit 5 determines whether the input two-dimensional code illustration I is equal to or larger than a predetermined size (for example, 23 squares or larger). The UV mapping unit 5 also determines whether the input three-dimensional voxel model is within a predetermined height difference (for example, the height difference between adjacent squares is within three levels). If the input two-dimensional code illustration I or three-dimensional voxel model does not satisfy the predetermined conditions, the UV mapping unit 5 does not perform UV mapping.
[0043] The operation of the UV mapping system 1 configured as above will be described with reference to the flow chart of FIG.
[0044] As shown in Figure 7, when performing UV mapping using the UV mapping system 1 of this embodiment, first, data of an illustration of an animal character created using a two-dimensional code and voxel data of a three-dimensional voxel model of the animal character to which the illustration will be mapped are input (S1, S2).
[0045] Next, it is determined whether the input data of the animal character illustration and the voxel data of the animal character's 3D voxel model satisfy predetermined conditions for UV mapping (S3). If the 2D code illustration I or the 3D voxel model does not satisfy the predetermined conditions, a warning is displayed and UV mapping is not performed (S4).
[0046] If the two-dimensional code illustration I or the three-dimensional voxel model satisfies the predetermined conditions, the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are calculated (S5), and the normal direction (orientation of the polygon) of the polygons that make up the voxels of the three-dimensional voxel model is determined (S6).
[0047] Next, the UV coordinates of the center points of the pixels that make up the two-dimensional code in UV space are calculated based on the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model and the normal directions of the polygons (S7). In this way, UV development is performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are positioned at the center points of the pixels that make up the two-dimensional code in UV space.
[0048] Next, the voxels are colored (texture applied) based on the UV coordinates of the center point obtained by UV unwrapping (S8). At this time, the sides of the voxels are colored the same color as the front of the voxels that have sides. Finally, data (voxel data) of the 3D voxel model onto which the data (2D data) of the illustration of the animal character is mapped is output (S9).
[0049] According to the UV mapping system 1 of this embodiment, UV mapping is performed so that the XYZ coordinates of each vertex of the polygons that make up the voxels of the three-dimensional voxel model are located at the center points of the pixels that make up the two-dimensional code in UV space, and the voxels are colored based on the UV coordinates of the center points obtained by UV mapping. In this way, because the color is taken from the center points of the pixels of the two-dimensional code, even if the resolution of the illustration of the animal character created using the two-dimensional code is low, the voxel boundaries do not become "blurred" and the voxel boundaries can be displayed sharply (see FIG. 6(b)).
[0050] In addition, the side of a voxel is colored to be the same color as the front of the voxel that has that side, which prevents the side of the voxel from being a "neutral color" and prevents the appearance (beauty of the color) of the 3D voxel model from being damaged (see Figure 6(b)).
[0051] In this way, an illustration (two-dimensional data) of an animal character created using a two-dimensional code can be properly mapped onto a three-dimensional model (three-dimensional voxel model) of the animal character made up of multiple voxels.
[0052] Furthermore, in this embodiment, the UV coordinates of the center points of the pixels that make up the two-dimensional code in UV space are calculated based on the XYZ coordinates of each vertex of the polygon that makes up the voxel of the three-dimensional voxel model and the normal direction of the polygon (see FIG. 5). This allows UV development to be performed so that the XYZ coordinates of each vertex of the polygon that makes up the voxel of the three-dimensional voxel model are positioned at the center points of the pixels that make up the two-dimensional code in UV space.
[0053] In this embodiment, UV mapping is performed so that the UV coordinates of the three vertices of the polygon that constitutes the voxel of the three-dimensional voxel model are located at the center point of the pixel that constitutes the two-dimensional code in UV space (see FIG. 4). Then, the voxel can be colored based on the UV coordinates of the center point obtained by UV mapping.
[0054] Although the embodiments of the present invention have been described above by way of example, the scope of the present invention is not limited to these, and can be modified and changed according to the purpose within the scope of the claims. [Industrial Applicability]
[0055] As described above, the UV mapping system of the present invention has the effect of being able to appropriately map illustrations (two-dimensional data) of animal characters created using two-dimensional codes onto three-dimensional models (three-dimensional voxel models) of the animal characters composed of multiple voxels, and is useful as a system for UV mapping animal characters created using two-dimensional codes into which the URLs of stores, commercial facilities, etc. are coded onto three-dimensional voxel models. [Explanation of symbols]
[0056] 1. UV Mapping System 2 Input section 3 Output section 4 Storage section 5 UV mapping section 6 XYZ coordinate calculation section 7 Normal direction determination section 8 UV coordinate calculation section 9 Voxel Color Scheme
Claims
1. A UV mapping system that UV maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels, The two-dimensional code has a rectangular code area having four corners, Positioning symbols are arranged at three of the four corners of the code area, a data area in which predetermined data is coded using a plurality of light color cells and a plurality of dark color cells is provided in a portion inside the four corners of the code area; The system comprises: an input unit to which two-dimensional data of an illustration of the animal character created using the two-dimensional code and voxel data of a three-dimensional voxel model of the animal character onto which the illustration is to be mapped are input; a UV mapping unit that performs UV mapping so that the XYZ coordinates of each vertex of a polygon that constitutes a voxel of the three-dimensional voxel model are located at the center point of a pixel that constitutes the two-dimensional code in UV space, and assigns colors to the voxels based on the UV coordinates of the center point obtained by the UV mapping; Equipped with The UV mapping system is configured such that the side surfaces of the voxels are colored in the same color as the front surfaces of the voxels having the side surfaces.
2. 2. The UV mapping system according to claim 1, wherein the UV mapping unit calculates UV coordinates of center points of the pixels that constitute the two-dimensional code in the UV space based on the XYZ coordinates of each vertex of the polygon that constitutes a voxel of the three-dimensional voxel model and the normal direction of the polygon.
3. 3. The UV mapping system according to claim 1, wherein the polygons constituting the voxels of the three-dimensional voxel model are triangular polygons having three vertices.
4. A method executed by a UV mapping system that UV maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels, comprising: The two-dimensional code has a rectangular code area having four corners, Positioning symbols are arranged at three of the four corners of the code area, a data area in which predetermined data is coded using a plurality of light color cells and a plurality of dark color cells is provided in a portion inside the four corners of the code area; The method comprises: an input step in which two-dimensional data of an illustration of the animal character created using the two-dimensional code and voxel data of a three-dimensional voxel model of the animal character onto which the illustration is to be mapped are input; a UV mapping step of UV mapping the XYZ coordinates of each vertex of a polygon constituting a voxel of the three-dimensional voxel model so that the coordinates are located at the center of a pixel constituting the two-dimensional code in UV space, and coloring the voxel based on the UV coordinates of the center obtained by the UV mapping; Equipped with In the UV mapping step, the side surfaces of the voxels are colored to be the same color as the front surfaces of the voxels having the side surfaces.
5. A program executed by a computer for a UV mapping system that UV maps an illustration of an animal character created using a two-dimensional code onto a three-dimensional voxel model of the animal character that is composed of a plurality of voxels, The two-dimensional code has a rectangular code area having four corners, Positioning symbols are arranged at three of the four corners of the code area, a data area in which predetermined data is coded using a plurality of light color cells and a plurality of dark color cells is provided in a portion inside the four corners of the code area; The program causes the computer to: an input process in which two-dimensional data of an illustration of the animal character created using the two-dimensional code and voxel data of a three-dimensional voxel model of the animal character onto which the illustration is to be mapped are input; a UV mapping process in which UV mapping is performed so that the XYZ coordinates of each vertex of a polygon constituting a voxel of the three-dimensional voxel model are located at the center point of a pixel constituting the two-dimensional code in UV space, and a color is assigned to the voxel based on the UV coordinates of the center point obtained by the UV mapping; Execute In the UV mapping process, the side surface of the voxel is colored to the same color as the front surface of the voxel having the side surface.
Citation Information
Patent Citations
Two dimensional code preparation system
JP2008171248A
Image processor, image processing method, program, and recording medium
JP2009151700A
Two-dimensional code, two-dimensional code generating method, computer-readable program which displays two-dimensional code, authentication method using two-dimensional code, and information-providing method using two-dimensional code
JP2009259192A
Three-dimensional portrait creation device
JP2013097588A
Bar code printing method
KR1020090035958A