The VR fencing training of visual programming and editor makes experiencing system
Technical field
The present invention relates to a kind of VR scene system, especially convenient use person voluntarily visual edit make and participate in experience
The setting work of virtual driving class scene and experiencing system.
Background technology
With the fast development of VR technology, VR virtual reality technology range of application is more and more wider, in each technical field
Application expansion all like a raging fire, especially with the development of surrounding hardware technology and the software engineering of kernel development so that
VR Display Technique is more ripe and perfect, and software and hardware technology has been no longer the restriction condition of VR technology, the single ability in content
It is the biggest obstacle of VR development.
The development of VR application now is still limited to several specific areas.Such as, fortune of the user in entity space is received
Dynamic limit, VR scene be currently still based on the scene of a kind of design of standing.Likewise, in sightseeing field, also cannot basis
The wish of user is moved freely, and can only carry out passive view, the big discounting of real experiences sense according to the movement of video camera
Button.
Likewise, in training field, due to lacking innovation and corresponding hardware device in content, causing professional instruction
Practice equipment cost high, it is impossible to real popularization.
Content of the invention
The present invention is for the proposition of problem above, and the VR fencing training of a kind of visual programming of development and editor makes
Experiencing system, including:
Visualization fistfight Objects scene edit cell, main control unit based on HTML5 language and wear for user, enter
Row scenery control and the operation feedback unit of programming information correction;
Visualization fistfight Objects scene edit cell includes:
Virtual Space editing area;
At least include camera position point, visual field distance, dynamic element and spherical environment fitting space in the region;
Graphics logic block storehouse;
It is stored with the storehouse and controls the logic figure block of dynamic element motion in virtual scene, by drags logic figure
Block, forms the control dynamic element camera position, visual field distance, dynamic element in virtual scene by certain rule combination
And the graph block sequence of fitting spatiality change;
Operation display module;
Graphics logic block editing combination zone and Virtual Space editing area, user by way of pulling, from described
Graphics logic storehouse interface in graphics logic block is moved to the interface zone of the unit, combination forms described graph block sequence
Row;
Environment material database, the material database is stored with the panoramic space piece of video with the location point and visual field distance as reference
Section;
Operation feedback unit includes:
The panorama display screen for being integrated in fistfight helmet front portion mask and the training sword for being integrated with action sensor;The lattice
Bucket helmat belt position sensor and three-axis gyroscope;Described training sword includes to be arranged on the position sensor at sword point,
Vibrating motor is provided with training sword handle;
During setting work, user is by the current training place of described visualization fistfight Objects scene edit cell
Scape, at least has a virtual fistfight opponent in scene, by each logical block in described graphics logic block storehouse, editor forms institute
State attack defensive action sequence of the virtual fistfight opponent with time shafts;
Using the place area of space of the training sword as the trigger point of next attack defensive action of virtual fistfight opponent;
In conjunction with the virtual environment for generating in described environment fitting space, current visibleization fistfight Objects scene is completed
Editor;
During assault at arms, user wears the described fistfight helmet and training sword;According to lattice in panorama display screen
The action/of bucket object or positive action, described main control unit records the locus of the training sword, dynamic as attack defence
Make the trigger point of sequence, the motion of the virtual fistfight object of control, complete, with the use of person, assault at arms of grappling;
When the ad-hoc location for training the sword point of sword in virtual environment, described main control unit judges training sword concentration
Target, records current hit-count and position, provides present score, hit by the display screen in the fistfight helmet and speaker
The prompting at position;Meanwhile, vibrating motor works, and is pointed out to user by tactile.
As preferred embodiment, also include in described operation feedback unit to hit somatosensory device;
During assault at arms, the space bit of the training sword that the currently used person of described main control unit real time record uses
Put, determine whether the next action in attack defensive action sequence is triggered, if training sword does not make action within the time limit, or
When locus corresponding as current action trigger point are not appeared in, current virtual fistfight object attack success is judged;
Relative position by using person is analyzed further, and the described hit somatosensory device of control sends corresponding stimulation, accuses
Know that current user is hit by virtual fistfight object.
Further, described hit somatosensory device stimulates vest for electrostatic;The vest includes densely covered independent quiet
Electricity irritation is pasted;Position sensor and three-axis gyroscope are respectively equipped with two shoulders of vest;
The vest in use, is close to user skin, when described main control unit judges that user is hit,
Judge that the relative position of currently used person is corresponding according to the user fistfight helmet with the position sensor of vest and three-axis gyroscope
Electrostatic stimulate patch;Stimulate patch power supply for the electrostatic, point out user to be hit.
Used as preferred embodiment, described training sword belt has acceleration transducer;
During assault at arms, main control unit perceives the acceleration that user waves apparatus generation, judges future time section
Interior, whether apparatus reaches the locus as trigger point.
As preferred embodiment, hollow out below the radiator grille of the described fistfight helmet.
As preferred embodiment, also reside in video record unit;
In record training process, the motion image of the virtual fistfight object, paid a return visit according to user instruction.
Description of the drawings
For clearer explanation embodiments of the invention or the technical scheme of prior art, below will be to embodiment or existing
There is accompanying drawing to be used needed for technology description to do one simply to introduce, it should be apparent that, drawings in the following description are only
Some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the system module figure of the present invention
Fig. 2 is the helmet schematic diagram of the present invention
Specific embodiment
Purpose, technical scheme and advantage for making embodiments of the invention is clearer, with reference to the embodiment of the present invention
In accompanying drawing, clearly complete description is carried out to the technical scheme in the embodiment of the present invention:
As shown in Figure 1:The VR fencing training of a kind of visual programming and editor makes experiencing system, mainly includes following mould
Block;Visualization fistfight Objects scene edit cell, main control unit based on HTML5 language and wear for user, carry out field
Scape control and the operation feedback unit of programming information correction;Visualization fistfight Objects scene edit cell includes:Virtual Space is compiled
Collect region;At least include camera position point, visual field distance, dynamic element and spherical environment fitting space in the region;
Graphics logic block storehouse;It is stored with the storehouse and controls the logic figure block of dynamic element motion in virtual scene, by drags logic
Graph block, forms the control dynamic element camera position, visual field distance, dynamic in virtual scene by certain rule combination
Element and the graph block sequence of fitting spatiality change;Operation display module;Graphics logic block editing combination zone and virtuality
Space editing area, graphics logic block is moved to by way of pulling from the interface in described graphics logic storehouse by user
The interface zone of the unit, combination forms described graph block sequence;Operation feedback unit includes:It is integrated in fistfight helmet front portion
The panorama display screen of mask and it is integrated with the training sword of action sensor;The fistfight helmat belt position sensor and three axles
Gyroscope.
Further, environment material database is additionally provided with, and the material database is stored with the location point and visual field distance as ginseng
According to panoramic space video segment;
Such as, in order to increase the match psychological diathesiss of user, it is possible to achieve using panorama camera collection international tournament
Panoramic video, and editing formation fragment, spectators' cheer in such as advantage moment, individually preserve into fragment, the sight in thrilling moment
Many reactions, individually preserve into fragment, are stored in environment material database.
In experience/during the games, main control unit detects the score of currently used person, judges the feelings of user according to score
Gesture, have the advantage status when, loop play spectators hail video segment.It is in a disadvantageous position, plays the video of spectators' scream
Fragment, gives currently used person most real competition atmosphere, increases the psychological diathesiss of user.
During setting work, user is by the current training place of described visualization fistfight Objects scene edit cell
Scape, at least has a virtual fistfight opponent in scene, by each logical block in described graphics logic block storehouse, editor forms institute
State attack defensive action sequence of the virtual fistfight opponent with time shafts;
Using the place area of space of the training sword as the trigger point of next attack defensive action of virtual fistfight opponent;
In conjunction with the virtual environment for generating in described environment fitting space, the editor for completing current visibleization fistfight Objects scene;Sword
In art training process, user wears the described fistfight helmet and training sword;According to the dynamic of object of grappling in panorama display screen
Make/or positive action, described main control unit records the locus of the training sword, used as the tactile of attack defensive action sequence
Point is sent out, the motion of the virtual fistfight object of control, complete, with the use of person, assault at arms of grappling.
When the ad-hoc location for training the sword point of sword in virtual environment, described main control unit judges training sword concentration
Target, records current hit-count and position, provides present score, hit by the display screen in the fistfight helmet and speaker
The prompting at position, convenient use person understands current action effect in real time.Meanwhile, vibrating motor works, by tactile to use
Person points out.
As preferred embodiment, in order to the actual body for increasing user is experienced, increase the sense of reality of fistfight, described
Operation feedback unit in also include hit somatosensory device.
During assault at arms, the space bit of the training sword that the currently used person of described main control unit real time record uses
Put, determine whether the next action in attack defensive action sequence is triggered, if training sword does not make action within the time limit, or
When locus corresponding as current action trigger point are not appeared in, current virtual fistfight object attack success is judged;
After virtual fistfight object attack success is judged, main control unit analyzes the relative position by using person further,
The described hit somatosensory device of control sends corresponding stimulation, informs that current user is hit by virtual fistfight object.
In order to increase real experiences, while in order to control cost, used as preferred embodiment, described hit body-sensing sets
Stimulate vest for for electrostatic;The vest includes that densely covered independent electrostatic stimulates patch, and each stimulates patch to have independent supply lines
Road, by modular power unification power supply.Position sensor and three-axis gyroscope are respectively equipped with two shoulders of vest.
The vest in use, is close to user skin, so as to user directly using effect.When described
Main control unit judge user when being hit, position sensor and the three-axis gyroscope of grappled according to the user helmet and vest
Judge that the corresponding electrostatic of relative position of currently used person stimulates patch;Stimulate patch power supply for the electrostatic, point out user to be hit.
As other optional embodiments, multistage current intensity is may also set up, according to the difference of attack movements in martial arts, be given not
Same stimulation levels, such as abrade and stab corresponding relatively low and higher stimulation levels respectively.
In order to strengthen the real-time of experience, the delayed impact user impression that minimizing equipment may bring, used as preferred
Embodiment, described training sword belt has acceleration transducer;During assault at arms, main control unit perceives user and waves device
The acceleration that tool is produced, judges in future time section, whether apparatus reaches the locus as trigger point.
It is considered that user is in experience of the process, needs to move back and forth, larger action is made, pretend as preferably in fact
Apply mode, hollow out below the radiator grille of the described fistfight helmet, that is, the lower section of radiator grille display screen is arranged on, in assault at arms mistake
Cheng Zhong, user normal visual field is looked squarely, virtual grapple opponent and the virtual fistfight environment that observes in display screen, is making action
When returning to home position, by the actual scene of the hollow out observation of lower section, it is to avoid fall down and move damage.
Introspect training process for the convenience of the users, as preferred embodiment, also reside in video record unit;Record
In training process, the motion image of the virtual fistfight object, paid a return visit according to user instruction.
Meanwhile, used as optional embodiment, system can also provide reasonable response suitable for a certain attack movements in martial arts,
Such as provide slow motion to explain, shown in the display screen of the fistfight helmet.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto,
Any those familiar with the art the invention discloses technical scope in, technology according to the present invention scheme and its
Inventive concept equivalent or change in addition, should all be included within the scope of the present invention.