Online visual programming and the VR assault at arms 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 assault at arms for a kind of online visual programming and editor developed
Make experiencing system, comprising:
Visualization sword-play Objects scene edit cell, main control unit based on HTML5 language and worn for user, into
The operation feedback unit of row scenery control and programming information correction;
Visualizing sword-play 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 block library interface in graphics logic block is moved to the interface zone of the unit, combination forms the graph block sequence
Column;
Operating feedback unit includes:
It is integrated in the panorama display screen of sword-play helmet front mask and is integrated with the training sword of action sensor;The sword
Art 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;
In scene generating process, in scene generating process, main control unit records the movement of the helmet, training sword, generates virtual
The movement of sword-play object generates virtual sword-play opponent, and by each logical block in the graphics logic block library, editor forms institute
State the attack defensive action sequence that virtual sword-play 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 sword-play opponent;
It is incorporated in the virtual environment generated in the environment fitting space, completes current visible sword-play Objects scene
Editor;
During assault at arms, user wears the sword-play helmet and training sword;According to sword in panorama display screen
The movement/or positive action of art object, the main control unit record the spatial position of the trained sword, dynamic as attack defence
The trigger point for making sequence controls the movement of virtual sword-play object, completes sword-play 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, provides present score, hit by display screen in the sword-play helmet and loudspeaker
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 sword-play 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 that current user is hit by virtual sword-play object.
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 sword-play helmet and vest
Electrostatic stimulate patch;Patch power supply is stimulated for the electrostatic, user is prompted to be hit.
As preferred embodiment, the electrostatic in the vest stimulates patch, equipped with different stimulation levels;
When work, the main control unit is acted according to attack in the attack defensive action sequence of current virtual sword-play opponent
Type, provide corresponding stimulation levels;
Modular power in vest adjusted according to stimulation levels the electrostatic stimulation patch currently powered for electric strength.
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 sword-play helmet.
As preferred embodiment, there is video record unit;
It records in training process, the motion image of the virtual sword-play object, is paid a return visit according to user's instruction.
As preferred embodiment, the main control unit is according to currently used person's score, combined full view space video
Segment cooperatively forms scene video corresponding with score/match situation.
As preferred embodiment, communication unit and remote server, server are sent for receiving communication unit
Result of the match provides the ranking list in system.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to do simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains 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
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described:
As shown in Figure 1 and Figure 2: a kind of online visual programming and the VR assault at arms of editor make experiencing system, main to wrap
It includes following module: visualization sword-play Objects scene edit cell, main control unit based on HTML5 language and wearing for user
Wear, carry out the operation feedback unit of scenery control and programming information correction;Visualizing sword-play Objects scene edit cell includes: void
Quasi- 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 quasi-
Close space;Graphics logic block library;The graphics logic block of dynamic element movement in control virtual scene is stored in the library, by dragging
Cardon shape logical block, formed by certain rule combination control the dynamic element in virtual scene camera position, the visual field away from
The graph block sequence changed from, dynamic element and fitting spatiality;Operation display module;Graphics logic block editing combination zone
With Virtual Space editing area, user is patrolled figure from the interface in the graphics logic block library by way of dragging
The interface zone that block moves to the unit is collected, combination forms the graph block sequence;Operating feedback unit includes: to be integrated in sword-play
The panorama display screen of helmet front mask and the training sword for being integrated with action sensor;The sword-play helmet has position sensing
Device 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.
In scene generating process, in scene generating process, main control unit records the movement of the helmet, training sword, generates virtual
The movement of sword-play object generates virtual sword-play opponent, and by each logical block in the graphics logic block library, editor forms institute
State the attack defensive action sequence that virtual sword-play 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 sword-play opponent;
It is incorporated in the virtual environment generated in the environment fitting space, completes the editor of current visible sword-play Objects scene;Sword
In art training process, user wears the sword-play helmet and training sword;According in panorama display screen sword-play object it is dynamic
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 sword-play object is controlled, completes sword-play 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, provides present score, hit by display screen in the sword-play helmet and loudspeaker
The prompt at position;Meanwhile vibrating motor works, and is prompted by tactile to user.
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 sword-play 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 that current user is hit by virtual sword-play object.
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, 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 sword-play helmet and vest
Electrostatic stimulate patch;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.
System also saves communication unit and remote server, and server is used for the result of the match that receiving communication unit is sent,
Provide the ranking list in system.
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.