A quasi-regular pattern based geometric texture generation method and device

By using a geometric texture generation method based on a quasi-regular pattern model and employing function transformation and adaptive triangular mesh discretization techniques, the problems of low texture generation efficiency and inconvenient shape control in existing technologies are solved, enabling the generation of diverse and personalized geometric textures.

CN117635800BActive Publication Date: 2026-11-20ZHEJIANG SCI-TECH UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311672968.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-07
Publication Date
2026-11-20
Estimated Expiration
2043-12-07

AI Technical Summary

Technical Problem

Existing 3D texture generation technologies produce monotonous texture variations and are inconvenient to shape control. Traditional methods are cumbersome, inefficient, and fail to meet personalized design needs.

Method used

A geometric texture generation method based on a quasi-regular pattern model is adopted. The shape and size of the texture are controlled by parameters, and diverse geometric textures are generated by function transformation. Combined with adaptive triangular mesh discretization technology, textures that meet user needs can be generated efficiently.

Benefits of technology

It enables the rapid and flexible generation of geometric textures with various shapes, densities, and details, meeting personalized design needs and improving generation efficiency and artistic effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117635800B_ABST
    Figure CN117635800B_ABST
Patent Text Reader

Abstract

The application discloses a geometric texture generation method and device based on a quasi-regular pattern function model, and provides design materials for applications such as games, animations, building, industrial product design, three-dimensional printing and the like. Firstly, parameters and function models of the geometric texture are designed, including a parameter equation of a boundary curve, an expected height, an average side length and a function transformation module and the like; a quasi-regular pattern expansion model is constructed as a geometric texture height field generation equation; then, the boundary curve of the geometric texture is set and uniform sampling is carried out inside the definition domain of the geometric texture, a sampling point set is obtained and a height field thereof is calculated; according to a height field value range of the sampling point set and the expected height, the height field is scaled and translated; finally, adaptive triangular mesh discretization is carried out under the guidance of a density field, and a triangular mesh is formed. Through the method, a geometric texture model which is rich in changes and easy to control parameters can be conveniently generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of computer graphics, computer-aided design, and computational manufacturing, and specifically to a method and apparatus for generating geometric textures based on quasi-regular patterns, so as to achieve rapid and automatic generation of varied geometric textures. Background Technology

[0002] With the rapid development of computer technology and 3D graphics technology, 3D geometric textures play an important role in games, animation, architecture, industrial product design, 3D printing, and other fields. Although image textures have been widely used, they only present the visual effect of the surface material of an object and cannot realistically represent the uneven texture of the surface. To enrich the geometric texture details of the surface of a 3D model, it is usually necessary to model this texture in detail. Traditional 3D geometric texture generation methods mainly rely on manual creation using 3D modeling software (such as 3ds Max) or image-based texture synthesis methods. However, these methods suffer from problems such as cumbersome operation, low efficiency, high production difficulty, poor effect, and textures not adapting naturally to the model surface. In recent years, with the continuous development of computer graphics and computer vision technology, 3D texture generation technology based on mathematical models and algorithms has gradually become a research hotspot. These methods are mainly based on principles of geometry, physics, and statistics. By constructing mathematical models and processing them using computer algorithms, they generate 3D textures with high realism and artistic effects.

[0003] Currently, commonly used 3D texture generation techniques include texture generation based on Delaunay triangulation, texture generation based on Gabor filters, and texture generation based on Generative Adversarial Networks (GANs). However, textures generated by these methods suffer from monotonous texture variations and inconvenient shape control. Therefore, this invention proposes a geometric texture generation method based on a quasi-regular pattern model. Compared with traditional methods, this invention utilizes a function transformation method of quasi-regular patterns to control the shape and size of the texture through parameter control, automatically and efficiently generating diverse and varied geometric textures with high artistic quality. Summary of the Invention

[0004] To address the inefficiency of geometric texture generation, this invention proposes a method and apparatus for generating geometric textures based on quasi-regular patterns. The main objective of this invention is to generate geometric textures using functions to meet the needs of different application scenarios. This method helps users quickly and flexibly generate geometric textures of various shapes, densities, and details to adapt to design, simulation, and visualization requirements in different fields. Users can generate geometric textures that meet specific requirements by adjusting function parameters or inputting different functions according to their own needs and personal preferences. This not only saves time and labor required for manually drawing textures but also allows for customization of texture shape, style, and details to meet personalized design needs.

[0005] The objective of this invention is achieved through the following technical solution: Firstly, this invention provides a method for generating geometric textures based on a quasi-regular pattern model, the method comprising the following steps:

[0006] Step 1: Design the parameters and function model of the geometric texture: The geometric texture is a height field mesh model defined on a planar domain S, and its input includes the boundary curves of the geometric texture. The parametric equations, the resonance number q∈[1,+∞) of the quasi-regular patch model, are used to define the shape of the geometric texture; the expected height h is used to set the maximum height value generated on the geometric texture; a floating-point number L is the average side length of the generated mesh; and the function transformation modules I, II, III, i.e., custom function forms, are used to set the transformation form of the geometric texture surface.

[0007] Step 2, construct the quasi-regular pattern function model: Construct a smooth height field H on the planar domain S as the shape of the geometric texture; specifically, by modifying the basic function model of the quasi-regular pattern, construct the following function expression:

[0008]

[0009] Where (x,y)∈S are planar coordinates; X0 and Y0 are defined as modules for transformation of independent variables, and are set as smooth functions of x and y respectively; I and II are defined as local transformation modules, and are set as smooth functions with the resonance number q∈[1,+∞) of the quasi-regular patch model and the cyclic variable i as independent variables; III is defined as global transformation module, and is set as a smooth function with the whole composed of the first two modules as independent variables;

[0010] Step 3: Set the boundary curve of the geometric texture. A boundary curve is defined as a 2D closed curve on the plane z = 0;

[0011] Step 4: Perform uniform sampling within the geometric texture domain: calculate the boundary curves. The smallest bounding box is obtained by uniformly sampling within the region according to the sampling density using the scanline algorithm, resulting in a set of sampling points {V}. i}∈R 2 And calculate its height field according to formula (1);

[0012] Step 5, Scaling the height field of the geometric texture: Calculate the sampling point set {V} i The range of height field values ​​is [z]. min ,z max Formula (1) is corrected based on the expected height h; if the actual height does not match the expected height, each sampling point is scaled proportionally; after scaling, each sampling point needs to be translated, as shown in the following expression:

[0013]

[0014] Step 6, Adaptive Triangular Mesh Discretization: Under the guidance of the density field, CVT (Centroidal Voronoi Tessellation)-based meshing is implemented, ultimately forming a triangular mesh M =<V,T> , which is the generated geometric texture surface, where V is the set of vertices of the mesh model and T is the set of triangles of the mesh model.

[0015] Furthermore, in step two, different elementary functions are selected as the expressions and parameters q of each module of the quasi-regular pattern function model to achieve as many function variations as possible.

[0016] Furthermore, in step two, the transformation module III takes the following form:

[0017]

[0018] Where f(·), g(·), h(·) are trigonometric functions, power functions, exponential functions, or composite functions and their combinations.

[0019] Furthermore, the boundary curve can be a polygon, circle, ellipse, or spline curve.

[0020] Furthermore, in step three, if the boundary curve is of any curve type, it is generated through B-spline interpolation, meaning the input is located at the boundary. At several points, an interpolation curve is generated using a non-uniform cubic B-spline curve as the boundary, and then the points are discretized into polygons by uniform sampling based on the sampling density.

[0021] Furthermore, in step four, the scanline algorithm is used for initial sampling, and the boundary curve is calculated. The minimum bounding box is determined, and sampling is performed uniformly within the region based on the number of sampling points. Starting from the lowest point of the minimum bounding box, the scan proceeds line by line to the highest point according to the step size L. On each scan line, its relationship with the boundary curve is calculated. The intersection points are added to the point set, and the intersection points are paired up. Each pair of intersection points represents the scan line and the boundary curve. The intersection intervals are determined; for each intersection interval, uniform sampling is performed with a step size L; during the sampling process, the positions of the sampling points in the intersection intervals are recorded to obtain the sampling point set {V}. i}∈R 2 .

[0022] Furthermore, in step six, to ensure the mesh model fits the generated surface as closely as possible, the gradient magnitude of the height function H is calculated. As a density field, it guides the generation of adaptive triangular meshes.

[0023] Furthermore, in step six, the density field-guided CVT meshing method is as follows: based on the given set of sampling points {V i Construct a Voronoi diagram, where each region is represented by a point V. i Centered on; for each non-boundary point V i Find its corresponding Voronoi region and calculate the weighted average position of all data points within that region to obtain the centroid position x. i Point V i The position is updated to x i ; through the updated sampling point set {V i The energy function is calculated using the corresponding Voronoi diagram, and the expression is as follows:

[0024]

[0025] Based on the gradient at the current position The search direction d is calculated using the Hessian matrix H0, as shown in the following expression:

[0026]

[0027] Determine the appropriate step size α using a line search, and update point V. i The position is expressed as follows:

[0028] x new =x+αd

[0029] Calculate the energy function value F(x) at the new location. new ) and gradient The Hessian matrix is ​​updated using the L-BFGS solver. The positions of non-boundary points are updated iteratively and the energy function is calculated repeatedly until their positions converge or the preset number of iterations is reached. The Delaunay triangulation result of the dual point is obtained using the position of the final point, which serves as the final generated mesh model.

[0030] Secondly, the present invention also provides a geometric texture generation device based on quasi-regular patterns, including a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, it implements the geometric texture generation method based on quasi-regular patterns.

[0031] Thirdly, the present invention also provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the aforementioned method for generating geometric textures based on quasi-regular patterns.

[0032] The main advantages of this invention include:

[0033] (a) Users can freely adjust the shape, style and details of the texture according to their needs and preferences to meet their personalized design needs;

[0034] (b) This method performs adaptive sampling based on the function gradient, which can capture the details of function changes more accurately and improve sampling efficiency. Attached Figure Description

[0035] Figure 1 This is a flowchart of a geometric texture generation method based on quasi-regular patterns, as described in one embodiment of the present invention.

[0036] Figure 2 This is a stage diagram of a geometric texture generation method based on quasi-regular patterns in one embodiment of the present invention.

[0037] Figure 3 The geometric texture is generated by this invention based on user-provided parameters and models.

[0038] Figure 4 The geometric textures generated by this invention based on different parameters and models.

[0039] Figure 5 This invention provides a geometric texture generation device based on quasi-regular patterns. Detailed Implementation

[0040] The present invention will be further illustrated below with reference to specific embodiments. It should be understood that these embodiments are for illustrative purposes only and are not intended to limit the scope of the invention.

[0041] It should be noted that in the claims and specification of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0042] All documents mentioned in this invention are incorporated herein by reference as if each document were individually incorporated by reference. Furthermore, it should be understood that after reading the foregoing teachings of this invention, those skilled in the art can make various alterations or modifications to this invention, and these equivalent forms also fall within the scope defined by the appended claims.

[0043] The embodiments of the present invention relate to a geometric texture generation method based on quasi-regular patterns. A quasi-regular pattern function model is constructed according to user-input parameters and a model to generate a height field as the geometric texture shape. Sampling is performed within the geometric texture domain according to the boundary curve. At the same time, the height field is scaled and translated to meet user requirements. Finally, a triangular mesh is adaptively generated.

[0044] Figure 1 This is a flowchart of a geometric texture generation method based on quasi-regular patch mapping, according to one embodiment of the present invention. The method includes the following steps: Step 101, designing the parameters and function model of the geometric texture; Step 102, constructing the quasi-regular patch mapping function model; Step 103, setting the boundary curves of the geometric texture; Step 104, sampling within the defined domain; Step 105, scaling the geometric texture height field; Step 106, adaptively discretizing the triangular mesh, ultimately generating a geometric texture model that meets user requirements.

[0045] Specifically, in one Figure 2 In this embodiment, the present invention provides a product surface texture generation method based on quasi-regular pattern mapping, which can provide materials for synthesizing textures on the surfaces of various three-dimensional product models. This method is used for personalized texture design on surfaces such as craft models, mouse models, and ceramic models, enhancing the realism and artistry of the model surface and facilitating subsequent virtual display and manufacturing. Specifically, the method includes the following steps:

[0046] Step 1: Design the parameter and function model of the product surface geometry texture: The product surface geometry texture is a height field mesh model defined on a planar domain S, and its input includes the boundary curves of the product surface texture. The parametric equations define the boundary shape of the product surface texture, set to a 10*10 rectangular boundary in this example; the expected height h sets the maximum height value generated on the product surface texture, set to 1 in this example; a floating-point number L represents the average side length of the generated mesh, set to 0.01 in this example; and function transformation modules I, II, III, which are custom function forms used to set the transformation form of the product surface texture surface. In this example, the function transformation modules are set to I:cos(q,i), II:sin(q,i), III:cos(q,i), where the resonance number q is set to 3.

[0047] Step 2, construct the quasi-regular pattern function model: construct a smooth height field H on the planar domain S as the shape of the texture; specifically, based on the parameters and function model input in Step 1, generate the basic function model of the quasi-regular pattern according to formula (1), and construct the following function expression:

[0048]

[0049] Where (x,y)∈S are planar coordinates;

[0050] Step 3: Set the boundary curves of the product surface geometric texture. Boundary curves are defined as 2D closed curves on the plane z = 0. Boundary curves can be polygons, circles, ellipses, or spline curves. If it is an arbitrary curve type, it is generated through B-spline interpolation, meaning the input lies on the boundary. At several points, an interpolation curve is generated using a non-uniform cubic B-spline curve as the boundary, and then discretized into a polygon based on uniform sampling density. In this example, it is set to a 10*10 rectangular boundary.

[0051] Step 4: Perform uniform sampling within the defined domain of the product surface's geometric texture: calculate the boundary curve. The minimum bounding box is used to uniformly sample within the region based on the number of sampling points; starting from the lowest point of the minimum bounding box, the scan proceeds line by line to the highest point with a step size L = 0.01; on each scan line, its relationship with the boundary curve is calculated. The intersection points are added to the point set, and the intersection points are paired up. Each pair of intersection points represents the scan line and the boundary curve. The intersection intervals are determined; for each intersection interval, uniform sampling is performed with a step size; during the sampling process, the positions of the sampling points in the intersection intervals are recorded to obtain the sampling point set {V}. i}∈R 2 And calculate its height field according to formula (2);

[0052] Step 5, scale the height field of the product surface geometry: calculate the sampling point set {V i The range of height field values ​​is [z]. min ,z max ], adjust formula (1) according to the expected height h = 1; if the actual height does not match the expected height, scale each sampling point proportionally; after scaling, translate each sampling point as follows:

[0053]

