CN109472873A - Generation method, device, the hardware device of threedimensional model - Google Patents

Generation method, device, the hardware device of threedimensional model Download PDF

Info

Publication number
CN109472873A
CN109472873A CN201811303618.XA CN201811303618A CN109472873A CN 109472873 A CN109472873 A CN 109472873A CN 201811303618 A CN201811303618 A CN 201811303618A CN 109472873 A CN109472873 A CN 109472873A
Authority
CN
China
Prior art keywords
terminal device
threedimensional model
control
trigger signal
generation method
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.)
Granted
Application number
CN201811303618.XA
Other languages
Chinese (zh)
Other versions
CN109472873B (en
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.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
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 Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811303618.XA priority Critical patent/CN109472873B/en
Publication of CN109472873A publication Critical patent/CN109472873A/en
Application granted granted Critical
Publication of CN109472873B publication Critical patent/CN109472873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The disclosure discloses generation method, device, the hardware device of a kind of threedimensional model.Wherein, the generation method of the threedimensional model includes: that terminal device shows the first control;Terminal device receives the trigger signal of the first control, generates the first threedimensional model;Terminal device shows the second control;Terminal device receives the trigger signal of the second control, according to the amount of movement of terminal device and the first threedimensional model, generates the second threedimensional model.The generation method of the threedimensional model of the embodiment of the present disclosure directly can modify to the shape of threedimensional model by mobile terminal device based on basic threedimensional model, improve the flexibility and convenience of threedimensional model generation.

Description

Generation method, device, the hardware device of threedimensional model
Technical field
This disclosure relates to the generation field of threedimensional model, more particularly to the generation method of a kind of threedimensional model, device, hard Part device.
Background technique
Augmented reality (Augmented Reality, abbreviation AR) is a kind of position for calculating camera image in real time Set and angle and plus respective image, video, dummy object technology, the target of this technology is on the screen virtual world It covers in real world and is interacted.
Augmented reality implementation method is that dummy object is put into reality scene, i.e., by true environment and virtually Object is superimposed upon the same picture or space in real time.And be superimposed after, the dummy object can according to scheduled motion profile into Row movement, or dummy object is controlled by control and carries out predetermined action.Dummy object in augmented reality typically can be Threedimensional model, which makes in third party's tools in advance, and is loaded into reality scene.
It in above-mentioned augmented reality, can not directly modify to threedimensional model, need to repair by tools Change, it is cumbersome and not flexible.
Summary of the invention
According to one aspect of the disclosure, the following technical schemes are provided:
A kind of generation method of threedimensional model, comprising: terminal device shows the first control;Terminal device receives the first control The trigger signal of part generates the first threedimensional model;Terminal device shows the second control;Terminal device receives the touching of the second control It signals, according to the amount of movement of terminal device and the first threedimensional model, generates the second threedimensional model.
Further, the terminal device receives the trigger signal of the first control, generates the first threedimensional model, comprising: Terminal device receives the trigger signal of the first control, and the image of reality scene is obtained by the imaging sensor of terminal device; Terminal device identifies the plane in described image;In response to identifying the plane, terminal device generates on the plane One threedimensional model.
Further, described in response to identifying the plane, terminal device generates the first three-dimensional mould on the plane Type, comprising: in response to identifying the plane, terminal device shows third control;Terminal device receives the touching of third control It signals, generates the first threedimensional model on the plane.
Further, the trigger signal of the first control is received in the terminal device, after generating the first threedimensional model, Further include: terminal device shows the 4th control;Terminal device receives the trigger signal of the 4th control, to the terminal device Screen-picture is shot, and the picture or video of screen-picture are generated.
Further, the trigger signal that the 4th control is received in the terminal device, to the screen of the terminal device After picture is shot, further includes: terminal device shows the 6th control;Terminal device receives the triggering letter of the 6th control Number, the picture or video of the screen-picture are edited.
Further, the trigger signal of the first control is received in the terminal device, after generating the first threedimensional model, Further include: terminal device shows the 5th control;Terminal device receives the trigger signal of the 5th control, three-dimensional according to described first Model or the second threedimensional model generate third threedimensional model.
Further, the trigger signal that the 5th control is received in terminal device, according to first threedimensional model or Second threedimensional model generates after third threedimensional model, further includes: terminal device shows the first state of the 5th control.
Further, the terminal device shows the second control, comprising: terminal device detects the terminal device and described the The distance between one threedimensional model;In response to the distance in first threshold, the terminal shows the first shape of the second control State;In response to the distance outside first threshold, the terminal shows the second state of the second control.
Further, the terminal device receives the trigger signal of the second control, according to the amount of movement of terminal device with And first threedimensional model, generate the second threedimensional model, comprising: terminal device receives the trigger signal of the second control, detects institute The amount of movement of terminal device is stated, and the amount of movement is resolved into vertical shift component and horizontal movement component;Terminal device root According to the vertical shift component, horizontal movement component and the first threedimensional model, the second threedimensional model is generated.
Further, the terminal device is according to the three-dimensional mould of the vertical shift component, horizontal movement component and first Type generates the second threedimensional model, comprising: according to the vertical shift component and horizontal movement component, mobile described first is three-dimensional The key point of model generates the second threedimensional model according to the key point after movement.
According to another aspect of the disclosure, also the following technical schemes are provided:
A kind of generating means of threedimensional model, comprising:
First control display module shows the first control for terminal device;
First model generation module receives the trigger signal of the first control for terminal device, generates the first three-dimensional mould Type;
Second control display module shows the second control for terminal device;
Second model generation module, the trigger signal of the second control is received for terminal device, according to terminal device Amount of movement and the first threedimensional model generate the second threedimensional model.
Further, the first model generation module, comprising:
Image collection module receives the trigger signal of the first control for terminal device, passes through the image of terminal device The image of sensor acquisition reality scene;
Plane identification module, for the plane in terminal device identification described image;
First model generates submodule, in response to identifying the plane, terminal device to generate on the plane First threedimensional model.
Further, first model generates submodule, further includes:
Third control display module, in response to identifying the plane, terminal device to show third control;
First model generates the first submodule, and the trigger signal of third control is received for terminal device, described flat The first threedimensional model is generated on face.
Further, the generating means of the threedimensional model, further includes:
4th control display module shows the 4th control for terminal device;
Shooting module receives the trigger signal of the 4th control for terminal device, draws to the screen of the terminal device Face is shot, and the picture or video of screen-picture are generated.
Further, the shooting module, further includes:
6th control display module shows the 6th control for terminal device;
Editor module receives the trigger signal of the 6th control for terminal device, picture to the screen-picture or Video is edited.
Further, the generating means of the threedimensional model, further includes:
5th control display module shows the 5th control for terminal device;
Third model generation module, the trigger signal of the 5th control is received for terminal device, according to the described 1st Dimension module or the second threedimensional model generate third threedimensional model.
Further, the generating means of the threedimensional model, further includes:
5th control state changes module, and the first state of the 5th control is shown for terminal device.
Further, the second control display module, further includes:
Apart from detection module, the distance between the terminal device and first threedimensional model are detected for terminal device;
Second control state changes module, in response to the distance, in first threshold, the terminal to show second The first state of control;In response to the distance outside first threshold, the terminal shows the second state of the second control.
Further, the second model generation module, further includes:
Mobile detection module, the trigger signal of the second control is received for terminal device, detects the terminal device Amount of movement, and the amount of movement is resolved into vertical shift component and horizontal movement component;
Second model generate submodule, for terminal device according to the vertical shift component, horizontal movement component and First threedimensional model generates the second threedimensional model.
Further, second model generates submodule, is also used to:
According to the vertical shift component and horizontal movement component, the key point of mobile first threedimensional model, according to The key point after movement generates the second threedimensional model.
According to the another aspect of the disclosure, and also the following technical schemes are provided:
A kind of electronic equipment, comprising: memory, for storing non-transitory computer-readable instruction;And processor, it uses In running the computer-readable instruction, so that the processor realizes the generation method institute of any of the above-described threedimensional model when executing The step of stating.
According to the another aspect of the disclosure, and also the following technical schemes are provided:
A kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory When computer-readable instruction is executed by computer, so that the step of computer executes described in any of the above-described method.
The disclosure discloses generation method, device, the hardware device of a kind of threedimensional model.Wherein, the generation of the threedimensional model Method includes: that terminal device shows the first control;Terminal device receives the trigger signal of the first control, generates the first three-dimensional mould Type;Terminal device shows the second control;Terminal device receives the trigger signal of the second control, according to the amount of movement of terminal device And first threedimensional model, generate the second threedimensional model.The generation method of the threedimensional model of the embodiment of the present disclosure can be based on base This threedimensional model, directly modifies to the shape of threedimensional model by mobile terminal device, improves threedimensional model generation Flexibility and convenience.
Above description is only the general introduction of disclosed technique scheme, in order to better understand the technological means of the disclosure, and It can be implemented in accordance with the contents of the specification, and to allow the above and other objects, features and advantages of the disclosure can be brighter Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Detailed description of the invention
Fig. 1 is the flow diagram according to the generation method of the threedimensional model of an embodiment of the present disclosure;
Fig. 2 is the signal according to the method for the calculating of one embodiment of the disclosure mobile vertical component and horizontal component Figure;
Fig. 3 is the schematic diagram that the second threedimensional model is generated by mobile key point according to one embodiment of the disclosure;
Fig. 4 a-4e is the example schematic according to the generation method of the threedimensional model of one embodiment of the disclosure;
Fig. 5 is the structural schematic diagram according to the generating means of the threedimensional model of an embodiment of the present disclosure;
Fig. 6 is the structural schematic diagram of the electronic equipment provided according to the embodiment of the present disclosure.
Specific embodiment
Illustrate embodiment of the present disclosure below by way of specific specific example, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the disclosure easily.Obviously, described embodiment is only the disclosure A part of the embodiment, instead of all the embodiments.The disclosure can also be subject to reality by way of a different and different embodiment It applies or applies, the various details in this specification can also be based on different viewpoints and application, in the spirit without departing from the disclosure Lower carry out various modifications or alterations.It should be noted that in the absence of conflict, the feature in following embodiment and embodiment can To be combined with each other.Based on the embodiment in the disclosure, those of ordinary skill in the art are without creative efforts Every other embodiment obtained belongs to the range of disclosure protection.
It should be noted that the various aspects of embodiment within the scope of the appended claims are described below.Ying Xian And be clear to, aspect described herein can be embodied in extensive diversified forms, and any specific structure described herein And/or function is only illustrative.Based on the disclosure, it will be understood by one of ordinary skill in the art that one described herein Aspect can be independently implemented with any other aspect, and can combine the two or both in these aspects or more in various ways. For example, carry out facilities and equipments in terms of any number set forth herein can be used and/or practice method.In addition, can make With other than one or more of aspect set forth herein other structures and/or it is functional implement this equipment and/or Practice the method.
It should also be noted that, diagram provided in following embodiment only illustrates the basic structure of the disclosure in a schematic way Think, component count, shape and the size when only display is with component related in the disclosure rather than according to actual implementation in schema are drawn System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also It can be increasingly complex.
In addition, in the following description, specific details are provided for a thorough understanding of the examples.However, fields The skilled person will understand that the aspect can be practiced without these specific details.
The embodiment of the present disclosure provides a kind of generation method of threedimensional model.The generation of the threedimensional model provided in this embodiment Method can be executed by a computing device, which can be implemented as software, or be embodied as the group of software and hardware It closes, which, which can integrate, is arranged in server, terminal device etc..As shown in Figure 1, the generation method of the threedimensional model Mainly include the following steps S101 to step S104.Wherein:
Step S101: terminal device shows the first control;
In this step, the terminal device can be the mobile terminal device with display device and imaging sensor, The typical terminal device can be smart phone, tablet computer, personal digital assistant etc..First control can be with It is any type of control such as virtual push button, sliding block.Typically, the terminal device is smart phone comprising touch screen, Touch-control screen display virtual push button can be located at appointing on the screen of the terminal device as the first control, first control Meaning position.
Step S102: terminal device receives the trigger signal of the first control, generates the first threedimensional model;
In this embodiment, first threedimensional model is preset threedimensional model, which can wrap Multiple and different patterns or type are included, user can select a three-dimensional mould to display from multiple preset threedimensional models One threedimensional model of type or random display.
In one embodiment, it when the imaging sensor of the terminal device is opened, is obtained by described image sensor The image in reality scene is taken, includes the plane of display scene in described image, the plane may include desktop, ground, wall Plane in face or other various reality scenes, the disclosure are not particularly limited, and the plane in described image are identified, when recognizing After the plane, first threedimensional model is generated on the plane.In a specific example of the embodiment, user The rear camera of smart phone is opened, the rear camera acquires image and identifies the plane in current scene, works as scanning When desktop into current scene, preset three-dimensional vase is generated on the desktop in described image, and in the aobvious of smart phone The desktop and the three-dimensional vase are shown in display screen.
In one embodiment, in response to identifying the plane, terminal device shows third control;Terminal device receives To the trigger signal of third control, the first threedimensional model is generated on the plane.The third control can be arbitrary form Control.In a specific example of the embodiment, user opens the rear camera of smart phone, the rear camera Acquisition image simultaneously identifies the plane in current scene, and when scanning the desktop into current scene, terminal device is shown on the screen Show a placement button, when the user clicks after the button, preset three-dimensional vase is generated on the desktop in described image, and The desktop and the three-dimensional vase are shown on the display screen of smart phone.
In one embodiment, in response to recognizing the plane, the configuration file of the first threedimensional model is read;According to institute The threedimensional model configuration parameter in configuration file is stated, generates first threedimensional model on the plane.In this embodiment, Each preset first threedimensional model is described by one group of configuration parameter, and the configuration parameter is saved in the configuration file In, when plane is arrived in scanning, the configuration file of default threedimensional model is read, the configuration parameter of the default threedimensional model is obtained, First threedimensional model is rendered on the terminal according to the configuration parameter.Include: in the typical configuration parameter The default location of the coordinate of the characteristic point of threedimensional model, the color of threedimensional model, material of threedimensional model etc., threedimensional model. It is understood that configuration parameter in above-mentioned configuration file is only to illustrate, the disclosure is not caused to limit, it is any can be right The configuration parameter that threedimensional model is configured can be applied in the technical solution of the disclosure.
Step S103: terminal device shows the second control;
In this step, the terminal device shows the second control, second control and the described 1st on the screen Dimension module is display together.
In one embodiment, second control includes two states, state of activation and unactivated state, the state It is determined by the distance of terminal device to first threedimensional model.Terminal device detects the terminal device and the first three-dimensional mould The distance between type, in response to the distance in first threshold, the terminal shows the first state of the second control;In response to For the distance outside first threshold, the terminal shows the second state of the second control.It is described to detect the terminal device and institute The distance of the first threedimensional model is stated, vertical line can be done by the plane where the central point to terminal device of the terminal device, The vertical line and first threedimensional model form intersection point, and the distance between described central point to the intersection point is used as the terminal Equipment is at a distance from first threedimensional model, and when the distance is in preset threshold range, expression can be to the first three-dimensional mould Type is operated, and sets state of activation for first control, and when the distance is outside preset threshold range, expression cannot be right First threedimensional model is operated, and sets unactivated state for first control.It is understood that the terminal device It is under the same world coordinate system with first threedimensional model, by the coordinate in world coordinate system, can calculate described Central point is the distance between to the intersection point.The first threshold is preset value, it is to be understood that the distance in the step Other parameters can also be substituted for, in one embodiment, it is aobvious in the terminal device to can detecte first threedimensional model Shared area in showing device, when the area is in preset threshold range, expression can be operated the first threedimensional model, State of activation is set by first control, when the area is outside preset threshold range, expression cannot be to the first three-dimensional mould Type is operated, and sets unactivated state for first control.
Step S104: terminal device receives the trigger signal of the second control, according to the amount of movement of terminal device and One threedimensional model generates the second threedimensional model.
In this embodiment, it is mobile can to hold the terminal device by user, when terminal device detects it is mobile when, can be with The amount of movement for recording terminal device obtains the generation parameter of the second threedimensional model according to the amount of movement, and according to the generation Parameter is based on first threedimensional model, generates second threedimensional model.The movement can further be resolved to perpendicular Mobile component on histogram upward mobile component and horizontal direction.The movement for detecting the terminal device, can be with Entrained acceleration transducer detects in using terminal equipment, and typical acceleration transducer is gyroscope, gravity sensitive Device etc. also can be used the imaging sensor acquisition image of terminal device, detect the terminal device according to the variation in image Movement, the described plane vertically and horizontally referred to where terminal device is vertically and horizontally;Or Specific signal can be used also to determine the beginning and end of terminal device in person.
In one embodiment, when the movement for detecting the terminal device, the side that the mobile terminal is moved is determined To and distance, the direction of the movement can with the home position of terminal device and it is mobile after position line and horizontal direction Angle indicate, the distance of the movement can with the home position of terminal device and it is mobile after position line length table Show, can be calculated separately out in the moving distance and horizontal direction of the movement in the vertical direction using the angle and length Moving distance.Specifically, as shown in Fig. 2, terminal device is moved to B point from A point, and AB and the angle of horizontal direction are θ, from B point does vertical line to vertical axes and trunnion axis, and intersection point is respectively that B1 and B2, then AB1 and AB2 are respectively point of AB in the vertical direction Component in amount and horizontal direction, can calculate AB1=sin θ * AB, AB2=cos θ * AB.
In one embodiment, the movement in response to detecting the terminal device, determine mobile direction and away from From including: to determine mobile starting point in response to detecting trigger signal;In response to detecting that trigger signal disappears, movement is determined Terminal;Mobile direction and distance are determined according to the beginning and end.It in this embodiment, include trigger signal, institute State the mobile beginning and end that trigger signal determines terminal device typically can be arranged trigger control, such as on the terminal device Virtual button is set on the touching display screen of smart phone, and when user's Continued depression virtual push button is not put, determination is worked as The position of preceding terminal device is mobile starting point, and after user unclamps virtual push button just, trigger signal disappears, it is determining at this time The position of terminal device be final position, line between start position and final position and the angle of horizontal direction are made For mobile direction, using the length of the line between start position and final position as mobile distance.
In one embodiment, the height for changing first threedimensional model according to the vertical shift component, according to institute The width that horizontal movement component changes first threedimensional model is stated, the second threedimensional model is thus generated.
In one embodiment, according to the vertical shift component and horizontal movement component, mobile described first three-dimensional mould The key point of type generates the second threedimensional model according to the key point after movement.Specifically, when the first threedimensional model generates Later, plane where from the central point of terminal device to terminal device does vertical line and first threedimensional model forms a friendship Point, the intersection point are operating point, the key point of determining first threedimensional model nearest with the intersection point, by the key point perpendicular Histogram moves up the distance of the component of the vertical direction, move in the horizontal direction the component of the horizontal direction away from From according to position of the key point after mobile, the second threedimensional model of generation.
In another embodiment, after determining the key point, according to key point determination and key point place The first threedimensional model contour curve, by the key point move in the vertical direction the component of the vertical direction away from From moving the distance of the component of the horizontal direction in the horizontal direction, new profile generated according to the key point after movement Curve, the contour curve for keeping this new surround the center axis rotation of the first threedimensional model to generate the second threedimensional model.In the implementation In example, a typical scene is Clay article making scene, and the first threedimensional model is the greenwave of terrine, when user passes through smart phone Key point on mobile greenwave, is stretched or is squeezed to greenwave according to the moving distance of key point and direction, pass through greenwave Rotation form new greenwave in the stretching and extrusion application to entire three-dimensional greenwave, and complete the manufacturing process of greenwave. In this embodiment, the contour curve can be the spline curve generated according to multiple key points on threedimensional model.Such as Fig. 3 For an example of the present embodiment, wherein C point is a key point on first threedimensional model, and L is the first threedimensional model Central axis, the first threedimensional model be dotted line shown in a cylindrical body;When customer mobile terminal equipment, C point is set with terminal Standby movement and move, for the sake of simplicity, this sentences mobile only comprising calculating the shifting of terminal device level for horizontal component After dynamic distance, C point is moved horizontally to C1 point, recalculates the contour curve where C1, that is, the described 2nd 3 at this time The bus of dimension module, the bus are straight line, generate second threedimensional model, that is, solid line in Fig. 3 according to the bus Shown in cylindrical body.
In one embodiment, the generation method of the threedimensional model further include: in response to detecting that first position selects First threedimensional model or second threedimensional model are moved to the first position by signal.In this embodiment, it uses Family can choose the point outside any one first threedimensional model or the second threedimensional model region, plane such as where the first threedimensional model On another point or other planes on point, first threedimensional model is moved on the point at this time, and with The flat state of new point position adjusts the state of the threedimensional model, which can be the angle of the plane and horizontal direction. The step can either step after step s 102 execute, after generating the first threedimensional model, change the first three-dimensional mould After type, after generating the second threedimensional model, the disclosure is not particularly limited.
It in one embodiment, after step s 102, can also include: that terminal device shows the 4th control;Terminal is set The standby trigger signal for receiving the 4th control, shoots the screen-picture of the terminal device, generates the figure of screen-picture Piece or video.In this step, the 4th control for trigger shooting, it is described shoot can be generated screen-picture picture or Video realizes the function of screenshotss or record screen.In this embodiment, the 4th control is triggered, it can be to the generation of threedimensional model Process is shot.
In one embodiment, the trigger signal that the 4th control is received in terminal device, to the screen of the terminal device After curtain picture is shot, further includes: the 6th control of terminal device;Terminal device receives the trigger signal of the 6th control, The picture or video of the screen-picture are edited.In this embodiment, after shooting completion, terminal device can be shown Show edit control, with to the captured advanced editor of picture and video, the editor includes but is not limited to: editing context music, Increase special efficacy, increase paster, increase filter etc..
It in one embodiment, after step s 102, can also include: that terminal device shows the 5th control;Terminal is set The standby trigger signal for receiving the 5th control generates third three-dimensional mould according to first threedimensional model or the second threedimensional model Type.In this embodiment, the 5th control can control the attribute change of threedimensional model without changing the threedimensional model Shape size etc., such as the 5th control can change the texture and/or material of threedimensional model, and specific first threedimensional model can be with For the greenwave of a terrine, the 5th control can be a firing button, when the user clicks after the firing button, by institute The material for stating greenwave is replaced, and is substituted for the material of finished product terrine.Certain 5th control can change threedimensional model Other attributes, are not limited to texture and material, and details are not described herein.It in this embodiment, can after the 5th control is triggered To change the state of the 5th control, as in above-mentioned specific example, after firing button is triggered, it can will fire button and show Show meeting grey, indicates fired completion, cannot trigger again.
It as shown in figs. 4a-4e, is a specific example of the embodiment of the present disclosure.It as shown in fig. 4 a, is the screen of terminal device Curtain display interface, terminal device shows the first control, and in the specific example, the first control is creation (Create) button;Such as Shown in Fig. 4 b, the creation button when the user clicks, into the process of flat scanning (Find a desk and scan it), User can scan the plane for needing to place threedimensional model by mobile terminal device in the process;As illustrated in fig. 4 c, work as identification Out after plane, terminal device shows third control, and in the specific example, third control is that a sagittate placement is pressed Button, and display reminding word (Tap to place object), the placement button, generates the first threedimensional model, such as when the user clicks Shown in Fig. 4 d, in the specific example, the first threedimensional model is the greenwave of a terrine, and terminal device shows the second control, In the specific example, second control is hand-shaped button;As shown in fig 4e, when according to the hand shape button mobile terminal After equipment, change first threedimensional model and generate the second threedimensional model, in the specific example, change terrine bottleneck and The shape of bottle tripe makes it more like a vase, and the initial shape of greenwave is the first threedimensional model, changes bottleneck and bottle tripe shape Shape later is the second threedimensional model.
The disclosure discloses generation method, device, the hardware device of a kind of threedimensional model.Wherein, the generation of the threedimensional model Method includes: that terminal device shows the first control;Terminal device receives the trigger signal of the first control, generates the first three-dimensional mould Type;Terminal device shows the second control;Terminal device receives the trigger signal of the second control, according to the amount of movement of terminal device And first threedimensional model, generate the second threedimensional model.The generation method of the threedimensional model of the embodiment of the present disclosure can be based on base This threedimensional model, directly modifies to the shape of threedimensional model by mobile terminal device, improves threedimensional model generation Flexibility and convenience.
Hereinbefore, although describing each step in above method embodiment, this field skill according to above-mentioned sequence Art personnel it should be clear that the step in the embodiment of the present disclosure not necessarily executes in the order described above, can also with inverted order, it is parallel, Other sequences such as intersection execute, moreover, those skilled in the art can also add other steps on the basis of above-mentioned steps Suddenly, the mode of these obvious variants or equivalent replacement should also be included within the protection scope of the disclosure, and details are not described herein.
It is below embodiment of the present disclosure, embodiment of the present disclosure can be used for executing embodiments of the present disclosure realization The step of, for ease of description, part relevant to the embodiment of the present disclosure is illustrated only, it is disclosed by specific technical details, it asks Referring to embodiments of the present disclosure.
The embodiment of the present disclosure provides a kind of generating means of threedimensional model.The device can execute the life of above-mentioned threedimensional model At the step of described in embodiment of the method.As shown in figure 5, the device 500 specifically includes that the first control display module 501, first Model generation module 502, the second control display module 503 and the second model generation module 504.Wherein,
First control display module 501 shows the first control for terminal device;
First model generation module 502 receives the trigger signal of the first control for terminal device, and it is three-dimensional to generate first Model;
Second control display module 503 shows the second control for terminal device;
Second model generation module 504, the trigger signal of the second control is received for terminal device, according to terminal device Amount of movement and the first threedimensional model, generate the second threedimensional model.
Further, the first model generation module 502, comprising:
Image collection module receives the trigger signal of the first control for terminal device, passes through the image of terminal device The image of sensor acquisition reality scene;
Plane identification module, for the plane in terminal device identification described image;
First model generates submodule, in response to identifying the plane, terminal device to generate on the plane First threedimensional model.
Further, first model generates submodule, further includes:
Third control display module, in response to identifying the plane, terminal device to show third control;
First model generates the first submodule, and the trigger signal of third control is received for terminal device, described flat The first threedimensional model is generated on face.
Further, the generating means 500 of the threedimensional model, further includes:
4th control display module shows the 4th control for terminal device;
Shooting module receives the trigger signal of the 4th control for terminal device, draws to the screen of the terminal device Face is shot, and the picture or video of screen-picture are generated.
Further, the shooting module, further includes:
6th control display module shows the 6th control for terminal device;
Editor module receives the trigger signal of the 6th control for terminal device, picture to the screen-picture or Video is edited.
Further, the generating means 500 of the threedimensional model, further includes:
5th control display module shows the 5th control for terminal device;
Third model generation module, the trigger signal of the 5th control is received for terminal device, according to the described 1st Dimension module or the second threedimensional model generate third threedimensional model.
Further, the generating means 500 of the threedimensional model, further includes:
5th control state changes module, and the first state of the 5th control is shown for terminal device.
Further, the second control display module 503, further includes:
Apart from detection module, the distance between the terminal device and first threedimensional model are detected for terminal device;
Second control state changes module, in response to the distance, in first threshold, the terminal to show second The first state of control;In response to the distance outside first threshold, the terminal shows the second state of the second control.
Further, the second model generation module 504, further includes:
Mobile detection module, the trigger signal of the second control is received for terminal device, detects the terminal device Amount of movement, and the amount of movement is resolved into vertical shift component and horizontal movement component;
Second model generate submodule, for terminal device according to the vertical shift component, horizontal movement component and First threedimensional model generates the second threedimensional model.
Further, second model generates submodule, is also used to:
According to the vertical shift component and horizontal movement component, the key point of mobile first threedimensional model, according to The key point after movement generates the second threedimensional model.
The method that Fig. 5 shown device can execute embodiment illustrated in fig. 1, the part that the present embodiment is not described in detail can join Examine the related description to embodiment illustrated in fig. 1.In implementation procedure and the technical effect embodiment shown in Figure 1 of the technical solution Description, details are not described herein.
Below with reference to Fig. 6, it illustrates the structural representations for the electronic equipment 600 for being suitable for being used to realize the embodiment of the present disclosure Figure.Electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 6 Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in fig. 6, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.) 601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608 Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604 Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, figure As the input unit 606 of sensor, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaking The output device 607 of device, vibrator etc.;Storage device 608 including such as tape, hard disk etc.;And communication device 609.It is logical T unit 609 can permit electronic equipment 600 and wirelessly or non-wirelessly be communicated with other equipment to exchange data.Although Fig. 6 shows The electronic equipment 600 with various devices is gone out, it should be understood that being not required for implementing or having all dresses shown It sets.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 609, or from storage device 608 It is mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes institute State the Node evaluation request of at least two internet protocol addresses, wherein the Node evaluation equipment is internet from described at least two In protocol address, chooses internet protocol address and return;Receive the internet protocol address that the Node evaluation equipment returns;Its In, the fringe node in acquired internet protocol address instruction content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request; From at least two internet protocol address, internet protocol address is chosen;Return to the internet protocol address selected;Wherein, The fringe node in internet protocol address instruction content distributing network received.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (13)

1. a kind of generation method of threedimensional model characterized by comprising
Terminal device shows the first control;
Terminal device receives the trigger signal of the first control, generates the first threedimensional model;
Terminal device shows the second control;
Terminal device receives the trigger signal of the second control, raw according to the amount of movement of terminal device and the first threedimensional model At the second threedimensional model.
2. the generation method of threedimensional model as described in claim 1, which is characterized in that the terminal device receives the first control The trigger signal of part generates the first threedimensional model, comprising:
Terminal device receives the trigger signal of the first control, and the figure of reality scene is obtained by the imaging sensor of terminal device Picture;
Terminal device identifies the plane in described image;
In response to identifying the plane, terminal device generates the first threedimensional model on the plane.
3. the generation method of threedimensional model as claimed in claim 2, which is characterized in that described described flat in response to identifying Face, terminal device generate the first threedimensional model on the plane, comprising:
In response to identifying the plane, terminal device shows third control;
Terminal device receives the trigger signal of third control, generates the first threedimensional model on the plane.
4. the generation method of threedimensional model as described in claim 1, which is characterized in that receive first in the terminal device The trigger signal of control, generate the first threedimensional model after, further includes:
Terminal device shows the 4th control;
Terminal device receives the trigger signal of the 4th control, shoots to the screen-picture of the terminal device, generates screen The picture or video of curtain picture.
5. the generation method of threedimensional model as claimed in claim 4, which is characterized in that receive the 4th in the terminal device The trigger signal of control, after being shot to the screen-picture of the terminal device, further includes:
Terminal device shows the 6th control;
Terminal device receives the trigger signal of the 6th control, edits to the picture or video of the screen-picture.
6. the generation method of threedimensional model as described in claim 1, which is characterized in that receive first in the terminal device The trigger signal of control, generate the first threedimensional model after, further includes:
Terminal device shows the 5th control;
Terminal device receives the trigger signal of the 5th control, is generated according to first threedimensional model or the second threedimensional model Third threedimensional model.
7. the generation method of threedimensional model as claimed in claim 6, which is characterized in that receive the 5th control in terminal device Trigger signal, after generating third threedimensional model according to first threedimensional model or the second threedimensional model, further includes:
Terminal device shows the first state of the 5th control.
8. the generation method of threedimensional model as described in claim 1, which is characterized in that the terminal device shows the second control Part, comprising:
Terminal device detects the distance between the terminal device and first threedimensional model;
In response to the distance in first threshold, the terminal shows the first state of the second control;
In response to the distance outside first threshold, the terminal shows the second state of the second control.
9. the generation method of threedimensional model as described in claim 1, which is characterized in that the terminal device receives the second control The trigger signal of part generates the second threedimensional model according to the amount of movement of terminal device and the first threedimensional model, comprising:
Terminal device receives the trigger signal of the second control, detects the amount of movement of the terminal device, and by the amount of movement Resolve to vertical shift component and horizontal movement component;
Terminal device generates the second three-dimensional mould according to the vertical shift component, horizontal movement component and the first threedimensional model Type.
10. the generation method of threedimensional model as claimed in claim 9, which is characterized in that the terminal device is according to described perpendicular Straight mobile component, horizontal movement component and the first threedimensional model, generate the second threedimensional model, comprising:
According to the vertical shift component and horizontal movement component, the key point of mobile first threedimensional model, according to movement The key point later generates the second threedimensional model.
11. a kind of generating means of threedimensional model characterized by comprising
First control display module shows the first control for terminal device;
First model generation module receives the trigger signal of the first control for terminal device, generates the first threedimensional model;
Second control display module shows the second control for terminal device;
Second model generation module, the trigger signal of the second control is received for terminal device, according to the movement of terminal device Amount and the first threedimensional model generate the second threedimensional model.
12. a kind of electronic equipment, comprising:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction so that the processor execute when realize according to claim 1- The generation method of threedimensional model described in any one of 10.
13. a kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory meter When calculation machine readable instruction is executed by computer, so that the computer perform claim requires three-dimensional described in any one of 1-10 The generation method of model.
CN201811303618.XA 2018-11-02 2018-11-02 Three-dimensional model generation method, device and hardware device Active CN109472873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811303618.XA CN109472873B (en) 2018-11-02 2018-11-02 Three-dimensional model generation method, device and hardware device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811303618.XA CN109472873B (en) 2018-11-02 2018-11-02 Three-dimensional model generation method, device and hardware device

Publications (2)

Publication Number Publication Date
CN109472873A true CN109472873A (en) 2019-03-15
CN109472873B CN109472873B (en) 2023-09-19

Family

ID=65666713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811303618.XA Active CN109472873B (en) 2018-11-02 2018-11-02 Three-dimensional model generation method, device and hardware device

Country Status (1)

Country Link
CN (1) CN109472873B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120101A (en) * 2019-04-30 2019-08-13 中国科学院自动化研究所 Cylindrical body augmented reality method, system, device based on 3D vision

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130187905A1 (en) * 2011-12-01 2013-07-25 Qualcomm Incorporated Methods and systems for capturing and moving 3d models and true-scale metadata of real world objects
KR20130101622A (en) * 2012-02-14 2013-09-16 구대근 Apparatus and system for 3 dimensional design using augmented reality and method for design evaluation
CN104282041A (en) * 2014-09-30 2015-01-14 小米科技有限责任公司 Three-dimensional modeling method and device
US20150221135A1 (en) * 2014-02-06 2015-08-06 Position Imaging, Inc. Virtual reality and augmented reality functionality for mobile devices
US20150286364A1 (en) * 2013-06-17 2015-10-08 Spreadtrum Communications (Shanghai) Co., Ltd. Editing method of the three-dimensional shopping platform display interface for users
CN105338391A (en) * 2015-12-11 2016-02-17 腾讯科技(深圳)有限公司 Intelligent television control method and mobile terminal
CN105493154A (en) * 2013-08-30 2016-04-13 高通股份有限公司 System and method for determining the extent of a plane in an augmented reality environment
CN105513137A (en) * 2014-09-23 2016-04-20 小米科技有限责任公司 Three dimensional model and scene creating method and apparatus based on mobile intelligent terminal
CN105974804A (en) * 2016-05-09 2016-09-28 北京小米移动软件有限公司 Method and device for controlling equipment
CN106373187A (en) * 2016-06-28 2017-02-01 上海交通大学 Two-dimensional image to three-dimensional scene realization method based on AR
CN106896940A (en) * 2017-02-28 2017-06-27 杭州乐见科技有限公司 Virtual objects are presented effect control method and device
CN107452074A (en) * 2017-07-31 2017-12-08 上海联影医疗科技有限公司 A kind of image processing method and system
CN107622524A (en) * 2017-09-29 2018-01-23 百度在线网络技术(北京)有限公司 Display methods and display device for mobile terminal
CN107945285A (en) * 2017-10-11 2018-04-20 浙江慧脑信息科技有限公司 A kind of threedimensional model is exchanged cards containing all personal details and become sworn brothers figure and deformation method
CN108273265A (en) * 2017-01-25 2018-07-13 网易(杭州)网络有限公司 The display methods and device of virtual objects

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130187905A1 (en) * 2011-12-01 2013-07-25 Qualcomm Incorporated Methods and systems for capturing and moving 3d models and true-scale metadata of real world objects
KR20130101622A (en) * 2012-02-14 2013-09-16 구대근 Apparatus and system for 3 dimensional design using augmented reality and method for design evaluation
US20150286364A1 (en) * 2013-06-17 2015-10-08 Spreadtrum Communications (Shanghai) Co., Ltd. Editing method of the three-dimensional shopping platform display interface for users
CN105493154A (en) * 2013-08-30 2016-04-13 高通股份有限公司 System and method for determining the extent of a plane in an augmented reality environment
US20150221135A1 (en) * 2014-02-06 2015-08-06 Position Imaging, Inc. Virtual reality and augmented reality functionality for mobile devices
CN105513137A (en) * 2014-09-23 2016-04-20 小米科技有限责任公司 Three dimensional model and scene creating method and apparatus based on mobile intelligent terminal
CN104282041A (en) * 2014-09-30 2015-01-14 小米科技有限责任公司 Three-dimensional modeling method and device
CN105338391A (en) * 2015-12-11 2016-02-17 腾讯科技(深圳)有限公司 Intelligent television control method and mobile terminal
CN105974804A (en) * 2016-05-09 2016-09-28 北京小米移动软件有限公司 Method and device for controlling equipment
CN106373187A (en) * 2016-06-28 2017-02-01 上海交通大学 Two-dimensional image to three-dimensional scene realization method based on AR
CN108273265A (en) * 2017-01-25 2018-07-13 网易(杭州)网络有限公司 The display methods and device of virtual objects
CN106896940A (en) * 2017-02-28 2017-06-27 杭州乐见科技有限公司 Virtual objects are presented effect control method and device
CN107452074A (en) * 2017-07-31 2017-12-08 上海联影医疗科技有限公司 A kind of image processing method and system
CN107622524A (en) * 2017-09-29 2018-01-23 百度在线网络技术(北京)有限公司 Display methods and display device for mobile terminal
CN107945285A (en) * 2017-10-11 2018-04-20 浙江慧脑信息科技有限公司 A kind of threedimensional model is exchanged cards containing all personal details and become sworn brothers figure and deformation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王志宁;崔博;任炳昱;吴斌平;关涛;: "基于增强现实的堆石坝工程三维可视化场景构建研究", 水力发电, no. 05, pages 57 - 60 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120101A (en) * 2019-04-30 2019-08-13 中国科学院自动化研究所 Cylindrical body augmented reality method, system, device based on 3D vision
CN110120101B (en) * 2019-04-30 2021-04-02 中国科学院自动化研究所 Cylinder augmented reality method, system and device based on three-dimensional vision

Also Published As

Publication number Publication date
CN109472873B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN108520552A (en) Image processing method, device, storage medium and electronic equipment
JP5942456B2 (en) Image processing apparatus, image processing method, and program
US20180182176A1 (en) Structural modeling using depth sensors
CN104081307B (en) Image processing apparatus, image processing method and program
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
CN112965780B (en) Image display method, device, equipment and medium
CN110069125B (en) Virtual object control method and device
JP2013164697A (en) Image processing device, image processing method, program and image processing system
JP7305795B2 (en) Virtual Paintbrush Implementation Method, Apparatus and Computer Readable Storage Medium
CN109656363A (en) It is a kind of for be arranged enhancing interaction content method and apparatus
KR20210083016A (en) Electronic apparatus and controlling method thereof
WO2021244650A1 (en) Control method and device, terminal and storage medium
CN109472873A (en) Generation method, device, the hardware device of threedimensional model
CN109636917A (en) Generation method, device, the hardware device of threedimensional model
CN113436346A (en) Distance measuring method and device in three-dimensional space and storage medium
CN108874141B (en) Somatosensory browsing method and device
CN108829329B (en) Operation object display method and device and readable medium
CN110070617A (en) Method of data synchronization, device, hardware device
CN110209861A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN108989553A (en) The method, apparatus and electronic equipment of scene manipulation
CN114942737A (en) Display method, display device, head-mounted device and storage medium
CN113643320A (en) Image processing method and device, electronic equipment and computer readable storage medium
CN110070600A (en) Generation method, device, the hardware device of threedimensional model
CN111145358B (en) Image processing method, device and hardware device
JP6304305B2 (en) Image processing apparatus, image processing method, and program

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
GR01 Patent grant
GR01 Patent grant