CN116206089A - Control method, device and equipment for model making - Google Patents

Control method, device and equipment for model making Download PDF

Info

Publication number
CN116206089A
CN116206089A CN202211721979.2A CN202211721979A CN116206089A CN 116206089 A CN116206089 A CN 116206089A CN 202211721979 A CN202211721979 A CN 202211721979A CN 116206089 A CN116206089 A CN 116206089A
Authority
CN
China
Prior art keywords
model
adjustment
field information
distance field
initial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211721979.2A
Other languages
Chinese (zh)
Inventor
陈凌锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN202211721979.2A priority Critical patent/CN116206089A/en
Publication of CN116206089A publication Critical patent/CN116206089A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application is applicable to the technical field of robots and provides a control method, a device and equipment for model making, wherein the method comprises the following steps: acquiring an initial model and initial directed distance field information corresponding to the initial model; when a model adjustment instruction is detected, acquiring incremental directional distance field information according to the model adjustment instruction; obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information; controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information. The method improves the adjustment efficiency to a great extent, and compared with full-quantity type updating, the method has the advantages of greatly reduced calculated quantity and more stable performance. According to the method, the surface of the virtual model is directly arched or collapsed, and a user can acquire the adjusting effect more intuitively.

Description

Control method, device and equipment for model making
Technical Field
The application belongs to the technical field of computers, and particularly relates to a control method, a control device and control equipment for model making.
Background
A virtual model generally refers to an electronic computer digital model, made by a content authoring tool, and used by third party software as a model file. In the prior art, two types of common virtual models are mainly used, and one type of the common virtual models is a virtual model with skeleton skin information, such as a humanoid model, an animal model and the like; one is a virtual model in the form of a static mesh.
In the process of manufacturing the virtual model, a user can adjust the appearance of the virtual model. When the appearance of the virtual model is adjusted, the method of normal mapping and concave-convex mapping is generally adopted. However, the mapping method is not truly an adjustment of the arching or collapsing of the surface of the virtual model, and the adjusted model needs to be modeled again. The adjustment mode is low in efficiency, and a user cannot intuitively acquire an adjustment effect.
Disclosure of Invention
The embodiment of the application provides a control method, a control device and control equipment for model making, which can solve the technical problems.
In a first aspect, an embodiment of the present application provides a control method for modeling, including:
acquiring an initial model and initial directed distance field information corresponding to the initial model;
when a model adjustment instruction is detected, acquiring incremental directional distance field information according to the model adjustment instruction;
obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information;
controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
Further, the model adjustment instructions include a model surface camber instruction and a model surface collapse instruction.
Further, before the model adjustment instruction is detected and the incremental directional distance field information is acquired according to the model adjustment instruction, the method further comprises:
acquiring an adjustment range corresponding to the initial model;
and when the adjustment operation is detected, generating a model adjustment instruction according to the adjustment range and the adjustment operation.
Further, the generating a model adjustment instruction according to the adjustment range and the adjustment operation includes:
generating an initial adjustment instruction according to the adjustment operation; the initial adjustment instruction comprises an initial adjustment value and an adjustment direction;
and when the initial adjustment value is not in the adjustment range, generating a model adjustment instruction according to the adjustment direction and the adjustment range.
Further, when the model adjustment instruction is detected, obtaining incremental directional distance field information according to the model adjustment instruction includes:
when a model adjustment instruction is detected, interpolation increment information is obtained according to the model adjustment instruction, and increment directional distance field information is obtained according to the difference increment information.
Further, after controlling the initial model to adjust to the target model based on the target directional distance field information, the method further comprises:
acquiring an evolution adjustment model according to the initial directed distance field information and the interpolation increment information;
and displaying the process of adjusting the initial model to the target model corresponding to the target directional distance field information based on the adjustment evolution model.
In a second aspect, an embodiment of the present application provides a control device for modeling, including:
the first acquisition unit is used for acquiring an initial model and initial directed distance field information corresponding to the initial model;
the second acquisition unit is used for acquiring incremental directional distance field information according to the model adjustment instruction when the model adjustment instruction is detected;
the first processing unit is used for obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information;
the second processing unit is used for controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
Further, the model adjustment instructions include a model surface camber instruction and a model surface collapse instruction.
Further, the control device for model making further comprises:
the third acquisition unit is used for acquiring an adjustment range corresponding to the initial model;
and the third processing unit is used for generating a model adjustment instruction according to the adjustment range and the adjustment operation when the adjustment operation is detected.
Further, the third processing unit is specifically configured to:
generating an initial adjustment instruction according to the adjustment operation; the initial adjustment instruction comprises an initial adjustment value and an adjustment direction;
and when the initial adjustment value is not in the adjustment range, generating a model adjustment instruction according to the adjustment direction and the adjustment range.
Further, the second obtaining unit is specifically configured to:
when a model adjustment instruction is detected, interpolation increment information is obtained according to the model adjustment instruction, and increment directional distance field information is obtained according to the difference increment information.
Further, the control device for model making further comprises:
a fourth obtaining unit, configured to obtain an evolution adjustment model according to the initial directed distance field information and the interpolation increment information;
and the fourth processing unit is used for displaying the process of adjusting the initial model to the target model corresponding to the target directional distance field information based on the adjustment evolution model.
In a third aspect, embodiments of the present application provide a control device for modeling, including a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor implementing the method according to the first aspect as described above when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program which, when executed by a processor, implements a method as in the first aspect described above.
In the embodiment of the application, an initial model and initial directed distance field information corresponding to the initial model are acquired; when a model adjustment instruction is detected, acquiring incremental directional distance field information according to the model adjustment instruction; obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information; controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information. According to the method, when the appearance of the virtual model is adjusted, the initial model is directly adjusted by acquiring the incremental directional distance field information, and the incremental updating greatly improves the adjusting efficiency, so that compared with the full-scale updating, the calculated amount is greatly reduced, and the performance is more stable. In addition, the initial model is controlled to be adjusted to the target model corresponding to the target directional distance field information through the method, so that the surface of the virtual model is directly arched or collapsed to be adjusted, and a user can more intuitively acquire an adjusting effect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a control method for modeling provided in a first embodiment of the present application;
fig. 2 is a schematic diagram of visual information of a 2D directed distance field in a control method for modeling according to a first embodiment of the present application;
FIG. 3 is an interface schematic diagram of a user adjusting an initial model in a control method for model creation according to a first embodiment of the present disclosure;
fig. 4 is a schematic flowchart of S105 to S106 in a control method for modeling according to the first embodiment of the present application;
FIG. 5 is a schematic flowchart of S106 in a control method for modeling according to a first embodiment of the present application;
fig. 6 is a schematic flowchart of S107 to S108 in a control method for modeling according to the first embodiment of the present application;
FIG. 7 is a schematic diagram of a control device for modeling according to a second embodiment of the present application;
fig. 8 is a schematic diagram of a control apparatus for modeling provided in a third embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flow chart of a control method for modeling according to a first embodiment of the present application. In this embodiment, the execution subject of the control method for modeling is a device having control for modeling, and the control device for modeling may be a personal computer, a server, or the like, or may be a processor, a microprocessor, or the like. In the embodiment of the present application, a control apparatus for model creation (hereinafter referred to simply as an apparatus) is used as an execution subject of a control method for model creation, and the apparatus is not particularly limited. The control method of the modeling as shown in fig. 1 may include:
s101: and acquiring an initial model and initial directed distance field information corresponding to the initial model.
Before describing a control method for modeling in this embodiment, the related content of the directed distance field will be described for easy understanding.
Directed distance field (Signed Distance Field, SDF): refers to a sampling grid that determines whether a point is within an area, from a point in space to the nearest distance of the virtual model surface. Where Signed refers to the sign, distance refers to the Distance to the point, and Field refers to the area. I.e. the settlement results of the SDF characterize whether a point is inside or outside an area. As a rule, a negative value is used to represent the interior of an object and a positive value is used to represent the exterior of an object, where 0 is the surface.
As shown in fig. 2, fig. 2 is a visual information of a 2D directed distance field. The square in fig. 2 is a plurality of grids formed by discretizing a space, and the numbers in fig. 2 are elements in the directional distance field information, and each element is a floating point type data. The network structure formed by a plurality of grids is traversed through the whole space from any corner point to find the vertical line relative to the tangent line of the surface, at the moment, the numerical solution can be obtained by a point-to-plane distance formula, and if the vertical line is in the surface, the negative value distance is taken; if the vertical line is inside the surface, taking a positive distance; on the surface, 0 is taken.
A 3D directed distance field is a network of voxels, i.e. microcubes, that discretize a space.
The device acquires an initial model and initial directed distance field information corresponding to the initial model.
The initial model is a model which is initially created, generally refers to an electronic computer digital model, is created by a content creation tool, for example, max3D, maya, and is used by third party software, for example, a model file in suffix format such as · fbx · obj.
In this embodiment, only the appearance surface of the initial model is adjusted, and there is no limitation on the completion degree of the initial model, and there is no limitation on the modeling method of the initial model.
After the equipment acquires the initial model, initial directed distance field information corresponding to the initial model is generated according to the initial model. The initial directed distance field information corresponding to the initial model is essentially a three-dimensional array, and each element in the array is floating point type data.
S102: and when a model adjustment instruction is detected, acquiring incremental directional distance field information according to the model adjustment instruction.
The device monitors whether there is a model adjustment instruction. The model adjustment instruction may be triggered and generated by an adjustment operation of a user. Specifically, the model adjustment instructions include a model surface doming instruction and a model surface collapse instruction.
For example, as shown in fig. 3, fig. 3 is an interface schematic of the user for adjusting the initial model. In fig. 3 is a human virtual model. At the time of interaction, the user's adjustment operation is an operation for the pressing direction, for example, a left mouse button continuously clicks on the initial model surface. Generating a model adjustment instruction according to the operation of the user on the extrusion direction, wherein the model adjustment instruction comprises an adjustment direction and an extrusion adjustment value. In the interaction, the adjustment operation by the user is an operation for the arching direction, for example, a right click of the mouse continuously clicks the initial model surface. Generating a model adjustment instruction according to the operation of the user on the arching direction, wherein the model adjustment instruction comprises an adjustment direction and an arching adjustment value.
The model adjustment instruction comprises an adjustment direction and an adjustment value, and the device acquires incremental directional distance field information according to the model adjustment instruction. Wherein the incremental directional distance field information includes an adjustment direction, and an adjustment value.
In this embodiment, the incremental directional distance field information may be stored separately, which is convenient to call.
In an alternative embodiment, in order to achieve a better adjustment effect, an adjustment range corresponding to the initial model may be set to prevent excessive adjustment. Before S104, S105 to S106 may be included, referring to fig. 4, fig. 4 is a schematic flowchart of S105 to S106 in a control method for modeling according to the first embodiment of the present application, where S105 to S106 are specifically as follows:
s105: and acquiring an adjustment range corresponding to the initial model.
S106: and when the adjustment operation is detected, generating a model adjustment instruction according to the adjustment range and the adjustment operation.
The device obtains an adjustment range corresponding to the initial model. And the device stores an adjustment range corresponding to the initial model in advance. The adjustment range corresponding to the initial model is the range of the initial model allowing adjustment of the floating change. The adjustment range corresponding to the initial model is set according to the distance that the appearance of the initial model is allowed to collapse or arch when the model is manufactured.
When the device detects an adjustment operation, a model adjustment instruction is generated according to the adjustment range and the adjustment operation.
In an alternative embodiment, when the device detects an adjustment operation, the device obtains an adjustment direction and an initial adjustment value according to the adjustment operation, and when the initial adjustment value is within the adjustment range, the device generates the model adjustment instruction directly according to the initial adjustment value and the adjustment direction.
In an alternative embodiment, referring to fig. 5, fig. 5 is a schematic flowchart of S106 in a control method for modeling according to a first embodiment of the present application, and S106 includes:
s1061: generating an initial adjustment instruction according to the adjustment operation; the initial adjustment instruction comprises an initial adjustment value and an adjustment direction.
S1062: and when the initial adjustment value is not in the adjustment range, generating a model adjustment instruction according to the adjustment direction and the adjustment range.
The device may also generate an initial adjustment instruction according to the adjustment operation; the initial adjustment instruction comprises an initial adjustment value and an adjustment direction, and when the initial adjustment value is not in the adjustment range, the model adjustment instruction is generated according to the adjustment direction and the adjustment range.
For example, the adjustment range of the initial model is set to be [ -2.2,4.0], the initial adjustment value acquired by the device is 6, the adjustment direction is positive, and when the initial adjustment value is not within the adjustment range, a model adjustment instruction is generated according to the adjustment direction and the adjustment range. Then, the adjustment value in the model adjustment instruction finally generated by the device is 4, and the adjustment direction is positive.
In an alternative embodiment, to obtain the process of adjusting the initial model, we can obtain interpolation increment information, and adjust the initial model by overlapping the interpolation increment information multiple times. When the device detects the model adjustment instruction, interpolation increment information is obtained according to the model adjustment instruction, and increment directional distance field information is obtained according to the difference increment information.
And when the device detects the model adjustment instruction, obtaining interpolation increment information according to the model adjustment instruction. The model adjustment instruction comprises an adjustment direction and an adjustment value, and the device calculates interpolation increment information according to the interpolation change amount and the adjustment data. Wherein the interpolation value used in each interpolation is increasing the interval time of each frame.
For example, the initial value of the first time T1 is a1, and the target value of the second time T4 is a 4. The difference between a4 and a1 is the adjustment value. The time of the intermediate interpolation is T2 and T3, and the interpolation increment information is a2 and a3 respectively, wherein a and T are in linear correlation.
S103: and obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information.
The device calculates target directional distance field information according to the incremental directional distance field information and the initial directional distance field information. That is, the device performs incremental computation on the initial directed-distance-field information according to the surface normal direction based on the incremental directed-distance-field information to obtain target directed-distance-field information.
The target directional distance field information is the directional distance field information adjusted in response to the adjustment instruction.
S104: controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
The device controls the initial model to be adjusted to a target model based on the target directional distance field information, wherein the target model is a model corresponding to the target directional distance field information.
When the device controls the initial model to adjust to the target model, the device actually completes the detection of the directional distance field information according to the surface normal direction, carries out offset and completes the adjustment.
In an alternative embodiment, when the device detects the model adjustment instruction, interpolation increment information is obtained according to the model adjustment instruction, and increment directed distance field information is obtained according to the difference increment information. After S104, S107 to S108 may be included, referring to fig. 6, fig. 6 is a schematic flowchart of S107 to S108 in a control method for modeling provided in the first embodiment of the present application, where S107 to S108 are specifically as follows:
s107: and acquiring an evolution adjustment model according to the initial directed distance field information and the interpolation increment information.
S108: and displaying the process of adjusting the initial model to the target model corresponding to the target directional distance field information based on the adjustment evolution model.
The device acquires an evolution adjustment model according to the initial directed distance field information and the interpolation increment information, wherein the evolution adjustment model is a model which evolves in the process of adjusting the initial model into the target model. The number of interpolation increment information can be one or a plurality of interpolation increment information, and each interpolation increment information corresponds to one adjustment evolution model.
For example, the initial value of the first time T1 is a1, and the target value of the second time T4 is a 4. The difference between a4 and a1 is the adjustment value. The time of the intermediate interpolation is T2 and T3, and the interpolation increment information is a2 and a3 respectively, wherein a and T are in linear correlation. a2 corresponds to a first tuned evolution model and a3 corresponds to a second tuned evolution model. And the process of adjusting the initial model to the target model corresponding to the target directional distance field information is from the initial model, the first adjustment evolution model, the second adjustment evolution model and the target model, and the equipment displays the change process. The evolution of the engraving animation of the virtual model is completed, and the effect of real-time engraving change of the virtual model can be seen.
In the embodiment of the application, an initial model and initial directed distance field information corresponding to the initial model are acquired; when a model adjustment instruction is detected, acquiring incremental directional distance field information according to the model adjustment instruction; obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information; controlling the initial model to be adjusted to a target model corresponding to the target directional distance field information based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information. According to the method, when the appearance of the virtual model is adjusted, the initial model is directly adjusted by acquiring the incremental directional distance field information, and the incremental updating greatly improves the adjusting efficiency, so that compared with the full-scale updating, the calculated amount is greatly reduced, and the performance is more stable. In addition, the initial model is controlled to be adjusted to the target model corresponding to the target directional distance field information through the method, so that the surface of the virtual model is directly arched or collapsed to be adjusted, and a user can more intuitively acquire an adjusting effect.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Referring to fig. 7, fig. 7 is a schematic diagram of a control device for modeling according to a second embodiment of the present application. The units included are for performing the steps in the corresponding embodiments of fig. 1, 4-6. Refer specifically to the related descriptions in the corresponding embodiments of fig. 1, 4-6. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 7, the control device 7 for modeling includes:
a first obtaining unit 71, configured to obtain an initial model and initial directed distance field information corresponding to the initial model;
a second obtaining unit 72, configured to obtain incremental directional distance field information according to a model adjustment instruction when the model adjustment instruction is detected;
a first processing unit 73, configured to obtain target directional distance field information according to the incremental directional distance field information and the initial directional distance field information;
a second processing unit 74 for controlling the initial model to adjust to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
Further, the model adjustment instructions include a model surface camber instruction and a model surface collapse instruction.
Further, the control device 7 for modeling further includes:
the third acquisition unit is used for acquiring an adjustment range corresponding to the initial model;
and the third processing unit is used for generating a model adjustment instruction according to the adjustment range and the adjustment operation when the adjustment operation is detected.
Further, the third processing unit is specifically configured to:
generating an initial adjustment instruction according to the adjustment operation; the initial adjustment instruction comprises an initial adjustment value and an adjustment direction;
and when the initial adjustment value is not in the adjustment range, generating a model adjustment instruction according to the adjustment direction and the adjustment range.
Further, the second obtaining unit 72 is specifically configured to:
when a model adjustment instruction is detected, interpolation increment information is obtained according to the model adjustment instruction, and increment directional distance field information is obtained according to the difference increment information.
Further, the control device 7 for modeling further includes:
a fourth obtaining unit, configured to obtain an evolution adjustment model according to the initial directed distance field information and the interpolation increment information;
and the fourth processing unit is used for displaying the process of adjusting the initial model to the target model corresponding to the target directional distance field information based on the adjustment evolution model.
Referring to fig. 8, fig. 8 is a schematic diagram of a control apparatus for modeling according to a third embodiment of the present application. As shown in fig. 8, the control apparatus 8 of modeling of this embodiment includes: a processor 80, a memory 81 and a computer program 82, such as a modeled control program, stored in said memory 81 and executable on said processor 80. The processor 80, when executing the computer program 82, implements the steps in the control method embodiments of the respective modeling described above, such as steps S101 to S104 shown in fig. 1. Alternatively, the processor 80 may perform the functions of the modules/units in the above-described apparatus embodiments when executing the computer program 82, for example, the functions of the first obtaining unit 71 to the second processing unit 74 shown in fig. 7.
By way of example, the computer program 82 may be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 82 in the modeled control device 8. For example, the computer program 82 may be divided into a first acquisition unit, a second acquisition unit, a first processing unit and a second processing unit, each unit specifically functioning as follows:
the first acquisition unit is used for acquiring an initial model and initial directed distance field information corresponding to the initial model;
the second acquisition unit is used for acquiring incremental directional distance field information according to the model adjustment instruction when the model adjustment instruction is detected;
the first processing unit is used for obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information;
the second processing unit is used for controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
The modeled control device 8 may include, but is not limited to, a processor 80, a memory 81. It will be appreciated by those skilled in the art that fig. 8 is merely an example of a modeled control device 8 and does not constitute a limitation of the modeled control device 8, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the modeled control device 8 may also include input-output devices, network access devices, buses, etc.
The processor 80 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the modeled control device 8, such as a hard disk or a memory of the modeled control device 8. The memory 81 may be an external memory device of the modeling control device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided in the modeling control device 8. Further, the modeled control device 8 may also include both an internal memory unit and an external memory device of the modeled control device 8. The memory 81 is used for storing the computer program as well as other programs and data required by the modeled control device 8. The memory 81 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
The embodiment of the application also provides a network device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that may be performed in the various method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A control method for model making, comprising:
acquiring an initial model and initial directed distance field information corresponding to the initial model;
when a model adjustment instruction is detected, acquiring incremental directional distance field information according to the model adjustment instruction;
obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information;
controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
2. The method of controlling modeling as claimed in claim 1, wherein the model adjustment command includes a model surface doming command and a model surface collapse command.
3. The method of controlling modeling as claimed in claim 1, further comprising, before the obtaining incremental directed distance field information according to the model adjustment instruction when the model adjustment instruction is detected:
acquiring an adjustment range corresponding to the initial model;
and when the adjustment operation is detected, generating a model adjustment instruction according to the adjustment range and the adjustment operation.
4. A control method for modeling as claimed in claim 3, wherein said generating a model adjustment instruction based on said adjustment range and said adjustment operation includes:
generating an initial adjustment instruction according to the adjustment operation; the initial adjustment instruction comprises an initial adjustment value and an adjustment direction;
and when the initial adjustment value is not in the adjustment range, generating a model adjustment instruction according to the adjustment direction and the adjustment range.
5. The method for controlling modeling as claimed in claim 1, wherein the acquiring incremental directional distance field information according to the model adjustment instruction when the model adjustment instruction is detected includes:
when a model adjustment instruction is detected, interpolation increment information is obtained according to the model adjustment instruction, and increment directional distance field information is obtained according to the difference increment information.
6. The method of controlling modeling according to claim 5, wherein after controlling the initial model to be adjusted to the target model based on the target directional distance field information, further comprising:
acquiring an evolution adjustment model according to the initial directed distance field information and the interpolation increment information;
and displaying the process of adjusting the initial model to the target model corresponding to the target directional distance field information based on the adjustment evolution model.
7. A control device for modeling, comprising:
the first acquisition unit is used for acquiring an initial model and initial directed distance field information corresponding to the initial model;
the second acquisition unit is used for acquiring incremental directional distance field information according to the model adjustment instruction when the model adjustment instruction is detected;
the first processing unit is used for obtaining target directional distance field information according to the incremental directional distance field information and the initial directional distance field information;
the second processing unit is used for controlling the initial model to be adjusted to a target model based on the target directional distance field information; the target model is a model corresponding to the target directional distance field information.
8. The modeling control device of claim 7, wherein the model adjustment instructions include a model surface doming instruction and a model surface collapse instruction.
9. A control apparatus for modeling, comprising: a processor, a memory and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
CN202211721979.2A 2022-12-30 2022-12-30 Control method, device and equipment for model making Pending CN116206089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211721979.2A CN116206089A (en) 2022-12-30 2022-12-30 Control method, device and equipment for model making

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211721979.2A CN116206089A (en) 2022-12-30 2022-12-30 Control method, device and equipment for model making

