Visual programming and the VR fencing training of editor make experiencing system
Technical field
The present invention relates to a kind of VR scene system, is especially made convenient for users to voluntarily visual edit and participate in experiencing
Fencing class scene setting work and experiencing system.
Background technique
With the fast development of VR technology, VR virtual reality technology be will be used wider and wider, in each technical field
Using expansion all like a raging fire, especially with the development for the software technology that surrounding hardware technology and kernel are developed, so that
VR display technology is more mature and perfect, and software and hardware technology has no longer been the restriction condition of VR technology, the single ability in content
It is the biggest obstacle of VR development.
The development of present VR application is still limited to several specific areas.For example, receiving user in the fortune of entity space
Dynamic limitation, VR scene is currently still based on the scene for stake design of standing.Likewise, in sightseeing field, it also can not basis
The wish of user moves freely, can only be according to the mobile progress of video camera passively view, the big discounting of real experiences sense
Button.
Likewise, due to lacking innovation and corresponding hardware device in content, leading to professional instruction in training field
It is high to practice equipment cost, can not really popularize.
Summary of the invention
The it is proposed of the present invention in view of the above problems, and the VR fencing training production for a kind of visual programming and editor developed
Experiencing system, comprising:
Based on HTML5 language visualization fistfight Objects scene edit cell, main control unit and for user wear, into
The operation feedback unit of row scenery control and programming information correction;
Visualizing fistfight Objects scene edit cell includes:
Virtual Space editing area;
The environment that camera position point, visual field distance, dynamic element and spherical shape are included at least in the region is fitted space;
Graphics logic block library;
The graphics logic block of dynamic element movement in control virtual scene is stored in the library, by dragging graphics logic
Block is formed by certain rule combination and controls the dynamic element camera position, visual field distance, dynamic element in virtual scene
And the graph block sequence that fitting spatiality changes;
Operation display module;
Graphics logic block editing combination zone and Virtual Space editing area, user is by way of dragging, from described
Graphics logic library block interface in graphics logic block is moved to the interface zone of the unit, combination forms the graph block sequence
Column;
Environment material database, the material database are stored with using the location point and visual field distance as the panoramic space piece of video of reference
Section;
Operating feedback unit includes:
It is integrated in the panorama display screen of fistfight helmet front mask and is integrated with the training sword of action sensor;The lattice
Struggle against helmat belt position sensor and three-axis gyroscope;The training sword includes the position sensor that Jian Jianchu is arranged in,
Vibrating motor is equipped at training sword handle;
During setting work, the user training place current by the visualization fistfight Objects scene edit cell
Scape at least has a virtual fistfight opponent in scene, and by each logical block in the graphics logic block library, editor forms institute
State the attack defensive action sequence that virtual fistfight opponent has time shaft;
Using the place area of space of the trained sword as the trigger point of next attack defensive action of virtual fistfight opponent;
It is incorporated in the virtual environment generated in the environment fitting space, completes current visibleization fistfight Objects scene
Editor;
During assault at arms, user wears the fistfight helmet and training sword;According to lattice in panorama display screen
The movement/or positive action of bucket object, the main control unit record the spatial position of the trained sword, dynamic as attack defence
Make the trigger point of sequence, control the movement of virtual fistfight object, completes fistfight assault at arms with the use of person;
When the sword point of training sword is in the specific position in virtual environment, the main control unit determines that training sword is concentrated
Target records current hit-count and position, by fistfight the helmet in display screen and loudspeaker provide present score, hit
The prompt at position;Meanwhile vibrating motor works, and is prompted by tactile to user.
It further include hit somatosensory device as preferred embodiment, in the operation feedback unit;
During assault at arms, the main control unit records the space bit for the training sword that currently used person uses in real time
It sets, determines whether to trigger next movement in attack defensive action sequence, if training sword does not make movement within the time limit, or
When not appearing in spatial position corresponding as current action trigger point, current virtual fistfight object attack success is determined;
Further analysis is controlled the hit somatosensory device and issues corresponding stimulation, accused by the relative position of user
Know current user by virtually fistfight object hit.
Further, the hit somatosensory device is that electrostatic stimulates vest;The vest includes densely covered independent quiet
Electro photoluminescence patch;Position sensor and three-axis gyroscope are respectively equipped in two shoulders of vest;
The vest in use, is close to user's skin, when the main control unit determines that user is hit,
Determine that the relative position of currently used person is corresponding according to the position sensor and three-axis gyroscope of user's fistfight helmet and vest
Electrostatic stimulate patch;Patch power supply is stimulated for the electrostatic, user is prompted to be hit.
As preferred embodiment, the training sword belt has acceleration transducer;
During assault at arms, main control unit perception user waves the acceleration of instrument generation, determines future time section
Interior, whether instrument reaches the spatial position as trigger point.
As preferred embodiment, hollow out below the radiator grille of the fistfight helmet.
As preferred embodiment, also reside in video record unit;
It records in training process, the motion image of the virtual fistfight object is paid a return visit according to user's instruction.
Detailed description of the invention
For the clearer technical solution for illustrating the embodiment of the present invention or the prior art, to embodiment or will show below
There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is only
Some embodiments of the present invention without creative efforts, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is system module figure of the invention
Fig. 2 is helmet schematic diagram of the invention
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present invention clearer, below with reference to the embodiment of the present invention
In attached drawing, technical solution in the embodiment of the present invention carries out clear and complete description:
A kind of visual programming and the VR fencing training of editor make experiencing system as shown in Figure 1:, and main includes such as lower die
Block;Based on HTML5 language visualization fistfight Objects scene edit cell, main control unit and for user wear, carry out field
The operation feedback unit of scape control and programming information correction;Visualization fistfight Objects scene edit cell includes: that Virtual Space is compiled
Collect region;The environment that camera position point, visual field distance, dynamic element and spherical shape are included at least in the region is fitted space;
Graphics logic block library;The logic figure block of dynamic element movement in control virtual scene is stored in the library, by dragging logic
Graph block is formed by certain rule combination and controls the dynamic element camera position, visual field distance, dynamic in virtual scene
The graph block sequence that element and fitting spatiality change;Operation display module;Graphics logic block editing combination zone and virtual
Space editing area, user are moved to graphics logic block from the interface in the graphics logic library by way of dragging
The interface zone of the unit, combination form the graph block sequence;Operation feedback unit includes: to be integrated in fistfight helmet front
The panorama display screen of mask and the training sword for being integrated with action sensor;The fistfight helmat belt position sensor and three axis
Gyroscope.
Further, it is additionally provided with environment material database, which is stored with the location point and visual field distance as ginseng
According to panoramic space video clip;
For example, may be implemented to increase the match psychological quality of user using panorama camera acquisition international tournament
Panoramic video, and editing forms segment, such as spectators' cheer at advantage moment, individually saves into segment, the sight at thrilling moment
Crowd's reaction, individually saves into segment, is stored in environment material database.
Experience/during the games, main control unit detects the score of currently used person, and the feelings of user are judged according to score
Gesture, have the advantage status when, loop play spectators hail video clip.It is in a disadvantageous position, plays the video of spectators' scream
Segment gives the most true competition atmosphere of currently used person, increases the psychological quality of user.
During setting work, the user training place current by the visualization fistfight Objects scene edit cell
Scape at least has a virtual fistfight opponent in scene, and by each logical block in the graphics logic block library, editor forms institute
State the attack defensive action sequence that virtual fistfight opponent has time shaft;
Using the place area of space of the trained sword as the trigger point of next attack defensive action of virtual fistfight opponent;
It is incorporated in the virtual environment generated in the environment fitting space, completes the editor of current visibleization fistfight Objects scene;Sword
In art training process, user wears the fistfight helmet and training sword;According to the dynamic of object of grappling in panorama display screen
Work/or positive action, the main control unit record the spatial position of the trained sword, the touching as attack defensive action sequence
Point is sent out, the movement of virtual fistfight object is controlled, completes fistfight assault at arms with the use of person.
When the sword point of training sword is in the specific position in virtual environment, the main control unit determines that training sword is concentrated
Target records current hit-count and position, by fistfight the helmet in display screen and loudspeaker provide present score, hit
The prompt at position, convenient for users to understanding current action effect in real time.Meanwhile vibrating motor works, by tactile to use
Person's prompt.
Increase the sense of reality of fistfight as preferred embodiment in order to increase the actual body experience of user, it is described
Operation feedback unit in further include hit somatosensory device.
During assault at arms, the main control unit records the space bit for the training sword that currently used person uses in real time
It sets, determines whether to trigger next movement in attack defensive action sequence, if training sword does not make movement within the time limit, or
When not appearing in spatial position corresponding as current action trigger point, current virtual fistfight object attack success is determined;
After determining virtual fistfight object attack success, main control unit further analyzes the relative position by user,
The control hit somatosensory device issues corresponding stimulation, informs current user by virtually fistfight object hit.
In order to increase real experiences, while in order to control cost, as preferred embodiment, the hit body-sensing is set
It is standby to stimulate vest for electrostatic;The vest includes densely covered independent electrostatic stimulation patch, and each stimulation patch has independent supply lines
Road is powered by modular power is unified.Position sensor and three-axis gyroscope are respectively equipped in two shoulders of vest.
The vest in use, is close to user's skin, so as to directly adopt effect to user.When described
Main control unit determine user when being hit, grappled the position sensor and three-axis gyroscope of the helmet and vest according to user
Determine the corresponding electrostatic stimulation patch in the relative position of currently used person;Patch power supply is stimulated for the electrostatic, user is prompted to be hit.
As other optional embodiments, multistage current strength may also set up, according to the difference of attack movements in martial arts, provide not
Same stimulation levels, for example abrade and stab and respectively correspond lower and higher stimulation levels.
In order to enhance the real-time of experience, the possible delayed impact user impression of equipment is reduced, as preferred
Embodiment, the training sword belt have acceleration transducer;During assault at arms, main control unit perception user waves device
The acceleration that tool generates determines in future time section whether instrument reaches the spatial position as trigger point.
It is considered that user in experience of the process, needs to move back and forth, biggish movement is made, it is preferred real for pretending
Mode is applied, the lower section of cover display screen in front is arranged, in assault at arms mistake in hollow out below the radiator grille of the fistfight helmet
Cheng Zhong, user's normal visual field head-up, observes the virtual fistfight opponent in display screen and environment of virtually grappling, and is making movement
When returning to home position, actual scene is observed by the hollow out of lower section, avoids falling down generation injury gained in sports.
Training process is introspected for the convenience of the users, as preferred embodiment, is also resided in video record unit;Record
In training process, the motion image of the virtual fistfight object is paid a return visit according to user's instruction.
Meanwhile as optional embodiment, system can also be provided for a certain suitable reasonable response of attack movements in martial arts,
For example provide slow motion and explain, it is shown in the display screen of the fistfight helmet.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.