CN109683729A - Three-dimensional scenic control method and device - Google Patents
Three-dimensional scenic control method and device Download PDFInfo
- Publication number
- CN109683729A CN109683729A CN201811576014.2A CN201811576014A CN109683729A CN 109683729 A CN109683729 A CN 109683729A CN 201811576014 A CN201811576014 A CN 201811576014A CN 109683729 A CN109683729 A CN 109683729A
- Authority
- CN
- China
- Prior art keywords
- dimensional scenic
- dimensional
- control
- scenic
- control plane
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 29
- 230000000007 visual effect Effects 0.000 claims abstract description 21
- 230000009471 action Effects 0.000 claims abstract description 7
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000009466 transformation Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F3/0383—Signal control means within the pointing device
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Three-dimensional scenic control method and device provided by the present application provide a control plane, receive the operational motion for the three-dimensional scenic that user executes in the control plane, and the operational motion includes mouse action movement or the slide for contacting the control plane.Obtain starting point two-dimensional coordinate, moving distance and/or the move angle of operational motion.According to the two-dimensional coordinate, the target object in three-dimensional scenic is determined by collision algorithm.The moving distance and/or move angle are mapped as distance of stretch out and draw back and move angle in the three-dimensional scenic, and then realize the transformation to the three-dimensional scenic visual angle.The object in object and real scene in the three-dimensional scenic is corresponding, and the controlled device in real scene is determined by the two-dimensional coordinate.Control command is sent to control it to the controlled device realization in the real scene.The application makes the control to three-dimensional scenic more humanized, improves user experience.
Description
Technical field
This application involves graphics process fields, in particular to a kind of three-dimensional scenic control method and device.
Background technique
In traditional control mode, a control interface is provided, the control interface is used to control the equipment in real scene
Or instrument.By presetting some controls for controlling equipment in control interface.This control mode generally requires user and passes through
Touch screen clicks the control interface control, or clicks the control by mouse, and then according to the control logic of equipment reality
Now to the control of equipment.It, for the control of some complexity, is needed in complicated control system system since control is many kinds of
The different control of the cumbersome switching of user, seriously affects service efficiency, or even be possible to error in operation.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the application's is designed to provide a kind of three-dimensional scenic controlling party
Method is applied to three-dimensional scenic and controls equipment, and the step of the method includes:
One control plane is provided, shows a three-dimensional scenic in the control plane;
The operational motion for receiving the three-dimensional scenic executed in the control plane, obtains the operational motion in the control
Corresponding starting point two-dimensional coordinate, the distance of movement and/or the angle of movement in plane;
According to the starting point two-dimensional coordinate, determined in three-dimensional scenic corresponding with the starting point two-dimensional coordinate by collision algorithm
Target object;
The distance of stretch out and draw back and/or the deflection angle moving distance and the move angle being mapped in the three-dimensional scenic
Degree, according in the three-dimensional scenic distance of stretch out and draw back and/or deflection angle adjust the visual angle of the target object.
Optionally, the collision algorithm in the three-dimensional scenic includes AABB (AABB, Axially Aligned Bounding
Box) collision calculation or OBB (OBB, Orient Bounding Box) collision algorithm.
Optionally, it is described receive the operational motion of three-dimensional scenic executed in the control plane include mouse action or
Contact the slide of the control plane.
Optionally, the object in the object and real scene in the three-dimensional scenic is corresponding, the method also includes:
The operational motion executed in the control plane for receiving user, obtains the operation in the control plane
Corresponding starting point two-dimensional coordinate;
According to the starting point two-dimensional coordinate, the starting point two-dimensional coordinate is converted by the three-dimensional by the collision algorithm
Three-dimensional coordinate in scene determines the controlled device in the three-dimensional scenic according to the three-dimensional coordinate;
The controlled device in real scene is determined according to the controlled device in the three-dimensional scenic;
Controlled device into the real scene sends control instruction, realizes to the controlled device in the real scene
Control.
Optionally, the step of the method further include:
If there is urgent prompt information in object in real scene, will the urgent prompt information pass through two-dimensional picture into
Row display.
The another object of the application is to provide a kind of three-dimensional scenic control device, is applied to three-dimensional scenic and controls equipment,
The three-dimensional scenic control device includes display module, operation module, target determination module and visual angle adjustment module;
The display module shows a three-dimensional scenic in the control plane for providing a control plane;
The operation module is used to receive the operational motion of the three-dimensional scenic executed in the control plane, obtains the behaviour
Act corresponding starting point two-dimensional coordinate, the distance of movement and/or the angle of movement in the control plane;
The target determination module is used for according to the starting point two-dimensional coordinate, determining two-dimentional with the starting point by collision algorithm
Target object in the corresponding three-dimensional scenic of coordinate;
The visual angle adjustment module is for the moving distance and the move angle to be mapped in the three-dimensional scenic
Distance of stretch out and draw back and/or deflection angle, according in the three-dimensional scenic distance of stretch out and draw back and/or deflection angle adjust the target
The visual angle of object.
Optionally, the collision algorithm of the target determination module includes AABB (AABB, Axially Aligned
Bounding Box) collision is calculated or OBB (OBB, Orient Bounding Box) collision algorithm.
Optionally, the operation module receive executed in the control plane three-dimensional scenic operation include mouse action or
Contact the slide of the control plane.
Optionally, the object in the object and real scene in the three-dimensional scenic is corresponding, and the control device also wraps
Include control module;
The operation module is also used to receive the operational motion of user executed in the control plane, obtains the behaviour
Make corresponding starting point two-dimensional coordinate in the control plane;
The target determination module is also used to according to the starting point two-dimensional coordinate, by the collision algorithm by the starting point
Two-dimensional coordinate is converted into the three-dimensional coordinate in the three-dimensional scenic, determines the quilt in the three-dimensional scenic according to the three-dimensional coordinate
Control object;The controlled device in real scene is determined according to the controlled device in the three-dimensional scenic;
The control module sends control instruction for the controlled device into the real scene, realizes to described true
The control of controlled device in scene.
Optionally, the scenery control device further includes two-dimentional display module;
If the two dimension display module urgent prompt information occurs for the object in real scene, promptly mentioned described
Show that information is shown by two-dimensional picture.
In terms of existing technologies, the application has the advantages that
Three-dimensional scenic control method and device provided by the present application provide a control plane, and it is flat in the control to receive user
The operational motion of the three-dimensional scenic executed on face, the operational motion include mouse action movement or contact the control plane
Slide.Obtain starting point two-dimensional coordinate, moving distance and/or the move angle of operational motion.According to the two-dimensional coordinate,
The target object in three-dimensional scenic is determined by collision algorithm.The moving distance and/or move angle are mapped as described three
The distance of stretch out and draw back and move angle in scene are tieed up, and then realizes the transformation to the three-dimensional scenic visual angle.In the three-dimensional scenic
Object and real scene in object it is corresponding, the controlled device in real scene is determined by the two-dimensional coordinate.It sends
Control command controls it to the controlled device realization in the real scene.The application makes the control to three-dimensional scenic more
Hommization improves user experience.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the hardware structure diagram that three-dimensional scenic provided by the embodiments of the present application controls device number;
Fig. 2 is the step flow chart of three-dimensional scenic control method provided by the embodiments of the present application;
Fig. 3 is collision algorithm schematic diagram provided by the embodiments of the present application;
Fig. 4 is the step flow chart of real scene object control method provided by the embodiments of the present application;
Fig. 5 is three-dimensional scenic control device structure chart provided by the embodiments of the present application.
Icon: 100- three-dimensional scenic controls equipment;130- processor;140- communication unit;110- three-dimensional scenic control dress
It sets;120- memory;104- ray;103- starting point two-dimensional coordinate;101- hither plane;102- far plane;300- three-dimensional scenic;
203- object B;204- object A;205- object C;1101- display module;1102- operation module;1103- target determination module;
The visual angle 1104- adjusts module;1105- control module.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed
Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
In the description of the present application, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " setting ",
" installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one
Connect to body;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, it can also be indirect by intermediary
It is connected, can be the connection inside two elements.For the ordinary skill in the art, on being understood with concrete condition
State the concrete meaning of term in this application.
The hardware structure diagram of three-dimensional scenic control equipment 100 shown in FIG. 1 is please referred to, the three-dimensional scenic controls equipment
100 include three-dimensional scenic control device 110, memory 120, processor 130, communication unit 140;Wherein, the memory
120, processor 130 and each element of communication unit 140 are directly or indirectly electrically connected between each other, to realize the biography of data
Defeated or interaction.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.
In the present embodiment, the three-dimensional scenic control equipment 100 be may be, but not limited to, smart phone, PC
(personal computer, PC), tablet computer, personal digital assistant (personal digital assistant, PDA),
Mobile internet surfing equipment (mobile Internet device, MID) etc..
Three-dimensional scenic control equipment 100 by network in real scene equipment or device communicated, into
And realize the control to the equipment or device.The network may be, but not limited to, cable network or wireless network.
The processor 130 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor can
To be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network
Processor, NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), field-programmable gate array
Arrange (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.It may be implemented
Or disclosed each method, step and logic diagram in execution the embodiment of the present application.General processor can be microprocessor
Or the processor is also possible to any conventional processor etc..
The step flow chart of three-dimensional scenic control method shown in referring to figure 2., below with regard to the three-dimensional scenic controlling party
Each step that method includes is explained in detail.
Step S100 provides a control plane, shows a three-dimensional scenic in the control plane.
Optionally, the control plane may be, but not limited to, touch screen, display etc..The three-dimensional scenic control is set
Standby 100 show three-dimensional scenic by the control plane, and then the control for being conveniently used for being watched in real time to the three-dimensional scenic is imitated
Fruit.
Step S200 receives the operational motion of the three-dimensional scenic executed in the control plane, obtains the operational motion
Corresponding starting point two-dimensional coordinate, the distance of movement and/or the angle of movement in the control plane.
Optionally, the operational motion includes that user contacts the slide of the touch screen or by mouse described
Moving operation in display.The three-dimensional scenic control equipment 100 receives the operational motion of user, obtains the operational motion
In control information.The control information includes the operational motion in the starting point two-dimensional coordinate controlled in plane, movement
Distance and/or movement angle.
Step S300, it is corresponding with the starting point two-dimensional coordinate by collision algorithm determination according to the starting point two-dimensional coordinate
Target object in three-dimensional scenic.
For example, the collision algorithm schematic diagram described in referring to figure 3..It include pair in three-dimensional scenic 300 in the schematic diagram
As A204, object B203 and object C205.Pair of the three-dimensional scenic 300 after model generation, in the three-dimensional scenic 300
As obtaining corresponding three-dimensional coordinate information.The three-dimensional scenic control equipment 100 receives user and grasps in the hither plane 101
Make, and then obtains the operation in the starting point two-dimensional coordinate 103 of the hither plane 101.In the position of the two-dimensional coordinate, vertically
In the hither plane 101, a ray 104 is drawn.Institute's ray 104 penetrates hither plane 101 and extends to far plane 102.Institute
It states in three-dimensional scenic 300, the object passed through by the ray 104 is target object, and then obtains the corresponding three-dimensional of target object
Coordinate information.
In the application, the collision algorithm may be, but not limited to, AABB (AABB, Axially Aligned
Bounding Box) collision algorithm and OBB (OBB, Orient Bounding Box) collision algorithm.
The moving distance and the move angle are mapped to the telescopic distance in the three-dimensional scenic 300 by step S400
From and/or deflection angle, according in the three-dimensional scenic 300 distance of stretch out and draw back and/or deflection angle adjust the target object
Visual angle.
Optionally, three-dimensional scenic control equipment 100 by moving distance of the user in the control plane operations and
Move angle is mapped as distance of stretch out and draw back and deflection angle in the three-dimensional scenic 300, according to stretching in the three-dimensional scenic 300
Contracting distance and deflection angle adjust the visual angle of the three-dimensional scenic 300.Wherein, the visual angle of the adjustment three-dimensional scenic 300
Including the three-dimensional scenic 300 that zooms out or further, the three-dimensional scenic 300 is translated.
For example, if the control plane is Trackpad, the operational motion includes user in a kind of possible example
It contacts the Trackpad using a finger to horizontally slip or slide up and down, the three-dimensional scenic control equipment 100 is according to institute
The finger contact Trackpad is stated to horizontally slip or slide up and down the adjustment three-dimensional scenic 300 vertically or control
It is mobile.The operational motion further includes that user is horizontally slipped or slided up and down using two fingers contact Trackpads, institute
It states three-dimensional scenic control equipment 100 and horizontally slips or slide up and down adjustment institute according to two fingers contact Trackpad
State the rotation of 300 up and down or left and right of three-dimensional scenic.The operational motion further includes user using two fingers to contract or outward
Expansion, the three-dimensional scenic control equipment 100 to contract or expand outwardly the adjustment three-dimensional scenic according to the two fingers
300 further or zoom out, wherein the visual effect is similar to the effect of adjustment of camera focal length.The operational motion also wraps
User is included arcuately to horizontally slip using a finger contact Trackpad.The three-dimensional scenic control equipment 100 is according to institute
It states finger and contacts the Trackpad and arcuately horizontally slip and adjust the three-dimensional scenic 300 and rotate predetermined angle.It is worth saying
Bright, the control plane can also be display, and the user can also pin a mouse left side in the three-dimensional scenic 300
Key or the mobile mouse of right button realize identical operating effect.
Aforesaid operations movement is easy to learn, and interactive action is vivid and three-dimensional scenic 300 can follow the operation of user to become in real time
Change, improves interactive efficiency and user experience.User is freed from cumbersome control formula interactive mode, reduces
Cost is practised, is improved work efficiency.
The step flow chart of the real scene object control method referring to figure 4., the real scene object control
The step of method includes S101-S104, below include with regard to the real scene object control method each step carry out it is detailed
Elaboration:
Step S101 receives the operational motion of user executed in the control plane, obtains the operation described
Control starting point two-dimensional coordinate 103 corresponding in plane.
Step S102, according to the starting point two-dimensional coordinate 103, by the collision algorithm by the starting point two-dimensional coordinate
103 are converted into the three-dimensional coordinate in the three-dimensional scenic 300, are determined in the three-dimensional scenic 300 according to the three-dimensional coordinate
Controlled device.
Step S103 determines the controlled device in real scene according to the controlled device in the three-dimensional scenic 300.
Controlled device in step S104, Xiang Suoshu real scene sends control instruction, realizes in the real scene
Controlled device control.
Optionally, the three-dimensional scenic 300 can be by carrying out modeling acquisition, thus the three-dimensional scenic to real scene
The object that object in 300 can close in real scene is corresponding.The three-dimensional scenic control equipment 100 is dynamic according to user's operation
Make, determines the target object in the three-dimensional scenic 300 of user's operation, the target in real scene is determined by the target object
Object.Three-dimensional scenic control equipment 100 sends control instruction to the target object in the real scene, and then realizes pair
The control of target object in the real scene.Meanwhile the three-dimensional scenic control equipment 100 is in the three-dimensional scenic 300
Middle synchronously control effect.
For example, the three-dimensional scenic 300 is the modeling of real meetings room scene, the meeting in a kind of possible example
Discussing in room includes lighting, curtain and combination etc..User can click the lighting in the three-dimensional scenic 300, realize to true
The control of lighting in real conference scenario, such as operation of turning off the light or turn on light.
Optionally, if setting out now for real scene is failure or some other emergencies, due to three-dimensional scenic
In 300 the problem of angle, for example corner of the equipment in three-dimensional scenic 300, user can not timely have found.In order to
Enough to remind user in time, the equipment that the three-dimensional scenic control equipment 100 receives in discovery scene is in an emergency, will be described
Urgent prompt information is shown in the control plane by way of two-dimensional scene.
The application also provides a kind of three-dimensional scenic control device 110, is applied to three-dimensional scenic and controls equipment 100, such as Fig. 5 institute
Show, the three-dimensional scenic control device 110 includes that at least one can be stored in institute in the form of software or firmware (firmware)
In the operating system (operating system, OS) for stating in memory 120 or being solidificated in institute's three-dimensional scenic control equipment 100
Software function module.The processor 130 is for executing the executable module stored in the memory 120, such as described three
Tie up software function module and computer program etc. included by scenery control device 110.
The three-dimensional scenic control device 110 includes display module 1101, operation module 1102, target determination module 1103
Module 1104 is adjusted with visual angle.
The display module 1101 shows a three-dimensional scenic 300 in the control plane for providing a control plane.
In the present embodiment, the display module 1101 is used to execute the step S100 in Fig. 2, about the display module
1101 detailed description can refer to the detailed description of step S100.
The operation module 1102 is used to receive the operational motion of the three-dimensional scenic 300 executed in the control plane, obtains
Take the angle of the operational motion corresponding starting point two-dimensional coordinate 103, mobile distance and/or movement in the control plane
Degree.
In the present embodiment, the display module 1101 is used to execute the step S200 in Fig. 2, about the display module
1101 detailed description can refer to the detailed description of step S200.
The target determination module 1103 is used to determine and be somebody's turn to do by collision algorithm according to the starting point two-dimensional coordinate 103
Target object in the corresponding three-dimensional scenic 300 of starting point two-dimensional coordinate 103.
In the present embodiment, the target determination module 1103 is used to execute the step S300 in Fig. 2, about the target
The detailed description of determining module 1103 can refer to the detailed description of step S300.
The visual angle adjustment module 1104 is used to the moving distance and the move angle being mapped to the three dimensional field
Distance of stretch out and draw back and/or deflection angle in scape 300, according to the distance of stretch out and draw back and/or deflection angle tune in the three-dimensional scenic 300
The visual angle of the whole target object.
In the present embodiment, the visual angle adjustment module 1104 is used to execute the step S400 in Fig. 2, about the visual angle
The detailed description for adjusting module 1104 can refer to the detailed description of step S400.
Optionally, the collision algorithm of the target determination module 1103 includes AABB collision calculation or OBB collision algorithm.
Optionally, it includes mouse that the operation module 1102, which receives the operation of three-dimensional scenic 300 executed in the control plane,
Operate or contact the slide of the control plane.
Optionally, the object in the object and real scene in the three-dimensional scenic 300 is corresponding, and the control device is also
Including control module 1105:
The operation module 1102 is also used to receive the operational motion of user executed in the control plane, obtains institute
State operation starting point two-dimensional coordinate 103 corresponding in the control plane;
The target determination module 1103 is also used to according to the starting point two-dimensional coordinate 103, will by the collision algorithm
The starting point two-dimensional coordinate 103 is converted into the three-dimensional coordinate in the three-dimensional scenic 300, according to three-dimensional coordinate determination
Controlled device in three-dimensional scenic 300;Controlled pair in real scene is determined according to the controlled device in the three-dimensional scenic 300
As;
The control module 1105 sends control instruction for the controlled device into the real scene, realizes to described
The control of controlled device in real scene.
Optionally, the scenery control device further includes two-dimentional display module 1101;
It, will be described tight if the two dimension display module 1101 urgent prompt information occurs for the object in real scene
Anxious prompt information is shown by two-dimensional picture.
In conclusion 300 control method and device of three-dimensional scenic provided by the present application, provide a control plane, receives and use
The operational motion for the three-dimensional scenic 300 that family executes in the control plane, the operational motion include mouse action movement or
Contact the slide of the control plane.Obtain starting point two-dimensional coordinate 103, moving distance and/or the traveling angle of operational motion
Degree.According to the two-dimensional coordinate, the target object in three-dimensional scenic 300 is determined by collision algorithm.By the moving distance and/
Or move angle is mapped as the distance of stretch out and draw back and move angle in the three-dimensional scenic 300, and then realizes to the three-dimensional scenic
The transformation at 300 visual angles.The object in object and real scene in the three-dimensional scenic 300 is corresponding, is sat by the two dimension
Mark the controlled device determined in real scene.Control command is sent to control it to the controlled device realization in the real scene
System.The application makes the control to three-dimensional scenic 300 more humanized, improves user experience.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other
Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown
According to device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the application
And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code
Point, a part of the module, section or code includes one or more for implementing the specified logical function executable
Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement
The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used
To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart
The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement
The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (10)
1. a kind of three-dimensional scenic control method, which is characterized in that be applied to three-dimensional scenic and control equipment, the step of the method wraps
It includes:
One control plane is provided, shows a three-dimensional scenic in the control plane;
The operational motion for receiving the three-dimensional scenic executed in the control plane, obtains the operational motion in the control plane
Upper corresponding starting point two-dimensional coordinate, the distance of movement and/or the angle of movement;
According to the starting point two-dimensional coordinate, the mesh in three-dimensional scenic corresponding with the starting point two-dimensional coordinate is determined by collision algorithm
Mark object;
By the distance of the movement and the angle map of the movement to the distance of stretch out and draw back and/or deflection angle in the three-dimensional scenic
Degree, according in the three-dimensional scenic distance of stretch out and draw back and/or deflection angle adjust the visual angle of the target object.
2. three-dimensional scenic control method according to claim 1, which is characterized in that the collision algorithm in the three-dimensional scenic
Calculation or OBB collision algorithm are collided including AABB.
3. three-dimensional scenic control method according to claim 1, which is characterized in that the reception is held in the control plane
The operational motion of capable three-dimensional scenic includes the slide of mouse action or the contact control plane.
4. three-dimensional scenic control method according to claim 1, which is characterized in that object in the three-dimensional scenic and true
Object in real field scape is corresponding, the method also includes:
The operational motion executed in the control plane for receiving user, obtains the operational motion in the control plane
Corresponding starting point two-dimensional coordinate;
According to the starting point two-dimensional coordinate, the starting point two-dimensional coordinate is converted by the three-dimensional scenic by the collision algorithm
In three-dimensional coordinate, the controlled device in the three-dimensional scenic is determined according to the three-dimensional coordinate;
The controlled device in real scene is determined according to the controlled device in the three-dimensional scenic;
Controlled device into the real scene sends control instruction, realizes the control to the controlled device in the real scene
System.
5. three-dimensional scenic control method according to claim 4, which is characterized in that the step of the method further include:
If urgent prompt information occurs in the object in real scene, the urgent prompt information is shown by two-dimensional picture
Show.
6. a kind of three-dimensional scenic control device, which is characterized in that be applied to three-dimensional scenic and control equipment, the three-dimensional scenic control
Device includes display module, operation module, target determination module and visual angle adjustment module;
The display module shows a three-dimensional scenic in the control plane for providing a control plane;
The operation module is used to receive the operational motion of the three-dimensional scenic executed in the control plane, and it is dynamic to obtain the operation
Make corresponding starting point two-dimensional coordinate, the distance of movement and/or the angle of movement in the control plane;
The target determination module is used to pass through collision algorithm determination and the starting point two-dimensional coordinate according to the starting point two-dimensional coordinate
Target object in corresponding three-dimensional scenic;
The visual angle adjustment module is used for the distance of the movement and the angle map of the movement into the three-dimensional scenic
Distance of stretch out and draw back and/or deflection angle, according in the three-dimensional scenic distance of stretch out and draw back and/or deflection angle adjust the target
The visual angle of object.
7. three-dimensional scenic control device according to claim 6, which is characterized in that the collision of the target determination module is calculated
Method includes AABB collision calculation or OBB collision algorithm.
8. three-dimensional scenic control device according to claim 7, which is characterized in that it is flat that the operation module receives the control
The three-dimensional scenic operation executed on face includes the slide of mouse action or the contact control plane.
9. three-dimensional scenic control device according to claim 7, which is characterized in that object in the three-dimensional scenic and true
Object in real field scape is corresponding, and the control device further includes control module;
The operation module is also used to receive the operational motion of user executed in the control plane, and it is dynamic to obtain the operation
Make corresponding starting point two-dimensional coordinate in the control plane;
The target determination module is also used to according to the starting point two-dimensional coordinate, by the collision algorithm that the starting point is two-dimentional
Coordinate is converted into the three-dimensional coordinate in the three-dimensional scenic, and controlled pair in the three-dimensional scenic is determined according to the three-dimensional coordinate
As;The controlled device in real scene is determined according to the controlled device in the three-dimensional scenic;
The control module sends control instruction for the controlled device into the real scene, realizes to the real scene
In controlled device control.
10. three-dimensional scenic control device according to claim 6, which is characterized in that the scenery control device further includes
Two-dimentional display module;
If the two dimension display module urgent prompt information occurs for the object in real scene, the urgent prompt is believed
Breath is shown by two-dimensional picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811576014.2A CN109683729B (en) | 2018-12-22 | 2018-12-22 | Three-dimensional scene control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811576014.2A CN109683729B (en) | 2018-12-22 | 2018-12-22 | Three-dimensional scene control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109683729A true CN109683729A (en) | 2019-04-26 |
CN109683729B CN109683729B (en) | 2020-07-24 |
Family
ID=66188687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811576014.2A Active CN109683729B (en) | 2018-12-22 | 2018-12-22 | Three-dimensional scene control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683729B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913645A (en) * | 2020-08-17 | 2020-11-10 | 广东申义实业投资有限公司 | Three-dimensional image display method and device, electronic equipment and storage medium |
CN112540711A (en) * | 2020-11-30 | 2021-03-23 | 国机工业互联网研究院(河南)有限公司 | Control method, device and equipment for selecting three-dimensional space object at webpage end |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102306020A (en) * | 2011-06-27 | 2012-01-04 | 中国科学院深圳先进技术研究院 | Virtual modeling thing internet and cloud computing combining method and system |
CN102497568A (en) * | 2011-12-15 | 2012-06-13 | 重庆埃默科技有限责任公司 | Interactive three-dimensional virtual scene and visualized information integrating system |
CN103049341A (en) * | 2012-11-21 | 2013-04-17 | 苏州两江科技有限公司 | Oriented bounding box (OBB) layer body tree collision detection method with anticipating method |
US9286712B2 (en) * | 2013-03-15 | 2016-03-15 | Google Inc. | System and method for approximating cartographic projections by linear transformation |
CN105975061A (en) * | 2016-04-26 | 2016-09-28 | 乐视控股(北京)有限公司 | Control method and apparatus for virtual reality scene as well as handle |
CN107633554A (en) * | 2017-03-16 | 2018-01-26 | 柳州桂通科技股份有限公司 | Mobile surface targets and its methods of exhibiting with the three-dimensional scenic of present position |
-
2018
- 2018-12-22 CN CN201811576014.2A patent/CN109683729B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102306020A (en) * | 2011-06-27 | 2012-01-04 | 中国科学院深圳先进技术研究院 | Virtual modeling thing internet and cloud computing combining method and system |
CN102497568A (en) * | 2011-12-15 | 2012-06-13 | 重庆埃默科技有限责任公司 | Interactive three-dimensional virtual scene and visualized information integrating system |
CN103049341A (en) * | 2012-11-21 | 2013-04-17 | 苏州两江科技有限公司 | Oriented bounding box (OBB) layer body tree collision detection method with anticipating method |
US9286712B2 (en) * | 2013-03-15 | 2016-03-15 | Google Inc. | System and method for approximating cartographic projections by linear transformation |
CN105975061A (en) * | 2016-04-26 | 2016-09-28 | 乐视控股(北京)有限公司 | Control method and apparatus for virtual reality scene as well as handle |
CN107633554A (en) * | 2017-03-16 | 2018-01-26 | 柳州桂通科技股份有限公司 | Mobile surface targets and its methods of exhibiting with the three-dimensional scenic of present position |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913645A (en) * | 2020-08-17 | 2020-11-10 | 广东申义实业投资有限公司 | Three-dimensional image display method and device, electronic equipment and storage medium |
CN111913645B (en) * | 2020-08-17 | 2022-04-19 | 广东申义实业投资有限公司 | Three-dimensional image display method and device, electronic equipment and storage medium |
CN112540711A (en) * | 2020-11-30 | 2021-03-23 | 国机工业互联网研究院(河南)有限公司 | Control method, device and equipment for selecting three-dimensional space object at webpage end |
CN112540711B (en) * | 2020-11-30 | 2022-08-05 | 国机工业互联网研究院(河南)有限公司 | Control method, device and equipment for selecting three-dimensional space object at webpage end |
Also Published As
Publication number | Publication date |
---|---|
CN109683729B (en) | 2020-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230306688A1 (en) | Selecting two-dimensional imagery data for display within a three-dimensional model | |
CN110162236B (en) | Display method and device between virtual sample boards and computer equipment | |
US10389938B2 (en) | Device and method for panoramic image processing | |
JP6372487B2 (en) | Information processing apparatus, control method, program, and storage medium | |
US9161168B2 (en) | Personal information communicator | |
US9081430B2 (en) | Pointing control device, integrated circuit thereof and pointing control method | |
KR20150092964A (en) | Method for processing fingerprint and an electronic device thereof | |
KR20160003553A (en) | Electroninc device for providing map information | |
CN110084797B (en) | Plane detection method, plane detection device, electronic equipment and storage medium | |
WO2020151432A1 (en) | Data processing method and system for intelligent house viewing | |
WO2021097600A1 (en) | Inter-air interaction method and apparatus, and device | |
CN104081307A (en) | Image processing apparatus, image processing method, and program | |
CN108133454B (en) | Space geometric model image switching method, device and system and interaction equipment | |
WO2015159602A1 (en) | Information providing device | |
CN105474303A (en) | Information processing device, information processing method, and program | |
CN105760070B (en) | Method and apparatus for simultaneously displaying more items | |
JP6312866B2 (en) | Display device and display method | |
WO2015139653A1 (en) | Image zooming method and apparatus | |
JP2012238293A (en) | Input device | |
CN113436311A (en) | House type graph generation method and device | |
CN109683729A (en) | Three-dimensional scenic control method and device | |
CN109032190A (en) | Holder rotating direction control method, device, electronic equipment and storage medium | |
WO2017024954A1 (en) | Method and device for image display | |
CN102612205B (en) | Method for controlling visual light sources, terminals and video conference system | |
CN113852646A (en) | Control method and device of intelligent equipment, electronic equipment and system |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240903 Address after: No. 508-2A, North Block, Poly Tianji, Qiandenghu, Guicheng Street, Nanhai District, Foshan, Guangdong 528200 (residence declaration) Patentee after: Foshan Haixie Technology Co.,Ltd. Country or region after: China Address before: 233 Kezhu Road, Guangzhou hi tech Industrial Development Zone, Guangdong 510000 Patentee before: VTRON GROUP Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |