Back to results
US 11,694,402 B2Granted
Textured mesh building
AssigneeSnap Inc.
InventorsSamuel Edward Hare, Andrew James McPhee, Daniel Moreno, Kyle Goodrich
Life of this patent
Estimating the term…
Abstract
Systems and methods are provided for receiving a two-dimensional (2D) image comprising a 2D object; identifying a contour of the 2D object; generating a three-dimensional (3D) mesh based on the contour of the 2D object; and applying a texture of the 2D object to the 3D mesh to output a 3D object representing the 2D object.
Claims19
A method comprising:
- receiving a two-dimensional (2D) image comprising one or more 2D objects;
- generating a three-dimensional (3D) mesh based on the one or more 2D objects;
- generating a material map that maps a 2D texture of the one or more 2D objects to positions of the 3D mesh, wherein the material map includes a plurality of regions each associated with a different portion of the 3D mesh;
- selecting a first texture for a first region of the plurality of regions based on determining that a first portion of the one or more 2D objects comprises an image, the first texture comprising a first geometric shape;
- selecting a second texture for a second region of the plurality of regions based on determining that a second portion of the one or more 2D objects comprises text, the second texture comprising a second geometric shape;
- and
- applying the material map to the 3D mesh to output a 3D object representing the 2D object;
- and
- wherein the first geometric shape comprises a first set of lines in a first diagonal direction or a first set of hashmarks with a first density, and
- wherein the second geometric shape comprises a second set of lines in a second diagonal direction opposite to the first diagonal direction or a second set of hashmarks with a second density different form the first density.
7 more elements
A system comprising:
- one or more processors configured to perform operations comprising:
- receiving a two-dimensional (2D) image comprising one or more 2D objects;
- generating a three-dimensional (3D) mesh based on the one or more 2D objects;
- generating a material map that maps a 2D texture of the one or more 2D objects to positions of the 3D mesh, wherein the material map includes a plurality of regions each associated with a different portion of the 3D mesh;
- selecting a first texture for a first region of the plurality of regions based on determining that a first portion of the one or more 2D objects comprises an image, the first texture comprising a first geometric shape;
- selecting a second texture for a second region of the plurality of regions based on determining that a second portion of the one or more 2D objects comprises text, the second texture comprising a second geometric shape;
- and
- applying the material map to the 3D mesh to output a 3D object representing the 2D object;
- and
- wherein the first geometric shape comprises a first set of lines in a first diagonal direction or a first set of hashmarks with a first density, and
- wherein the second geometric shape comprises a second set of lines in a second diagonal direction opposite to the first diagonal direction or a second set of hashmarks with a second density different form the first density.
8 more elements
A non-transitory machine-readable medium storing non-transitory instructions which, when executed by one or more processors of a machine, cause the machine to perform operations comprising:
- receiving a two-dimensional (2D) image comprising one or more 2D objects;
- generating a three-dimensional (3D) mesh based on the one or more 2D objects;
- generating a material map that maps a 2D texture of the one or more 2D objects to positions of the 3D mesh, wherein the material map includes a plurality of regions each associated with a different portion of the 3D mesh;
- selecting a first texture for a first region of the plurality of regions based on determining that a first portion of the one or more 2D objects comprises an image, the first texture comprising a first geometric shape;
- selecting a second texture for a second region of the plurality of regions based on determining that a second portion of the one or more 2D objects comprises text, the second texture comprising a second geometric shape;
- and
- applying the material map to the 3D mesh to output a 3D object representing the 2D object;
- and
- wherein the first geometric shape comprises a first set of lines in a first diagonal direction or a first set of hashmarks with a first density, and
- wherein the second geometric shape comprises a second set of lines in a second diagonal direction opposite to the first diagonal direction or a second set of hashmarks with a second density different form the first density.
7 more elements
Dependencies are inferred from the claim text.