Publications (1)

Publication Number Publication Date
CN116206089A true CN116206089A (en) 2023-06-02

Family

ID=86518241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211721979.2A Pending CN116206089A (en) 2022-12-30 2022-12-30 Control method, device and equipment for model making

Country Status (1)

Country Link
CN (1) CN116206089A (en)

Similar Documents

Publication Publication Date Title
CN110411464B (en) Three-dimensional point cloud map generation method, device, equipment and storage medium
CN111640180B (en) Three-dimensional reconstruction method and device and terminal equipment
US10452788B2 (en) Modeling a three-dimensional object having multiple materials
KR20150051908A (en) Updating a cad model to reflect global or local shape changes
CN111976135A (en) 3D model placing method and device, storage medium and 3D printer
CN113256799A (en) Three-dimensional face model training method and device
CN111168688B (en) Robot action playback method and device
CN110415341A (en) A kind of generation method of three-dimensional face model, device, electronic equipment and medium
CN112435323B (en) Light effect processing method, device, terminal and medium in virtual model
CN110690835A (en) Method for accelerating and decelerating motor by using S-shaped curve
CN112505652A (en) Target detection method, device and storage medium
CN116206089A (en) Control method, device and equipment for model making
Capunaman et al. A vision-based sensing framework for adaptive robotic tooling of indefinite surfaces
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN116467896A (en) Orthodontic treatment effect simulation system and method
CN111914380A (en) Part model determination method and device, computer equipment and storage medium
CN114797109A (en) Object editing method and device, electronic equipment and storage medium
CN114140508A (en) Method, system and equipment for generating three-dimensional reconstruction model and readable storage medium
CN109002553B (en) Method and device for constructing hair model, electronic equipment and computer readable medium
Lu et al. Subdivision surface-based finish machining
CN117272758B (en) Depth estimation method, device, computer equipment and medium based on triangular grid
CN112329165B (en) Modeling method, device and equipment for bending and rebounding square tube of wheel cover framework
CN111652970B (en) Three-dimensional CAD model generation method, device, computer equipment and storage medium
CN108305329A (en) A kind of method and terminal of structure model
CN117689773B (en) Mapping method, mapping device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination