CN109300184A - AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing - Google Patents

AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109300184A
CN109300184A CN201811148264.6A CN201811148264A CN109300184A CN 109300184 A CN109300184 A CN 109300184A CN 201811148264 A CN201811148264 A CN 201811148264A CN 109300184 A CN109300184 A CN 109300184A
Authority
CN
China
Prior art keywords
equipment
displacement
threshold value
threedimensional model
equal
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
CN201811148264.6A
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201811148264.6A priority Critical patent/CN109300184A/en
Publication of CN109300184A publication Critical patent/CN109300184A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics

Abstract

The invention proposes a kind of AR Dynamic Display methods, applied in AR equipment, the described method includes:, to preset the update cycle, being updated according to the displacement of the AR equipment to the threedimensional model presented in the AR equipment when detecting that the AR equipment is subjected to displacement;When the displacement of the AR equipment described within the default update cycle is greater than or equal to setting displacement threshold value, the threedimensional model presented in the AR equipment is updated according to the displacement of the AR equipment.The invention also discloses a kind of AR Dynamic Display device, computer equipment and computer readable storage mediums, by implementing above scheme, AR equipment is realized when sending displacement, dynamic update is carried out to the threedimensional model that AR equipment has been presented, keeps the user experience of AR equipment more preferable.

Description

AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing
Technical field
The present invention relates to field of computer technology more particularly to a kind of AR Dynamic Display method, apparatus, computer equipment and Computer readable storage medium.
Background technique
With the fast development of computer equipment (such as: mobile terminal), application program in computer equipment (App, Application it) also obtained and quickly popularized, wherein technology is in the application by AR (Augmented Reality, augmented reality) It is developed rapidly.Existing AR technology initializes the mistake of AR scene when showing 3D (3Dimensions, three-dimensional) model It needs that 3D model is created and rendered in journey.But in user's mobile computer device, generated 3D mould in AR scene Rendering, position and volume of type etc. remain unchanged, and will not change as the position of computer equipment is mobile, lead to AR scene In generated 3D model display be discord very much, user experience is very bad.
Summary of the invention
The invention proposes a kind of AR Dynamic Display method, apparatus, computer equipment and computer readable storage mediums, use To solve the problems, such as that dynamic does not update generated 3D model in AR scene in the prior art.
The technical solution adopted by the present invention is that providing a kind of augmented reality AR Dynamic Display method, it is applied in AR equipment, The described method includes:
When detecting that the AR equipment is subjected to displacement, with preset the update cycle, judge the AR equipment displacement whether More than or equal to setting displacement threshold value;
The case where the displacement for determining the AR equipment in the default update cycle is greater than or equal to setting displacement threshold value Under, the threedimensional model presented in the AR equipment is updated according to the displacement of the AR equipment.
Optionally, the displacement according to the AR equipment carries out more the threedimensional model presented in the AR equipment Newly, comprising:
According to the displacement of the AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in the AR equipment, To update position, proportional sizes and the rendering content of each threedimensional model presented.
Optionally, the threedimensional model presented in the AR equipment is carried out more in the displacement according to the AR equipment After new, the method also includes:
In the case where other threedimensional models are presented in the AR equipment, according to the current location of the AR equipment, to institute State other threedimensional models positioned, proportional sizes calculate and rendering.
Optionally, the setting displacement threshold value includes: set distance threshold value and/or set angle threshold value;
It is described to determine that being displaced for the AR equipment is greater than or equal to setting displacement threshold value in the default update cycle In the case of, comprising:
It is greater than or equal to set distance threshold value in the shift length for determining the AR equipment in the default update cycle In the case of;
Alternatively, being greater than or equal to set angle threshold in the displacement angle for determining the AR equipment in the default update cycle In the case where value;
Alternatively, being greater than or equal to set distance threshold in the shift length for determining the AR equipment in the default update cycle Value, and the displacement angle of the AR equipment is more than or equal in the case where set angle threshold value.
Optionally, the threedimensional model presented in the AR equipment is carried out more in the displacement according to the AR equipment After new, the method also includes:
When detecting that the AR equipment stops displacement, stop carrying out more the threedimensional model presented in the AR equipment Newly.
The present invention also provides a kind of augmented reality AR Dynamic Display devices, are set in AR equipment, described device includes:
Detection module, for preset the update cycle, judging that the AR is set when detecting that the AR equipment is subjected to displacement Whether standby displacement is greater than or equal to setting displacement threshold value;
Update module, for being greater than or equal to setting position in the displacement for determining the AR equipment in the default update cycle In the case where moving threshold value, the threedimensional model presented in the AR equipment is updated according to the displacement of the AR equipment.
Optionally, the update module, is specifically used for:
According to the displacement of the AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in the AR equipment, To update position, proportional sizes and the rendering content of each threedimensional model presented.
Optionally, described device further include:
Generation module, in the displacement according to the AR equipment to the threedimensional model presented in the AR equipment After being updated, in the case where other threedimensional models are presented in the AR equipment, according to the current location of the AR equipment, Other described threedimensional models are positioned, proportional sizes calculate and rendering.
Optionally, the setting displacement threshold value includes: set distance threshold value and/or set angle threshold value;The detection mould Block is specifically used for:
It is greater than or equal to set distance threshold value in the shift length for determining the AR equipment in the default update cycle In the case of, to preset the update cycle, judge whether the displacement of the AR equipment is greater than or equal to setting displacement threshold value;
Alternatively, being greater than or equal to set angle threshold in the displacement angle for determining the AR equipment in the default update cycle In the case where value, to preset the update cycle, judge whether the displacement of the AR equipment is greater than or equal to setting displacement threshold value;
Alternatively, being greater than or equal to set distance threshold in the shift length for determining the AR equipment in the default update cycle Value, and the displacement angle of the AR equipment, to preset the update cycle, judges more than or equal in the case where set angle threshold value Whether the displacement of the AR equipment is greater than or equal to setting displacement threshold value.
Optionally, described device further include:
Stopping modular, in the displacement according to the AR equipment to the threedimensional model presented in the AR equipment After being updated, when detecting that the AR equipment stops displacement, stop to the threedimensional model presented in the AR equipment It is updated.
The present invention also provides a kind of computer equipment, the computer equipment includes processor and memory;The processing Device is for executing the augmented reality AR Dynamic Display program stored in memory, to realize the step of above-mentioned AR Dynamic Display method Suddenly.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or The multiple programs of person, one or more of programs can be executed by one or more processor, to realize that above-mentioned enhancing is existing The step of real AR Dynamic Display method.
By adopting the above technical scheme, the present invention at least has the advantage that
A kind of AR Dynamic Display method, apparatus, computer equipment and computer readable storage medium of the present invention are realized AR equipment carries out dynamic update when sending displacement, to the threedimensional model that AR equipment has been presented, and makes the user experience of AR equipment More preferably.
Detailed description of the invention
Fig. 1 is AR Dynamic Display method flow diagram described in first embodiment of the invention;
Fig. 2 is AR Dynamic Display method flow diagram described in second embodiment of the invention;
Fig. 3 is AR Dynamic Display method flow diagram described in third embodiment of the invention;
Fig. 4 is AR Dynamic Display method flow diagram described in fourth embodiment of the invention;
Fig. 5 is AR Dynamic Display method flow diagram described in fifth embodiment of the invention;
Fig. 6 is AR Dynamic Display device composed structure schematic diagram described in the 6th and the 7th embodiment of the invention;
Fig. 7 is AR Dynamic Display device composed structure schematic diagram described in the 8th and the 9th embodiment of the invention;
Fig. 8 is AR Dynamic Display device composed structure schematic diagram described in tenth embodiment of the invention;
Fig. 9 is computer equipment composed structure schematic diagram described in eleventh embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of AR Dynamic Display method are applied in AR equipment, as shown in Figure 1, this method packet Include step in detail below:
Step S101, when detecting that AR equipment is subjected to displacement, with preset the update cycle, judge AR equipment displacement whether More than or equal to setting displacement threshold value.
In the present embodiment, the mode being subjected to displacement to detection AR equipment is not specifically limited, can be by AR equipment Whether preset sensor detection AR equipment is subjected to displacement, and can also detect AR equipment by locating module preset in AR equipment Whether it is subjected to displacement.
In the present embodiment, the update cycle is preset more than or equal to setting update threshold value.By that will be set as the update cycle Threshold value is updated more than or equal to setting, the displacement for frequently detecting AR equipment can effectively be avoided to cause to occupy AR device resource mistake It is more, and then lead to the decline of AR equipment performance;Meanwhile the threedimensional model presented in frequent updating AR equipment, it will lead to occupancy AR device resource is excessive, and then leads to the decline of AR equipment performance.
Step S102 is determining the case where displacement of AR equipment in the default update cycle is greater than or equal to setting displacement threshold value Under, the threedimensional model presented in AR equipment is updated according to the displacement of AR equipment.
In the present embodiment, the mode being updated to the threedimensional model presented in AR equipment is included at least with lower section One of formula: position, proportional sizes and the rendering content of each threedimensional model presented are updated.
In the case where the displacement of AR equipment is greater than or equal to setting displacement threshold value, to the three-dimensional mould presented in AR equipment Type is updated, and can be avoided under the premise of guaranteeing that the threedimensional model presented effectively updates to the threedimensional model presented Carrying out frequent updating causes occupancy AR device resource excessive, and then leads to the decline of AR equipment performance.
AR Dynamic Display method described in first embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
Second embodiment of the invention, a kind of AR Dynamic Display method are applied in AR equipment, as shown in Fig. 2, this method packet Include step in detail below:
Step S201, when detecting that AR equipment is subjected to displacement, with preset the update cycle, judge AR equipment displacement whether More than or equal to setting displacement threshold value.
Step S202 is determining the case where displacement of AR equipment in the default update cycle is greater than or equal to setting displacement threshold value Under, according to the displacement of AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in AR equipment, each has been in update Position, proportional sizes and the rendering content of existing threedimensional model.
In the present embodiment, according to the displacement of AR equipment, perspective ratio is carried out to the threedimensional model presented in AR equipment It calculates, in a manner of the position, proportional sizes and the rendering content that update each threedimensional model presented, specifically includes:
Position before being subjected to displacement according to the current location of AR equipment and AR equipment is worked as to what is presented in AR equipment Preceding threedimensional model carries out perspective ratio calculating, in position, proportional sizes and the rendering to update each threedimensional model presented Hold.
In the case where the displacement of AR equipment is greater than or equal to setting displacement threshold value, according to the displacement of AR equipment, AR is set The threedimensional model presented in standby carries out perspective ratio calculating, to update position, the scale bar of each threedimensional model presented Very little and rendering content, the update result for the threedimensional model that can have been presented in guarantee more meet the premise of the visual effect of user Under, it avoids causing occupancy AR device resource excessive the threedimensional model progress frequent updating presented, and then lead to AR equipment The decline of energy.
AR Dynamic Display method described in second embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
Third embodiment of the invention, a kind of AR Dynamic Display method are applied in AR equipment, as shown in figure 3, this method packet Include step in detail below:
Step S301, when detecting that AR equipment is subjected to displacement, with preset the update cycle, judge AR equipment displacement whether More than or equal to setting displacement threshold value.
Step S302 is determining the case where displacement of AR equipment in the default update cycle is greater than or equal to setting displacement threshold value Under, according to the displacement of AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in AR equipment, each has been in update Position, proportional sizes and the rendering content of existing threedimensional model.
Step S303, in the case where other threedimensional models are presented in AR equipment, according to the current location of AR equipment, to this Other threedimensional models are positioned, proportional sizes calculate and rendering.
Due to the displacement of AR equipment, leads to that other threedimensional models are presented in AR equipment, need the present bit according to AR equipment It sets, which is positioned, proportional sizes calculate and rendering, to be the default update cycle in AR equipment The update of the threedimensional model presented provides perspective ratio calculating benchmark.
AR Dynamic Display method described in third embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
Fourth embodiment of the invention, a kind of AR Dynamic Display method are applied in AR equipment, as shown in figure 4, this method packet Include step in detail below:
Step S401, when detecting that AR equipment is subjected to displacement, with preset the update cycle, judge AR equipment displacement whether More than or equal to setting displacement threshold value.
Step S402 is greater than or equal to set distance threshold value in the shift length for determining AR equipment in the default update cycle In the case of;Alternatively, determining the case where displacement angle of AR equipment in the default update cycle is greater than or equal to set angle threshold value Under;Alternatively, the shift length of AR equipment is greater than or equal to set distance threshold value, and AR equipment within the judgement default update cycle Displacement angle be greater than or equal to set angle threshold value in the case where, according to the displacement of AR equipment, to what is presented in AR equipment Threedimensional model carries out perspective ratio calculating, to update position, proportional sizes and the rendering content of each threedimensional model presented.
By the double check of shift length and displacement angle to AR equipment, each three presented can be effectively improved The update precision of the position of dimension module, proportional sizes and rendering content, avoids AR equipment from being subjected to displacement, not to being in AR equipment Position, proportional sizes and the rendering content of existing threedimensional model are effectively updated, and threedimensional model is aobvious in caused AR equipment Show mistake.
Step S403, in the case where other threedimensional models are presented in AR equipment, according to the current location of AR equipment, to this Other threedimensional models are positioned, proportional sizes calculate and rendering.
AR Dynamic Display method described in fourth embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
Fifth embodiment of the invention, a kind of AR Dynamic Display method are applied in AR equipment, as shown in figure 5, this method packet Include step in detail below:
Step S501, when detecting that AR equipment is subjected to displacement, with preset the update cycle, judge AR equipment displacement whether More than or equal to setting displacement threshold value.
Step S502 is greater than or equal to set distance threshold value in the shift length for determining AR equipment in the default update cycle In the case of;Alternatively, determining the case where displacement angle of AR equipment in the default update cycle is greater than or equal to set angle threshold value Under;Alternatively, the shift length of AR equipment is greater than or equal to set distance threshold value, and AR equipment within the judgement default update cycle Displacement angle be greater than or equal to set angle threshold value in the case where, according to the displacement of AR equipment, to what is presented in AR equipment Threedimensional model carries out perspective ratio calculating, to update position, proportional sizes and the rendering content of each threedimensional model presented.
Step S503, in the case where other threedimensional models are presented in AR equipment, according to the current location of AR equipment, to this Other threedimensional models are positioned, proportional sizes calculate and rendering.
Step S504 stops carrying out the threedimensional model presented in AR equipment when detecting that AR equipment stops displacement It updates.
In the case where detecting that AR equipment stops displacement, the position of the threedimensional model presented in AR equipment, scale bar Very little and rendering content will not change, therefore stop being updated the threedimensional model presented in AR equipment, can keep away Exempt from invalid update of the AR equipment to the position of the threedimensional model presented, proportional sizes and rendering content, avoids occupancy AR and set Standby resource is excessive, and then leads to the decline of AR equipment performance
AR Dynamic Display method described in fifth embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
A kind of sixth embodiment of the invention, AR Dynamic Display device, is set in AR equipment, as shown in fig. 6, the device packet Include consisting of part:
Detection module 10, for preset the update cycle, judging the position of AR equipment when detecting that AR equipment is subjected to displacement It moves and whether is greater than or equal to setting displacement threshold value.
In the present embodiment, the mode being subjected to displacement to detection AR equipment is not specifically limited, can be by AR equipment Whether preset sensor detection AR equipment is subjected to displacement, and can also detect AR equipment by locating module preset in AR equipment Whether it is subjected to displacement.
In the present embodiment, the update cycle is preset more than or equal to setting update threshold value.By that will be set as the update cycle Threshold value is updated more than or equal to setting, the displacement for frequently detecting AR equipment can effectively be avoided to cause to occupy AR device resource mistake It is more, and then lead to the decline of AR equipment performance;Meanwhile the threedimensional model presented in frequent updating AR equipment, it will lead to occupancy AR device resource is excessive, and then leads to the decline of AR equipment performance.
Update module 20, for determining the displacement for presetting AR equipment in the update cycle more than or equal to setting displacement threshold value In the case where, the threedimensional model presented in AR equipment is updated according to the displacement of AR equipment.
In the present embodiment, the mode being updated to the threedimensional model presented in AR equipment is included at least with lower section One of formula: position, proportional sizes and the rendering content of each threedimensional model presented are updated.
In the case where the displacement of AR equipment is greater than or equal to setting displacement threshold value, to the three-dimensional mould presented in AR equipment Type is updated, and can be avoided under the premise of guaranteeing that the threedimensional model presented effectively updates to the threedimensional model presented Carrying out frequent updating causes occupancy AR device resource excessive, and then leads to the decline of AR equipment performance.
AR Dynamic Display device described in sixth embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
A kind of seventh embodiment of the invention, AR Dynamic Display device, is set in AR equipment, as shown in fig. 6, the device packet Include consisting of part:
Detection module 10, for preset the update cycle, judging the position of AR equipment when detecting that AR equipment is subjected to displacement It moves and whether is greater than or equal to setting displacement threshold value.
Update module 20, for determining the displacement for presetting AR equipment in the update cycle more than or equal to setting displacement threshold value In the case where, according to the displacement of AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in AR equipment, it is every to update Position, proportional sizes and the rendering content of one threedimensional model presented.
In the present embodiment, according to the displacement of AR equipment, perspective ratio is carried out to the threedimensional model presented in AR equipment It calculates, in a manner of the position, proportional sizes and the rendering content that update each threedimensional model presented, specifically includes:
Position before being subjected to displacement according to the current location of AR equipment and AR equipment is worked as to what is presented in AR equipment Preceding threedimensional model carries out perspective ratio calculating, in position, proportional sizes and the rendering to update each threedimensional model presented Hold.
In the case where the displacement of AR equipment is greater than or equal to setting displacement threshold value, according to the displacement of AR equipment, AR is set The threedimensional model presented in standby carries out perspective ratio calculating, to update position, the scale bar of each threedimensional model presented Very little and rendering content, the update result for the threedimensional model that can have been presented in guarantee more meet the premise of the visual effect of user Under, it avoids causing occupancy AR device resource excessive the threedimensional model progress frequent updating presented, and then lead to AR equipment The decline of energy.
AR Dynamic Display device described in seventh embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
A kind of eighth embodiment of the invention, AR Dynamic Display device, is set in AR equipment, as shown in fig. 7, the device packet Include consisting of part:
Detection module 10, for preset the update cycle, judging the position of AR equipment when detecting that AR equipment is subjected to displacement It moves and whether is greater than or equal to setting displacement threshold value.
Update module 20, for determining the displacement for presetting AR equipment in the update cycle more than or equal to setting displacement threshold value In the case where, according to the displacement of AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in AR equipment, it is every to update Position, proportional sizes and the rendering content of one threedimensional model presented.
Generation module 30, in the case where for other threedimensional models to be presented in AR equipment, according to the present bit of AR equipment It sets, which is positioned, proportional sizes calculate and rendering.
Due to the displacement of AR equipment, leads to that other threedimensional models are presented in AR equipment, need the present bit according to AR equipment It sets, which is positioned, proportional sizes calculate and rendering, to be the default update cycle in AR equipment The update of the threedimensional model presented provides perspective ratio calculating benchmark.
AR Dynamic Display device described in eighth embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
A kind of ninth embodiment of the invention, AR Dynamic Display device, is set in AR equipment, as shown in fig. 7, the device packet Include consisting of part:
Detection module 10, for preset the update cycle, judging the position of AR equipment when detecting that AR equipment is subjected to displacement It moves and whether is greater than or equal to setting displacement threshold value.
Update module 20, for determining the shift length of AR equipment in the default update cycle more than or equal to set distance In the case where threshold value;Alternatively, determining the displacement angle of AR equipment in the default update cycle more than or equal to set angle threshold value In the case where;Alternatively, in the shift length for determining AR equipment in the default update cycle more than or equal to set distance threshold value, and In the case that the displacement angle of AR equipment is greater than or equal to set angle threshold value, according to the displacement of AR equipment, in AR equipment The threedimensional model of presentation carries out perspective ratio calculating, to update position, proportional sizes and the wash with watercolours of each threedimensional model presented Contaminate content.
By the double check of shift length and displacement angle to AR equipment, each three presented can be effectively improved The update precision of the position of dimension module, proportional sizes and rendering content, avoids AR equipment from being subjected to displacement, not to being in AR equipment Position, proportional sizes and the rendering content of existing threedimensional model are effectively updated, and threedimensional model is aobvious in caused AR equipment Show mistake.
Generation module 30, in the case where for other threedimensional models to be presented in AR equipment, according to the present bit of AR equipment It sets, which is positioned, proportional sizes calculate and rendering.
AR Dynamic Display device described in ninth embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
A kind of tenth embodiment of the invention, AR Dynamic Display device, is set in AR equipment, as shown in figure 8, the device packet Include consisting of part:
Detection module 10, for preset the update cycle, judging the position of AR equipment when detecting that AR equipment is subjected to displacement It moves and whether is greater than or equal to setting displacement threshold value.
Update module 20, for determining the shift length of AR equipment in the default update cycle more than or equal to set distance In the case where threshold value;Alternatively, determining the displacement angle of AR equipment in the default update cycle more than or equal to set angle threshold value In the case where;Alternatively, in the shift length for determining AR equipment in the default update cycle more than or equal to set distance threshold value, and In the case that the displacement angle of AR equipment is greater than or equal to set angle threshold value, according to the displacement of AR equipment, in AR equipment The threedimensional model of presentation carries out perspective ratio calculating, to update position, proportional sizes and the wash with watercolours of each threedimensional model presented Contaminate content.
Generation module 30, in the case where for other threedimensional models to be presented in AR equipment, according to the present bit of AR equipment It sets, which is positioned, proportional sizes calculate and rendering.
Stopping modular 40, for stopping to the three-dimensional mould presented in AR equipment when detecting that AR equipment stops displacement Type is updated.
In the case where detecting that AR equipment stops displacement, the position of the threedimensional model presented in AR equipment, scale bar Very little and rendering content will not change, therefore stop being updated the threedimensional model presented in AR equipment, can keep away Exempt from invalid update of the AR equipment to the position of the threedimensional model presented, proportional sizes and rendering content, avoids occupancy AR and set Standby resource is excessive, and then leads to the decline of AR equipment performance
AR Dynamic Display device described in tenth embodiment of the invention realizes AR equipment when sending displacement, sets to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
Eleventh embodiment of the invention, a kind of computer equipment, as shown in figure 9, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to Cross bus or other way connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit, CPU), it can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), or be arranged to implement the embodiment of the present invention One or more integrated circuits.Wherein, memory 502 is used for the executable instruction of storage processor 501;
Memory 502 is transferred to processor 501 for storing program code, and by the program code.Memory 502 can To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Memory 502 also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, the program code management code that processor 501 is used to that memory 502 to be called to store executes the present invention first Embodiment into fifth embodiment of the invention in any embodiment part or Overall Steps.
Computer equipment described in eleventh embodiment of the invention realizes AR equipment when sending displacement, to AR equipment The threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
Twelveth embodiment of the invention, a kind of computer readable storage medium.
Computer storage medium can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storage Device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art storage medium.
Computer-readable recording medium storage has one or more program, one or more program can by one or The multiple processors of person execute, with realize first embodiment of the invention into fifth embodiment of the invention in any embodiment part or Overall Steps.
Computer readable storage medium described in twelveth embodiment of the invention is stored with one or more program, should One or more program can be executed by one or more processor, be can be realized AR equipment when sending displacement, set to AR The standby threedimensional model presented carries out dynamic update, keeps the user experience of AR equipment more preferable.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (12)

1. a kind of augmented reality AR Dynamic Display method is applied in AR equipment, which is characterized in that the described method includes:
When detecting that the AR equipment is subjected to displacement, to preset the update cycle, judge whether the displacement of the AR equipment is greater than Or it is equal to setting displacement threshold value;
In the case where determining that the displacement of the AR equipment in the default update cycle is greater than or equal to setting displacement threshold value, root The threedimensional model presented in the AR equipment is updated according to the displacement of the AR equipment.
2. the method according to claim 1, wherein the displacement according to the AR equipment is to the AR equipment In the threedimensional model that has presented be updated, comprising:
According to the displacement of the AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in the AR equipment, with more Position, proportional sizes and the rendering content of new each threedimensional model presented.
3. according to the method described in claim 2, it is characterized in that, being set in the displacement according to the AR equipment to the AR After the threedimensional model presented in standby is updated, the method also includes:
In the case where other threedimensional models are presented in the AR equipment, according to the current location of the AR equipment, to it is described its His threedimensional model positions, proportional sizes calculate and rendering.
4. the method according to claim 1, wherein the setting displacement threshold value include: set distance threshold value and/ Or set angle threshold value;
It is described to be greater than or equal to the case where setting displacement threshold value in the displacement for determining the AR equipment in the default update cycle Under, comprising:
The case where the shift length for determining the AR equipment in the default update cycle is greater than or equal to set distance threshold value Under;
Alternatively, being greater than or equal to set angle threshold value in the displacement angle for determining the AR equipment in the default update cycle In the case of;
Alternatively, it is greater than or equal to set distance threshold value in the shift length for determining the AR equipment in the default update cycle, And in the case that the displacement angle of the AR equipment is greater than or equal to set angle threshold value.
5. method according to claim 1 to 4, which is characterized in that in the position according to the AR equipment After shifting is updated the threedimensional model presented in the AR equipment, the method also includes:
When detecting that the AR equipment stops displacement, stopping is updated the threedimensional model presented in the AR equipment.
6. a kind of augmented reality AR Dynamic Display device, is set in AR equipment, which is characterized in that described device includes:
Detection module, for preset the update cycle, judging the AR equipment when detecting that the AR equipment is subjected to displacement Whether displacement is greater than or equal to setting displacement threshold value;
Update module, for being greater than or equal to setting displacement threshold in the displacement for determining the AR equipment in the default update cycle In the case where value, the threedimensional model presented in the AR equipment is updated according to the displacement of the AR equipment.
7. device according to claim 6, which is characterized in that the update module is specifically used for:
According to the displacement of the AR equipment, perspective ratio calculating is carried out to the threedimensional model presented in the AR equipment, with more Position, proportional sizes and the rendering content of new each threedimensional model presented.
8. device according to claim 7, which is characterized in that described device further include:
Generation module, for being carried out in the displacement according to the AR equipment to the threedimensional model presented in the AR equipment After update, in the case where other threedimensional models are presented in the AR equipment, according to the current location of the AR equipment, to institute State other threedimensional models positioned, proportional sizes calculate and rendering.
9. device according to claim 6, which is characterized in that the setting displacement threshold value include: set distance threshold value and/ Or set angle threshold value;The detection module, is specifically used for:
The case where the shift length for determining the AR equipment in the default update cycle is greater than or equal to set distance threshold value Under, to preset the update cycle, judge whether the displacement of the AR equipment is greater than or equal to setting displacement threshold value;
Alternatively, being greater than or equal to set angle threshold value in the displacement angle for determining the AR equipment in the default update cycle In the case of, to preset the update cycle, judge whether the displacement of the AR equipment is greater than or equal to setting displacement threshold value;
Alternatively, it is greater than or equal to set distance threshold value in the shift length for determining the AR equipment in the default update cycle, And in the case that the displacement angle of the AR equipment is greater than or equal to set angle threshold value, to preset the update cycle, institute is judged Whether the displacement for stating AR equipment is greater than or equal to setting displacement threshold value.
10. device according to any one of claims 6 to 9, which is characterized in that described device further include:
Stopping modular, for being carried out in the displacement according to the AR equipment to the threedimensional model presented in the AR equipment After update, when detecting that the AR equipment stops displacement, stop carrying out the threedimensional model presented in the AR equipment It updates.
11. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory;The processor For executing the augmented reality AR Dynamic Display program stored in memory, to realize institute according to claim 1~any one of 5 The step of AR Dynamic Display method stated.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, with realize according to claim 1~ Described in any one of 5 the step of augmented reality AR Dynamic Display method.
CN201811148264.6A 2018-09-29 2018-09-29 AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing Pending CN109300184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811148264.6A CN109300184A (en) 2018-09-29 2018-09-29 AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811148264.6A CN109300184A (en) 2018-09-29 2018-09-29 AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109300184A true CN109300184A (en) 2019-02-01

Family

ID=65161186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811148264.6A Pending CN109300184A (en) 2018-09-29 2018-09-29 AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109300184A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111077999A (en) * 2019-11-14 2020-04-28 联想(北京)有限公司 Information processing method, equipment and system
CN111179438A (en) * 2020-01-02 2020-05-19 广州虎牙科技有限公司 AR model dynamic fixing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120307075A1 (en) * 2011-06-01 2012-12-06 Empire Technology Development, Llc Structured light projection for motion detection in augmented reality
CN103814382A (en) * 2012-09-14 2014-05-21 华为技术有限公司 Augmented reality processing method and device of mobile terminal
CN107564089A (en) * 2017-08-10 2018-01-09 腾讯科技(深圳)有限公司 Three dimensional image processing method, device, storage medium and computer equipment
CN107562305A (en) * 2017-08-01 2018-01-09 努比亚技术有限公司 A kind of method to set up of dynamic icon, terminal and computer-readable recording medium
CN107562212A (en) * 2017-10-20 2018-01-09 网易(杭州)网络有限公司 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120307075A1 (en) * 2011-06-01 2012-12-06 Empire Technology Development, Llc Structured light projection for motion detection in augmented reality
CN103814382A (en) * 2012-09-14 2014-05-21 华为技术有限公司 Augmented reality processing method and device of mobile terminal
CN107562305A (en) * 2017-08-01 2018-01-09 努比亚技术有限公司 A kind of method to set up of dynamic icon, terminal and computer-readable recording medium
CN107564089A (en) * 2017-08-10 2018-01-09 腾讯科技(深圳)有限公司 Three dimensional image processing method, device, storage medium and computer equipment
CN107562212A (en) * 2017-10-20 2018-01-09 网易(杭州)网络有限公司 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111077999A (en) * 2019-11-14 2020-04-28 联想(北京)有限公司 Information processing method, equipment and system
CN111179438A (en) * 2020-01-02 2020-05-19 广州虎牙科技有限公司 AR model dynamic fixing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109300184A (en) AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing
JP6110011B2 (en) Tilt for scrolling
CN108282411B (en) Access current limiting method, device, equipment and computer readable storage medium
JP2012521039A5 (en)
JP2005267639A5 (en)
CN104469165B (en) Mobile terminal and the method for detecting camera rotation status
SI2769382T1 (en) Instruction to compute the distance to a specified memory boundary
CN108319854A (en) A kind of incremental code static scanning method, equipment and computer readable storage medium
EP2669807A3 (en) Processor resource and execution protection methods and apparatus
US20180200885A1 (en) Robot control device
CN110381310B (en) Method and device for detecting health state of visual system
CN103052969B (en) Anti-distorted image generates device and anti-distorted image generates method
SE0801742A0 (en) Procedure, apparatus and computer software product for improved graphics performance
KR101331111B1 (en) Method and system for selective blending structure in 3-d map of navigation
CN104378776B (en) A kind of method and device for detecting cell area covered
JPWO2016185577A1 (en) Program verification method, verification program, and information processing apparatus
CN108108262A (en) Integrated circuit with the hardware check unit for checking selected memory access
JP6317519B2 (en) Method and apparatus for realizing cooling of a cooling fan of a projector device
CN105205723B (en) A kind of modeling method and device based on social networking application
JP2008085538A5 (en)
CN107453937A (en) The management method and equipment in network connection pond
JP2014161410A5 (en)
CN106021127B (en) Cache sharing method and system based on mobile terminal
JP6714265B2 (en) Pile data estimation device and method
CN110749336A (en) Pedometer step counting correction method and device and non-temporary computer readable 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