[0054] Step 6, Adaptive Triangular Mesh Discretization: To ensure the product surface geometry mesh model fits the surface of the generated product as closely as possible, the gradient magnitude of the height function H is calculated. As a density field, a CVT (Centroidal Voronoi Tessellation)-based meshing is implemented under the guidance of the density field, according to the given set of sampling points {V i Construct a Voronoi diagram, where each region is represented by a point V. i Centered on; for each non-boundary point V i Find the corresponding Voronoi region and calculate the weighted average position of all data points within that region to obtain the centroid position x. i Point V i The position is updated to x i ; through the updated sampling point set {V i The energy function is calculated using the corresponding Voronoi diagram, and the expression is as follows:

[0055]

[0056] Based on the gradient at the current position The search direction d is calculated using the Hessian matrix H0, as shown in the following expression:

[0057]

[0058] Determine the appropriate step size α using a line search, and update point V. i The position is expressed as follows:

[0059] x new =x+αd

[0060] Calculate the energy function value F(x) at the new location. new ) and gradient The Hessian matrix is ​​updated using the L-BFGS solver; the positions of non-boundary points are iteratively updated and the energy function is calculated repeatedly until the positions converge or the preset number of iterations is reached. The Delaunay triangulation result of the dual point is obtained using the final point's position, ultimately forming a triangular mesh M =<V,T> This refers to the generated geometric texture surface of the product, such as... Figure 3 As shown, V is the set of vertices of the mesh model, and T is the set of triangle faces of the mesh model. Mapping these faces onto the product surface enables personalized design.

[0061] By setting different parameters and models in formula (1), a wide variety of geometric textures can be generated. Figure 4 The image shows examples of three textures, which correspond to the following formulas:

[0062]

[0063]

[0064]

[0065] Corresponding to the aforementioned embodiment of a geometric texture generation method based on quasi-regular patterns, the present invention also provides an embodiment of a geometric texture generation apparatus based on quasi-regular patterns.

[0066] See Figure 5 The present invention provides a geometric texture generation device based on quasi-regular patterns, comprising a memory and one or more processors. The memory stores executable code, and when the processor executes the executable code, it is used to implement a geometric texture generation method based on quasi-regular patterns in the above embodiments.

[0067] An embodiment of the geometric texture generation device based on quasi-regular patterns provided by this invention can be applied to any device with data processing capabilities, such as a computer. The device embodiment can be implemented in software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by the processor of any data processing device loading the corresponding computer program instructions from non-volatile memory into memory and executing them. From a hardware perspective, such as... Figure 5 The diagram shown is a hardware structure diagram of any device with data processing capabilities, which includes a geometric texture generation device based on quasi-regular patterns provided by the present invention. (Except for...) Figure 5In addition to the processor, memory, network interface, and non-volatile memory shown, any data processing device in the embodiment may also include other hardware depending on the actual function of the data processing device, which will not be described in detail here.

[0068] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0069] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the present invention according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0070] This invention also provides a computer-readable storage medium storing a program that, when executed by a processor, implements a geometric texture generation method based on quasi-regular patterns as described in the above embodiments.

[0071] The computer-readable storage medium can be an internal storage unit of any data processing device as described in any of the foregoing embodiments, such as a hard disk or memory. The computer-readable storage medium can also be an external storage device of any data processing device, such as a plug-in hard disk, smart media card (SMC), SD card, flash card, etc., equipped on the device. Furthermore, the computer-readable storage medium can include both internal storage units and external storage devices of any data processing device. The computer-readable storage medium is used to store the computer program and other programs and data required by the data processing device, and can also be used to temporarily store data that has been output or will be output.

[0072] It should be noted that in the claims and specification of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0073] Although the invention has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art will understand that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims

1. A method for generating geometric textures based on quasi-regular patterns, characterized in that, The method includes the following steps: Step 1: Design the parameters and function model of the geometric texture: The geometric texture is a height field mesh model defined on a planar domain S, and its input includes the boundary curves of the geometric texture. The parametric equations, the resonance number q∈[1,+∞) of the quasi-regular patch model, are used to define the shape of the geometric texture; the expected height h is used to set the maximum height value generated on the geometric texture; a floating-point number L is the average side length of the generated mesh; and the function transformation modules I, II, III, i.e., custom function forms, are used to set the transformation form of the geometric texture surface. Step 2, construct the quasi-regular pattern function model: Construct a smooth height field H on the planar domain S as the shape of the geometric texture; specifically, by modifying the basic function model of the quasi-regular pattern, construct the following function expression: Where (x,y)∈S are planar coordinates; X0 and Y0 are defined as modules for transformation of independent variables, and are set as smooth functions of x and y respectively; I and II are defined as local transformation modules, and are set as smooth functions with the resonance number q∈[1,+∞) of the quasi-regular patch model and the cyclic variable i as independent variables; III is defined as global transformation module, and is set as a smooth function with the whole composed of the first two modules as independent variables; Step 3: Set the boundary curve of the geometric texture. A boundary curve is defined as a 2D closed curve on the plane z = 0; Step 4: Perform uniform sampling within the geometric texture domain: calculate the boundary curve. The smallest bounding box is obtained by uniformly sampling within the region according to the sampling density using the scanline algorithm, resulting in a set of sampling points {V}. i }∈R 2 And calculate its height field according to formula (1); Step 5, Scaling the height field of the geometric texture: Calculate the sampling point set {V} i The range of height field values ​​is [z]. min ,z max Formula (1) is corrected based on the expected height h; if the actual height does not match the expected height, each sampling point is scaled proportionally; after scaling, each sampling point needs to be translated, as shown in the following expression: Step 6, Adaptive Triangular Mesh Discretization: Under the guidance of the density field, CVT (Centroidal Voronoi Tessellation)-based meshing is implemented, ultimately forming a triangular mesh M =<V,T> , which is the generated geometric texture surface, where V is the set of vertices of the mesh model and T is the set of triangles of the mesh model.

2. The geometric texture generation method based on quasi-regular patterns according to claim 1, characterized in that, In step two, different elementary functions are selected as the expressions and parameters q of each module in the quasi-regular patch function model to achieve as many function variations as possible.

3. The geometric texture generation method based on quasi-regular patterns according to claim 1, characterized in that, In step two, the transformation module III takes the following form: Where f(·), g(·), h(·) are trigonometric functions, power functions, exponential functions, or composite functions and their combinations.

4. The geometric texture generation method based on quasi-regular patterns according to claim 1, characterized in that, The boundary curve can be a polygon, circle, ellipse, or spline curve.

5. The geometric texture generation method based on quasi-regular patterns according to claim 1, characterized in that, In step three, the boundary curve, if it is of any curve type, is generated using B-spline interpolation, meaning the input is located at the boundary. At several points, an interpolation curve is generated using a non-uniform cubic B-spline curve as the boundary, and then the points are discretized into polygons by uniform sampling based on the sampling density.

6. The geometric texture generation method based on quasi-regular patterns according to claim 1, characterized in that, In step four, the scanline algorithm is used for initial sampling, and the boundary curve is calculated. The smallest bounding box is used to uniformly sample within the region based on the number of sampling points; Starting from the lowest point of the smallest bounding box, scan line by line to the highest point according to the step size L; on each scan line, calculate its relationship with the boundary curve. The intersection points are added to the point set, and the intersection points are paired up. Each pair of intersection points represents the scan line and the boundary curve. The intersection intervals; for each intersection interval, uniform sampling is performed with a step size L; During the sampling process, the positions of the sampling points in the intersecting intervals are recorded to obtain the sampling point set {V}. i }∈R 2 .

7. The geometric texture generation method based on quasi-regular patterns according to claim 1, characterized in that, In step six, to ensure the mesh model fits the generated surface as closely as possible, the gradient magnitude of the height function H is calculated. As a density field, it guides the generation of adaptive triangular meshes.

8. The geometric texture generation method based on quasi-regular patterns according to claim 7, characterized in that, In step six, the density field-guided CVT meshing method is as follows: based on the given set of sampling points {V i Construct a Voronoi diagram, where each region is represented by a point V. i Centered on; for each non-boundary point V i Find its corresponding Voronoi region and calculate the weighted average position of all data points within that region to obtain the centroid position x. i Point V i The position is updated to x i ; through the updated sampling point set {V i The energy function is calculated using the corresponding Voronoi diagram, and the expression is as follows: Based on the gradient at the current position The search direction d is calculated using the Hessian matrix H0, as shown in the following expression: Determine the appropriate step size α using a line search, and update point V. i The position is expressed as follows: x new =x+αd Calculate the energy function value F(x) at the new location. new ) and gradient The Hessian matrix is ​​updated using the L-BFGS solver. The positions of non-boundary points are updated iteratively and the energy function is calculated repeatedly until the positions converge or the preset number of iterations is reached. The Delaunay triangulation result of its dual is obtained using the position of the final point, which serves as the final generated mesh model.

9. A geometric texture generation apparatus based on quasi-regular patterns, comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that, When the processor executes the executable code, it implements a geometric texture generation method based on quasi-regular patterns as described in any one of claims 1-8.

10. A computer-readable storage medium having a program stored thereon, characterized in that, When the program is executed by the processor, it implements a geometric texture generation method based on quasi-regular patterns as described in any one of claims 1-8.