CN106621312A - Simulated gunnery method and system based on virtual reality - Google Patents
Simulated gunnery method and system based on virtual reality Download PDFInfo
- Publication number
- CN106621312A CN106621312A CN201611259539.4A CN201611259539A CN106621312A CN 106621312 A CN106621312 A CN 106621312A CN 201611259539 A CN201611259539 A CN 201611259539A CN 106621312 A CN106621312 A CN 106621312A
- Authority
- CN
- China
- Prior art keywords
- virtual
- arrow
- tension
- dimensional space
- data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000033001 locomotion Effects 0.000 claims abstract description 58
- 238000012545 processing Methods 0.000 claims description 14
- 238000001514 detection method Methods 0.000 claims description 12
- 238000005259 measurement Methods 0.000 claims description 11
- 238000004088 simulation Methods 0.000 claims description 10
- 230000008878 coupling Effects 0.000 claims description 8
- 238000010168 coupling process Methods 0.000 claims description 8
- 238000005859 coupling reaction Methods 0.000 claims description 8
- 238000011156 evaluation Methods 0.000 claims description 7
- 230000005484 gravity Effects 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000002452 interceptive effect Effects 0.000 abstract description 3
- 230000036544 posture Effects 0.000 description 27
- 238000010586 diagram Methods 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003321 amplification Effects 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000010304 firing Methods 0.000 description 2
- 238000007654 immersion Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F9/00—Games not otherwise provided for
- A63F9/02—Shooting or hurling games
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a simulated gunnery method and system based on virtual reality. The method comprises the following steps of collecting tension data during shooting and posture data of a bow; utilizing the tension data for determining the initial velocity of a virtual arrow, and calculating the angle of emergence of the virtual arrow according to the gesture data; calculating the motion trajectory of the virtual arrow according to the initial velocity of the angle of emergence of the virtual arrow; displaying the motion trajectory of the virtual arrow in a virtual scene. The virtual reality technology is introduced, a user can carry out the shooting activity in the virtual scene, and the interactive experience similar to the real shooting activity is obtained.
Description
Technical Field
The invention relates to the field of virtual shooting, in particular to the field of virtual archery based on virtual reality.
Background
Archery is a popular sport, but due to the limitations of fields and equipment, people often only go to professional sports stadiums to practice archery. Computer-simulated shooting systems have been developed for this purpose by those skilled in the art, but they do not simulate the interaction of a real shot and are therefore less immersive.
Disclosure of Invention
The invention aims to provide a simulated shooting method based on virtual reality, and aims to enable a user to carry out virtual archery activities in a virtual environment and enjoy interactive experiences close to real archery activities by means of virtual reality technology.
The technical scheme provided by the invention is as follows: a simulated shooting method based on virtual reality is constructed, and comprises the following steps: collecting tension data during shooting; detecting the attitude data of the bow during shooting; determining the initial speed of a virtual arrow in a virtual three-dimensional space scene according to the tension data, and calculating the emergence angle of the virtual arrow according to the posture data; calculating the motion track of the virtual arrow in the virtual three-dimensional space scene according to the initial speed and the emergence angle of the virtual arrow; and displaying the motion trail of the virtual arrow in the virtual three-dimensional space scene.
In one embodiment, the step of collecting the tension data at the time of firing comprises: and measuring a tension measurement value during shooting by using the tension sensor, and matching the tension measurement value by using a preset coupling curve to obtain tension data.
In one embodiment, the step of calculating the motion track of the virtual arrow in the virtual three-dimensional space scene according to the initial velocity and the emergence angle of the virtual arrow comprises the following steps: determining the resistance of the virtual arrow according to the emergence angle and the initial speed during shooting; determining the speed V1, the position P1 and the posture A1 of the virtual arrow at the next moment t1 according to the gravity, the resistance, the emergence angle and the initial speed, wherein n is an integer greater than 0; the velocity Vn, the position Pn, and the posture An of the virtual arrow at the time tn are sequentially calculated, thereby obtaining position data (P1, …, Pn) and posture data (a1, …, An) of the virtual arrow from the time t1 to the time tn to acquire the movement trajectory of the virtual arrow.
Further, the step of calculating the motion track of the virtual arrow in the virtual three-dimensional space scene according to the initial velocity and the emergence angle of the virtual arrow further includes judging An end point of the motion track of the virtual arrow at the time tn after shooting according to the position Pn and the posture An of the virtual arrow and the setting of the virtual three-dimensional space scene, wherein the setting of the virtual three-dimensional space scene includes the size of the virtual three-dimensional space scene and the position of a target.
Further, the virtual reality-based simulated shooting method further comprises the step of evaluating a shooting result according to the setting of the virtual three-dimensional space scene and the end point of the motion track of the virtual arrow.
In some embodiments, the virtual reality-based simulated shooting method further comprises the steps of: determining the shape of a virtual bow according to the tension data; and displaying the virtual bow in real time in a virtual three-dimensional space scene according to the shape.
In some embodiments, the virtual reality-based simulated shooting method further comprises the steps of: determining attitude parameters of the virtual bow according to the attitude angle data; and displaying the virtual bow in real time in a virtual three-dimensional space scene according to the attitude parameters.
The invention provides another technical scheme that: constructing a virtual reality-based simulated shooting system, comprising: a bow, a processing device and a display unit; wherein the bow comprises: the tension detection unit is used for acquiring tension data during shooting; the inertial sensing unit is used for detecting the attitude data of the bow during shooting; the transmission unit is used for transmitting the tension data and the attitude data to the processing device; the processing device comprises: the initial speed calculation module is used for acquiring the initial speed of a virtual arrow in a virtual three-dimensional space scene according to the tension data; the emergence angle calculation module is used for calculating the emergence angle of the virtual arrow in the virtual three-dimensional space scene according to the attitude data; the motion simulation module is used for calculating the running track of the virtual arrow in the virtual three-dimensional space scene according to the initial speed and the emergence angle of the virtual arrow; the display unit is used for displaying the virtual three-dimensional space scene and the motion trail of the virtual arrow in the virtual three-dimensional space scene.
Further, the tension detection unit comprises a tension sensor and a tension calibration module; the tension sensor is used for detecting tension during shooting and outputting tension measured values, and the tension calibration module is used for matching the tension measured values according to a preset coupling curve so as to obtain tension data.
Further, the motion simulation module is also used for determining the resistance of the virtual arrow according to the emergence angle and the initial speed during shooting; and sequentially calculating the speed Vn, the position Pn and the posture An of the virtual arrow at the time tn according to the resistance, the gravity, the emergence angle and the initial speed, wherein n is An integer greater than 0, thereby obtaining position data (P1, …, Pn) and posture data (A1, …, An) of the virtual arrow from the time t1 to the time tn to obtain the motion track of the virtual arrow.
Further, the motion simulation module is further configured to determine, at time tn, An end point of a motion trajectory of the virtual arrow according to the position Pn and the posture An of the virtual arrow and the setting of the virtual three-dimensional space scene, where the setting of the virtual three-dimensional space scene includes a scene size and a target position.
Further, the system further comprises a shooting evaluation module for evaluating the shooting result according to the setting of the virtual three-dimensional space scene and the end point of the motion track of the virtual arrow.
Further, the display unit displays the virtual bow in a virtual three-dimensional space scene in real time in a corresponding shape and posture according to the tension data and the posture data.
The invention has the beneficial effects that: on one hand, the simulated shooting method and system based on the virtual reality calculate the motion trail of the virtual arrow in the virtual three-dimensional space scene by detecting the tension data and the posture data of the bow when the user shoots, and display the motion trail of the virtual arrow in the virtual three-dimensional space scene, so that the user gets rid of dependence on a professional shooting field and carries out bow and arrow shooting motion in various suitable occasions, such as home; on the other hand, the simulated shooting method of the invention combines more vivid bow-drawing shooting operation while virtualizing the motion track of the arrow and partial shooting process, thereby enabling users to obtain interactive experience close to real bow-arrow shooting motion.
Drawings
FIG. 1 is a flow diagram of a virtual reality-based simulated shooting method according to an embodiment of the present invention;
fig. 2 is a block diagram of a virtual reality-based simulated shooting system according to an embodiment of the present invention.
102: bow
104 tension detecting unit
106 transmission unit
108 inertial sensing unit
110 processing device
112 initial velocity calculating module
114 motion simulation module
116 an emergent angle calculating module
118 display unit
120: shooting evaluation module
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a simulated shooting method based on virtual reality, which renders a virtual three-dimensional space scene in real time through a computer technology, allows a user to carry out simulated shooting practice in the virtual three-dimensional space scene, and enables the user to get rid of dependence on a professional shooting venue.
In one embodiment, the bow and arrow operated by the user can be a real bow, the bow is provided with devices such as a tension detection unit and the like to detect tension applied to bowstrings by the user, and can also be a prop bow with an additional tension detection unit, namely a prop with a similar bow made for simulating shooting, the bow can be provided with a bow arm and a bow string similar to the real bow, and can also be provided with an arrow shaft similar to the real bow and arrow, the arrow shaft can be configured to be combined with the bow string and not be actually shot off the strings after shooting, and meanwhile, shooting effects can be simulated by displaying the motion track of the virtual arrow in real time in a virtual three-dimensional space scene. Therefore, the operation experience similar to real shooting can be kept, and the fun of shooting in a virtual scene can be obtained. In some embodiments, virtual characters and virtual bows that simulate a user's shooting action may also be displayed in real time in a virtual three-dimensional spatial scene.
In one embodiment, the virtual three-dimensional space scene can be displayed in the view of the first person or the third person, or in the form of the combination of the first person and the third person.
In an embodiment, the virtual three-dimensional space scene may be a virtual archery or other indoor environment, or may be a virtual forest or other virtual field environment.
In one embodiment, the virtual three-dimensional space scene may be displayed through a visual screen, such as through VR glasses, a television, a PC display, or a projector, among other devices.
Fig. 1 is a flow diagram of a virtual reality-based simulated shooting method according to an embodiment of the present invention. As shown in fig. 1, in one embodiment, a virtual reality based simulated shooting method comprises the steps of:
s102: collecting tension data during shooting; in one embodiment, when the user bows and shoots, the tension detection unit can be used to collect tension data at the time of shooting. The tension detecting unit may include a tension sensor. The tension sensor can be a strain type tension sensor, an induction type tension sensor or a magnetostrictive tension sensor and the like.
In some embodiments, in order to ensure the accuracy of the data collected by the tension detection unit, after the tension measurement value of the tension sensor is read, the tension measurement value may be matched by using a preset coupling curve to obtain the tension data. The coupling curve can be measured through experiments, specifically, different pulling forces can be respectively applied to the bow, and then the pulling force measurement values output by the corresponding sensors are collected so as to obtain the corresponding relation between the pulling force and the sensor pulling force measurement values, thereby obtaining the coupling curve between the pulling force and the sensor pulling force measurement values.
In one embodiment, the step of measuring the tension measurement at the time of firing using the tension sensor may comprise: the output of the tension sensor is read to obtain a tension read-out value during shooting, and the tension read-out value is sequentially subjected to amplification processing, analog-to-digital conversion processing and filtering processing to obtain a tension measured value so as to reduce measurement noise. In one embodiment, the amplification process may be a differential amplification process. The filtering process may be implemented by mean filtering, moving average filtering, or a combination of both.
S104: detecting the posture data of the bow during shooting; in some embodiments, bow pose data may be measured by a pose detection sensor. The attitude data may be attitude angle data of the bow in an inertial coordinate system. The attitude detection sensor may be an inertial sensor such as a three-axis gyroscope, a nine-axis attitude sensor, or the like.
S106: determining the initial speed of the virtual arrow in the virtual three-dimensional space scene according to the tension data, and calculating the emergence angle of the virtual arrow according to the posture data; it is easy to know that the initial velocity of the arrow is related to the bow and the pulling force acting on the bow, and the corresponding relation between the pulling force and the initial velocity of the arrow can be measured through an experimental method. Meanwhile, in order to obtain the emergence angle of the virtual arrow, coordinate conversion can be performed on the attitude data of the bow measured in the inertial coordinate system, so that the emergence angle of the virtual arrow in the virtual three-dimensional space coordinate system can be obtained. Since coordinate transformation is well known to those skilled in the art, it is not described herein in detail.
S108: calculating the motion track of the virtual arrow according to the initial speed and the emergence angle;
in one embodiment, to more closely simulate the trajectory of movement of an arrow in the real world, the resistance (in the virtual three-dimensional space scene) experienced by the virtual arrow may be determined from the emergence angle and initial velocity of the virtual arrow at the time of shooting; the speed V1, the position P1 and the posture A1 of the virtual arrow in the virtual three-dimensional space scene at the next moment t1 can be determined according to the gravity and the resistance of the virtual arrow and the emergence angle and the initial speed of the virtual arrow; and sequentially calculating the speed Vn, the position Pn and the posture An of the virtual arrow from the time t1 to the time tn, (wherein n is An integer greater than 0), thereby obtaining position data (P1, …, Pn) and posture data (A1, …, An) of the virtual arrow from the time t1 to the time tn, and further obtaining the motion track of the virtual arrow in the virtual three-dimensional space scene.
In one embodiment, the virtual three-dimensional space scene coordinate system may be a left-hand coordinate system, the emergence angle of the virtual arrow is used as initial posture data, euler angle data is used as A0(A0x, A0y and A0z), and the gravity acceleration is g. At time Tn-1 ═ T, let the resulting inverse constant velocity acting on the virtual arrow resistance be Fn-1(Fn-1x, Fn-1y, Fn-1z), the virtual arrow's position (the virtual arrow's centroid or the coordinates of the geometric center in the virtual three-dimensional space scene coordinate system) be Pn-1(Pn-1x, Pn-1y, Pn-1z), the Euler angle be An-1(An-1x, An-1y, An-1z), the initial velocity be Vn-1(Vn-1x, Vn-1y, Vn-1z), at time Tn ═ T + T, the virtual arrow's position Pn (Pnx, Pny, Pnz) be determined approximately by the following equation:
Pnx=Pn-1x+Vn-1x*t+Fn-1x*t;
Pny=P1y+(Vn-1y*t-g*t*t/2)+Fn-1y*t;
Pnz=P1z+V1z*t+Fn-1z*t;
also, the pose An (Anx, Any, Anz) of the virtual arrow at time Tn ═ T + T can be approximately calculated by the following formula:
Anx=An-1x;
Any=An-1y-{arctan[(Pn-1z-Pnz)/(Pn-1x-Pnx)]*180°/π*t};
Anz=An-1z-{arctan[(Pn-1y-Pny)/(Pn-1x-Pnx)]*180°/π*t}。
in other embodiments, the motion curve of the virtual arrow in the virtual three-dimensional space scene can be preset according to the pulling force or the initial speed, when the motion trajectory of the virtual arrow needs to be displayed, the corresponding motion curve is selected according to the pulling force or the initial speed, and the motion trajectory of the virtual arrow is displayed according to the selected motion curve. In one embodiment, the velocity direction (pose) of the virtual arrow at a time may be the direction of a tangent line passing through the corresponding point of the motion curve.
In some embodiments, the step of calculating the motion trajectory of the virtual arrow in the virtual three-dimensional space scene according to the initial velocity and the emergence angle of the virtual arrow may further include judging the end point of the motion trajectory of the virtual arrow at the time tn after the shooting according to the position Pn and the posture An of the virtual arrow and the setting of the virtual three-dimensional space scene, wherein the setting of the virtual three-dimensional space scene includes the size of the virtual three-dimensional space scene and the position of the target (i.e., the coordinates or the coordinate range of the wall, the floor and the bullseye in the virtual three-dimensional space scene coordinate system). The specific judging step may include: obtaining coordinates of An arrow in a virtual three-dimensional space scene according to the position Pn and the posture An of the virtual arrow and a preset virtual arrow size, and then comparing the arrow coordinates with the size of the virtual three-dimensional space scene and the position of the target so as to judge whether the virtual arrow hits the target or facilities such as a wall of the virtual three-dimensional space scene at the time tn.
In some embodiments, the virtual reality-based simulated shooting method further comprises the step of evaluating the shooting result according to the setting of the virtual three-dimensional space scene and the end point of the motion track of the virtual arrow. Specific evaluation steps may include: and comparing the arrow coordinates obtained in the judging step with the settings in the virtual three-dimensional scene (namely the coordinates or coordinate ranges of the wall, the floor and the target in the virtual three-dimensional scene coordinate system), and judging the shooting result according to the relative positions of the arrow and the target (or other targets). In some embodiments, the shooting result can be further determined by combining the speed of the virtual arrow at the track end, for example, when the speed of the virtual arrow is less than a certain preset threshold value, the virtual arrow is determined to be off target.
S110: displaying the motion trail of the virtual arrow; in some embodiments, images of the virtual arrow may be displayed in corresponding postures at corresponding positions in the virtual three-dimensional space scene according to the motion trajectory of the virtual arrow in chronological order.
In some embodiments, the virtual reality-based simulated shooting method may further include the steps of: determining the shape of the virtual bow according to the tension data; and displaying the virtual bow in real time in the virtual three-dimensional space scene. In one embodiment, the shape of the virtual arch may be characterized by the distance between the points of arch distortion. The distance between the pulling force acting on the bow and the distortion points of the bow can be measured through an experimental approach, and the one-to-one corresponding relation between the pulling force acting on the bow and the distortion points of the bow is obtained, so that the distance between the distortion points of the bow can be obtained through the pulling force data according to the corresponding relation, then the corresponding bow picture is selected according to the distance between the distortion points, and the selected bow picture is displayed in a virtual three-dimensional space scene, or the corresponding bow pattern is drawn in real time according to the distance between the distortion points. Thus, the shape of the virtual bow in the virtual three-dimensional space scene can be changed according to different pulling forces applied to the bow by the user, so that the immersion feeling of the user is improved.
In some embodiments, the virtual reality-based simulated shooting method may further include the steps of: determining attitude parameters of the virtual bow according to the attitude angle data; and displaying the virtual bow in real time in the virtual three-dimensional space scene according to the attitude parameters. In some embodiments, the pose angular data of the bow measured in the inertial coordinate system may be converted into pose parameters of the virtual bow in the virtual coordinate system in the virtual three-dimensional spatial scene by coordinate transformation. Accordingly, the posture of the virtual bow in the virtual three-dimensional space scene can be changed along with the operation of the user on the bow, so that the immersion of the user is improved.
Fig. 2 is a block diagram of a virtual reality-based simulated shooting system according to an embodiment of the present invention. As shown in fig. 2, a virtual reality-based simulated shooting system of the present invention includes: the bow 102, the processing device 110, and the display unit 118; wherein bow 102 comprises: the tension detection unit 104 is used for acquiring tension data during shooting; an inertial sensing unit 108 for detecting the attitude data of the bow at shooting; and a transmission unit 106 for transmitting the tension data and the attitude data to the processing device 110.
The processing device 110 includes: the initial speed calculation module 112 is used for acquiring the initial speed of the virtual arrow in the virtual three-dimensional space scene according to the tension data; an emergence angle calculation module 118, which calculates emergence angles of virtual arrows in the virtual three-dimensional space scene according to the posture data; the motion simulation module 114 is used for calculating the running track of the virtual arrow in the virtual three-dimensional space scene according to the initial speed and the emergence angle of the virtual arrow; the display unit 118 is configured to display the virtual three-dimensional space scene and the motion trajectory of the virtual arrow in the virtual three-dimensional space scene.
The tension detection unit 104 may include a tension sensor and a tension calibration module; the tension sensor is used for detecting tension during shooting and outputting tension measured values, and the tension calibration module is used for matching the tension measured values according to a preset coupling curve so as to obtain tension data.
The motion simulation module 114 is further used for determining the resistance of the virtual arrow according to the emergence angle and the initial speed during shooting; and sequentially calculating the speed Vn, the position Pn and the posture An of the virtual arrow at the time tn according to the resistance, the gravity, the emergence angle and the initial speed, wherein n is An integer greater than 0, thereby obtaining position data P (P1, …, Pn) and posture data A (A1, …, An) of the virtual arrow from the time t1 to the time tn to obtain the motion track of the virtual arrow.
The motion simulation module 114 is further configured to determine An end point of a motion trajectory of the virtual arrow at time tn according to the position Pn and the posture An of the virtual arrow and a setting of a virtual three-dimensional space scene, where the setting of the virtual three-dimensional space scene includes a scene size and a target position.
The system may further include a shooting evaluation module 120, configured to evaluate the shooting result according to the setting of the virtual three-dimensional space scene and the end point of the motion trajectory of the virtual arrow, and generate evaluation information, where the evaluation information may be in the form of characters and/or images.
The display unit 118 displays the virtual bow in the virtual three-dimensional space scene in real time in a corresponding shape and posture according to the tension data and the posture data. In some embodiments, the display unit 118 is also used to evaluate information.
Since the related method embodiments have been described in detail above, they are not described in detail here.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims (10)
1. A simulated shooting method based on virtual reality is characterized by comprising the following steps: collecting tension data during shooting; detecting the attitude data of the bow during shooting; determining the initial speed of a virtual arrow in a virtual three-dimensional space scene according to the tension data, and calculating the emergence angle of the virtual arrow according to the posture data; calculating the motion track of the virtual arrow in the virtual three-dimensional space scene according to the initial speed and the emergence angle of the virtual arrow; and displaying the motion trail of the virtual arrow in the virtual three-dimensional space scene.
2. A virtual reality based simulated shooting method as claimed in claim 1 wherein said step of collecting tension data at the time of shooting comprises: measuring the tension measurement value during shooting by using a tension sensor, matching the tension measurement value according to a preset coupling curve to obtain tension data,
the step of calculating the motion track of the virtual arrow in the virtual three-dimensional space scene according to the initial speed and the emergence angle of the virtual arrow comprises the following steps: determining the resistance of the virtual arrow according to the emergence angle and the initial speed during shooting; and sequentially calculating the speed Vn, the position Pn and the posture An of the virtual arrow at the time tn according to the resistance, the gravity, the emergence angle and the initial speed, wherein n is An integer greater than 0, thereby obtaining position data (P1, …, Pn) and posture data (A1, …, An) of the virtual arrow from the time t1 to the time tn to obtain the motion track of the virtual arrow.
3. The virtual reality-based simulated shooting method of claim 2, wherein the step of calculating the movement trajectory of the virtual arrow in the virtual three-dimensional space scene according to the initial velocity and the emergence angle of the virtual arrow further comprises judging the end point of the movement trajectory of the virtual arrow at time tn after shooting according to the position Pn and the attitude An of the virtual arrow and the setting of the virtual three-dimensional space scene, the setting of the virtual three-dimensional space scene including the scene size and the target position.
4. The virtual reality-based simulated shooting method of claim 3, further comprising the step of evaluating the shooting result according to the setting of the virtual three-dimensional space scene and the end point of the motion trajectory of the virtual arrow.
5. A virtual reality based simulated shooting method according to claim 1, further comprising the steps of: selecting the shape of a corresponding virtual bow according to the tension data; displaying a virtual bow in real time in a virtual three-dimensional spatial scene according to its shape, and/or
Also comprises the following steps: determining attitude parameters of the virtual bow according to the attitude data; and displaying the virtual bow in real time in a virtual three-dimensional space scene according to the attitude parameters.
6. A virtual reality-based simulated shooting system, comprising:
a bow, a processing device and a display unit; wherein,
the bow comprises:
the tension detection unit is used for acquiring tension data during shooting;
the inertial sensing unit is used for detecting the attitude data of the bow during shooting;
the transmission unit is used for transmitting the tension data and the attitude data to the processing device;
the processing device comprises:
the initial speed calculation module is used for acquiring the initial speed of a virtual arrow in a virtual three-dimensional space scene according to the tension data;
the emergence angle calculation module is used for calculating the emergence angle of the virtual arrow in the virtual three-dimensional space scene according to the attitude data;
the motion simulation module is used for calculating the running track of the virtual arrow in the virtual three-dimensional space scene according to the initial speed and the emergence angle of the virtual arrow;
the display unit is used for displaying the virtual three-dimensional space scene and the motion trail of the virtual arrow in the virtual three-dimensional space scene.
7. The virtual reality-based simulated shooting system of claim 6, wherein said tension detection unit comprises a tension sensor and a tension calibration module; the tension sensor is used for detecting tension during shooting and outputting tension measured values, and the tension calibration module is used for matching the tension measured values according to a preset coupling curve so as to obtain tension data.
8. The virtual reality-based simulated shooting system of claim 6,
the motion simulation module is further used for determining the resistance of the virtual arrow according to the emergence angle and the initial speed during shooting; and sequentially calculating the speed Vn, the position Pn and the posture An of the virtual arrow at the time tn according to the resistance, the gravity, the emergence angle and the initial speed, wherein n is An integer greater than 0, thereby obtaining position data (P1, …, Pn) and posture data (A1, …, An) of the virtual arrow from the time t1 to the time tn so as to obtain the motion track of the virtual arrow.
9. The virtual reality-based simulated shooting system of claim 8, wherein the motion simulation module is further configured to determine An end point of the motion trajectory of the virtual arrow at time tn based on the position Pn and pose An of the virtual arrow and settings of the virtual three-dimensional space scene, the settings of the virtual three-dimensional space scene including scene size and target position.
10. The virtual reality-based simulated shooting system of claim 9, further comprising a shooting evaluation module for evaluating the shooting result according to the setting of the virtual three-dimensional space scene and the end point of the motion trajectory of the virtual arrow, and the display unit displays the virtual bow in the virtual three-dimensional space scene in a corresponding shape and posture in real time according to the tension data and the posture data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611259539.4A CN106621312A (en) | 2016-12-30 | 2016-12-30 | Simulated gunnery method and system based on virtual reality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611259539.4A CN106621312A (en) | 2016-12-30 | 2016-12-30 | Simulated gunnery method and system based on virtual reality |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106621312A true CN106621312A (en) | 2017-05-10 |
Family
ID=58837427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611259539.4A Pending CN106621312A (en) | 2016-12-30 | 2016-12-30 | Simulated gunnery method and system based on virtual reality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106621312A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107152887A (en) * | 2017-05-14 | 2017-09-12 | 深圳游视虚拟现实技术有限公司 | A kind of simulated rocket cylinder operation training method and system based on virtual reality technology |
CN107153463A (en) * | 2017-06-14 | 2017-09-12 | 段凯雄 | Beat the VR analogy methods and device of tree flower |
CN107261493A (en) * | 2017-07-17 | 2017-10-20 | 宋宇 | VR game laminated bow systems |
CN107376302A (en) * | 2017-07-20 | 2017-11-24 | 宋宇 | A kind of method and device of the shooting simulating of the laminated bow based on virtual reality technology |
CN109107160A (en) * | 2018-08-27 | 2019-01-01 | 广州要玩娱乐网络技术股份有限公司 | Animation exchange method, device, computer storage medium and terminal |
CN109126128A (en) * | 2018-08-21 | 2019-01-04 | 苏州蜗牛数字科技股份有限公司 | The management system and method for weapon in a kind of VR game |
WO2020024806A1 (en) * | 2018-08-02 | 2020-02-06 | 腾讯科技(深圳)有限公司 | Method and device for controlling interaction between virtual object and throwing object, and storage medium |
CN111179679A (en) * | 2019-12-31 | 2020-05-19 | 广东虚拟现实科技有限公司 | Shooting training method and device, terminal equipment and storage medium |
CN111226087A (en) * | 2017-09-11 | 2020-06-02 | 马修.艾伦-泰施.佩尔 | Virtual reality archery training system |
CN111330245A (en) * | 2020-02-25 | 2020-06-26 | 武汉小绿人动力技术股份有限公司 | Virtual archery system and method |
CN111408126A (en) * | 2020-03-13 | 2020-07-14 | 安徽魔力塔网络科技有限公司 | VR-based archery game interaction method and device |
CN111659102A (en) * | 2019-05-25 | 2020-09-15 | 杨铭域 | Method, device and system for simulating shooting |
CN112370757A (en) * | 2020-11-13 | 2021-02-19 | 四川建筑职业技术学院 | VR technology-based bow and arrow exercise or competition simulation device and method |
CN112379783A (en) * | 2019-11-15 | 2021-02-19 | 同济大学 | Virtual reality system for enhancing upper limb multidirectional movement of user immersion |
CN114327073A (en) * | 2021-12-28 | 2022-04-12 | 成都天翼空间科技有限公司 | AR technology-based auxiliary shooting method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201219094A (en) * | 2010-05-12 | 2012-05-16 | Konami Digital Entertainment | Orientation detector and game system using the same |
CN102580312A (en) * | 2012-03-13 | 2012-07-18 | 刘阳 | Shooting game simulation system |
CN102728062A (en) * | 2011-04-08 | 2012-10-17 | 汤姆森特许公司 | A device to control the movement of a virtual player and a virtual ball in a game application |
CN103791770A (en) * | 2014-03-11 | 2014-05-14 | 哈尔滨工业大学 | Immersive virtual bow-and-arrow shooting system |
CN204428796U (en) * | 2014-03-11 | 2015-07-01 | 哈尔滨工业大学 | The virtual bow and arrow gunnery system of immersion |
US20160184703A1 (en) * | 2014-12-11 | 2016-06-30 | Elwha Llc | Feedback for enhanced situational awareness |
CN105976432A (en) * | 2016-07-13 | 2016-09-28 | 顽石运动智能科技(北京)有限公司 | Football virtual system |
-
2016
- 2016-12-30 CN CN201611259539.4A patent/CN106621312A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201219094A (en) * | 2010-05-12 | 2012-05-16 | Konami Digital Entertainment | Orientation detector and game system using the same |
CN102728062A (en) * | 2011-04-08 | 2012-10-17 | 汤姆森特许公司 | A device to control the movement of a virtual player and a virtual ball in a game application |
CN102580312A (en) * | 2012-03-13 | 2012-07-18 | 刘阳 | Shooting game simulation system |
CN103791770A (en) * | 2014-03-11 | 2014-05-14 | 哈尔滨工业大学 | Immersive virtual bow-and-arrow shooting system |
CN204428796U (en) * | 2014-03-11 | 2015-07-01 | 哈尔滨工业大学 | The virtual bow and arrow gunnery system of immersion |
US20160184703A1 (en) * | 2014-12-11 | 2016-06-30 | Elwha Llc | Feedback for enhanced situational awareness |
CN105976432A (en) * | 2016-07-13 | 2016-09-28 | 顽石运动智能科技(北京)有限公司 | Football virtual system |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107152887A (en) * | 2017-05-14 | 2017-09-12 | 深圳游视虚拟现实技术有限公司 | A kind of simulated rocket cylinder operation training method and system based on virtual reality technology |
CN107153463B (en) * | 2017-06-14 | 2020-06-02 | 段凯雄 | Tree flower pruning VR simulation method and device |
CN107153463A (en) * | 2017-06-14 | 2017-09-12 | 段凯雄 | Beat the VR analogy methods and device of tree flower |
CN107261493A (en) * | 2017-07-17 | 2017-10-20 | 宋宇 | VR game laminated bow systems |
CN107261493B (en) * | 2017-07-17 | 2020-05-29 | 宋宇 | VR Game Compound Bow System |
CN107376302A (en) * | 2017-07-20 | 2017-11-24 | 宋宇 | A kind of method and device of the shooting simulating of the laminated bow based on virtual reality technology |
CN111226087A (en) * | 2017-09-11 | 2020-06-02 | 马修.艾伦-泰施.佩尔 | Virtual reality archery training system |
US11819763B2 (en) | 2018-08-02 | 2023-11-21 | Tencent Technology (Shenzhen) Company Limited | Predictive display of thrown projectile |
WO2020024806A1 (en) * | 2018-08-02 | 2020-02-06 | 腾讯科技(深圳)有限公司 | Method and device for controlling interaction between virtual object and throwing object, and storage medium |
CN109126128A (en) * | 2018-08-21 | 2019-01-04 | 苏州蜗牛数字科技股份有限公司 | The management system and method for weapon in a kind of VR game |
CN109107160B (en) * | 2018-08-27 | 2021-12-17 | 广州要玩娱乐网络技术股份有限公司 | Animation interaction method and device, computer storage medium and terminal |
CN109107160A (en) * | 2018-08-27 | 2019-01-01 | 广州要玩娱乐网络技术股份有限公司 | Animation exchange method, device, computer storage medium and terminal |
CN111659102A (en) * | 2019-05-25 | 2020-09-15 | 杨铭域 | Method, device and system for simulating shooting |
CN111659102B (en) * | 2019-05-25 | 2023-12-05 | 杨铭域 | Shooting simulation method, device and system |
CN112379783A (en) * | 2019-11-15 | 2021-02-19 | 同济大学 | Virtual reality system for enhancing upper limb multidirectional movement of user immersion |
CN112379783B (en) * | 2019-11-15 | 2021-12-07 | 同济大学 | Virtual reality system for enhancing upper limb multidirectional movement of user immersion |
CN111179679A (en) * | 2019-12-31 | 2020-05-19 | 广东虚拟现实科技有限公司 | Shooting training method and device, terminal equipment and storage medium |
CN111179679B (en) * | 2019-12-31 | 2022-01-28 | 广东虚拟现实科技有限公司 | Shooting training method and device, terminal equipment and storage medium |
CN111330245A (en) * | 2020-02-25 | 2020-06-26 | 武汉小绿人动力技术股份有限公司 | Virtual archery system and method |
CN111408126A (en) * | 2020-03-13 | 2020-07-14 | 安徽魔力塔网络科技有限公司 | VR-based archery game interaction method and device |
CN112370757A (en) * | 2020-11-13 | 2021-02-19 | 四川建筑职业技术学院 | VR technology-based bow and arrow exercise or competition simulation device and method |
CN114327073A (en) * | 2021-12-28 | 2022-04-12 | 成都天翼空间科技有限公司 | AR technology-based auxiliary shooting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106621312A (en) | Simulated gunnery method and system based on virtual reality | |
US9333420B2 (en) | Computer readable medium recording shooting game | |
WO2019218790A1 (en) | Interface display method and apparatus, electronic device and computer readable storage medium | |
US9427650B2 (en) | Apparatus and method for virtual golf simulation imaging mini map | |
US8385596B2 (en) | First person shooter control with virtual skeleton | |
CN102331840B (en) | User selection and navigation based on looped motions | |
KR20190099390A (en) | Method and system for using sensors of a control device to control a game | |
US20190121451A1 (en) | Information processing apparatus and information processing method | |
KR101414147B1 (en) | Virtual Reality Shooting Simulation System | |
JP2012166066A (en) | Self-contained inertial navigation system for interactive control using movable controller | |
CN104881128A (en) | Method and system for displaying target image in virtual reality scene based on real object | |
KR101811809B1 (en) | Arcade game system by 3D HMD | |
CN105749525A (en) | Basketball training device based on AR technology | |
WO2014111947A1 (en) | Gesture control in augmented reality | |
CN108579080A (en) | The interaction realization method and system of entity racket and virtual ball under mixed reality environment | |
US10561901B2 (en) | Method of evaluating stability of golf swing | |
TWI517882B (en) | Wearable grenade throwing simulation system | |
KR20170011229A (en) | System for screen golf using laser beam | |
CN108211343A (en) | Simulated gunnery method and apparatus based on VR technologies | |
CN205598586U (en) | Basketball training device based on AR technique | |
CN112711326A (en) | Virtual object operating system and virtual object operating method | |
Bholsithi et al. | 3D avatar developments in real time and accuracy assessments | |
KR20190046030A (en) | First-person shooting game method using hit-sensing unit | |
CN110036359A (en) | The interactive augmented reality of first person role playing | |
JP7248353B1 (en) | Hitting analysis system and hitting analysis method |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170510 |