CN-122019870-A - Virtual reality transmission method, system, electronic device, storage medium and product
Abstract
The application relates to the technical field of virtual reality, in particular to a virtual reality transmission method, a system, electronic equipment, a storage medium and a product, wherein the method comprises the steps of obtaining respective current positions of a target user and other users around the target user in a virtual environment, constructing a target potential field according to the respective current positions of the target user and the other users, determining a limiting area of the other users according to the target potential field and the target transmission position of the target user, evaluating and adjusting the target transmission position based on the limiting area, enabling an actual transmission target point to avoid the limiting area during adjustment, and executing space movement from the current position of the target user to the actual transmission target point. Therefore, the problems of discomfort, social anxiety and the like caused by the fact that a user suddenly intrudes into the personal space of other people due to the fact that the virtual reality transmission method in the related technology lacks social perception in a multi-person environment are solved.
Inventors
- LI YIJUN
- XU SENZHE
- ZHANG SONGHAI
- HU SHIMIN
Assignees
- 清华大学
- 北京科技大学
Dates
- Publication Date
- 20260512
- Application Date
- 20260109
Claims (10)
- 1. A virtual reality transmission method, characterized by comprising the steps of: Acquiring respective current positions of a target user and other users around the target user in a virtual environment; constructing a target potential field according to the respective current positions of the target user and other users, and determining a limiting area of the other users according to the target potential field and the target transmission positions of the target user; The target transfer position is evaluated and adjusted based on the restriction area, and the actual transfer target point is caused to avoid the restriction area at the time of adjustment, and spatial movement from the current position of the target user to the actual transfer target point is performed.
- 2. The virtual reality transmission method of claim 1, wherein constructing a target potential field from respective current positions of the target user and other users comprises: Calculating the space distance between the target user and other users according to the current positions of the target user and the other users, and obtaining preset interpersonal distance parameters; Identifying a mapping relation between a space distance and a potential energy value in preset interpersonal distance parameters, wherein the mapping relation is an inverse relation between the space distance and the potential energy value; and constructing the target potential field according to the mapping relation between the space distance and the potential energy value.
- 3. The virtual reality transmission method of claim 1, wherein the determining the limit area of the other user from the target potential field and the target transmission position of the target user comprises: acquiring potential energy values of the target user at the current position and the target transmission position from the target potential field, and calculating estimated energy cost generated by the movement of the target user to the target transmission position according to the potential energy values of the target user at the current position and the target transmission position; the restricted area is determined from a relationship between the projected energy cost and a preset energy budget.
- 4. The virtual reality transmission method of claim 1, wherein the evaluating and adjusting the target transmission position based on the limit area comprises: Identifying whether the target delivery location is in the restricted area; If the target transmission position is not in the limiting area, determining that the target transmission position is effective, and taking the target transmission position as the actual transmission target point; And if the target conveying position is in the limiting area, determining that the target conveying position is invalid, and performing at least one of direction clipping conveying and boundary adsorption conveying on the target conveying position based on the target potential field and the limiting area to obtain an adjusted actual conveying target point.
- 5. The virtual reality transmission method of claim 4, wherein the direction clipping transmission correspondence adjustment means comprises: extending a ray along the user control indication direction when the target delivery location is invalid; acquiring candidate intersection points of the rays and the boundary of the limiting area; calculating a first actual distance between the candidate intersection point and the boundary of the limiting area; And selecting the candidate intersection point with the smallest first actual distance as the actual transmission target point.
- 6. The virtual reality transmission method of claim 4, wherein the adjusting means for boundary adsorption transmission includes: searching candidate points on the boundary of the limiting area when the target transmission position is invalid; calculating a second actual distance between the candidate point and the target transfer position distance; and selecting the candidate point with the smallest second actual distance as the actual transmission target point.
- 7. A virtual reality delivery system, comprising: the acquisition module is used for acquiring the current positions of a target user and other users around the target user in the virtual environment; The limiting module is used for constructing a target potential field according to the respective current positions of the target user and other users, and determining a limiting area of the other users according to the target potential field and the target transmission position of the target user; An adjustment module configured to evaluate and adjust the target transfer position based on the limit area, and to cause an actual transfer target point to avoid the limit area at the time of adjustment, and to perform a spatial movement from a current position of the target user to the actual transfer target point.
- 8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the virtual reality transmission method of any of claims 1-6.
- 9. A computer readable storage medium having stored thereon a computer program or instructions, which when executed, implement the virtual reality transmission method of any of claims 1-6.
- 10. A computer program product comprising a computer program or instructions which, when executed, implement the virtual reality transmission method of any one of claims 1-6.
Description
Virtual reality transmission method, system, electronic device, storage medium and product Technical Field The present application relates to the field of virtual reality technologies, and in particular, to a virtual reality transmission method, a system, an electronic device, a storage medium, and a product. Background The virtual reality transmission can enable the avatar of the user in the virtual environment to be instantaneously moved to a selected position according to the requirements, and the user is not required to actually walk in the physical space. However, the related art virtual reality transmission method lacks social perception in a multi-person environment, which easily causes users to suddenly break into the personal space of other people, thereby causing discomfort and social anxiety of the users. Disclosure of Invention The application provides a virtual reality transmission method, a system, electronic equipment, a storage medium and a product, which are used for solving the problems of discomfort, social anxiety and the like caused by abrupt intrusion of a user into the personal space of other people due to lack of social perception of the virtual reality transmission method in a multi-person environment in the related technology. An embodiment of a first aspect of the present application provides a virtual reality transmission method, including the steps of obtaining respective current positions of a target user and other users around the target user in a virtual environment, constructing a target potential field according to the respective current positions of the target user and the other users, determining a limit area of the other users according to the target potential field and the target transmission position of the target user, evaluating and adjusting the target transmission position based on the limit area, enabling an actual transmission target point to avoid the limit area when adjusting, and performing spatial movement from the current position of the target user to the actual transmission target point. Optionally, constructing the target potential field according to the respective current positions of the target user and other users comprises calculating the spatial distance between the target user and other users according to the respective current positions of the target user and other users to obtain a preset interpersonal distance parameter, identifying the mapping relation between the spatial distance and the potential energy value in the preset interpersonal distance parameter, wherein the mapping relation is in inverse relation between the spatial distance and the potential energy value, and constructing the target potential field according to the mapping relation between the spatial distance and the potential energy value. Optionally, determining the limit area of the other users according to the target potential field and the target transmission position of the target user comprises obtaining potential energy values of the target user at the current position and the target transmission position from the target potential field, calculating estimated energy cost generated by the target user moving to the target transmission position according to the potential energy values of the target user at the current position and the target transmission position, and determining the limit area according to the relation between the estimated energy cost and the preset energy budget. Optionally, the evaluation and adjustment of the target transfer position based on the confinement region includes identifying whether the target transfer position is in the confinement region, if the target transfer position is not in the confinement region, determining that the target transfer position is valid, taking the target transfer position as an actual transfer target point, if the target transfer position is in the confinement region, determining that the target transfer position is invalid, and performing at least one of direction clipping transfer and boundary adsorbing transfer on the target transfer position based on the target potential field and the confinement region to obtain an adjusted actual transfer target point. Optionally, the direction clipping transmission corresponding adjustment mode comprises the steps of extending the ray along the direction indicated by the user controller when the target transmission position is invalid, obtaining a candidate intersection point of the ray and the boundary of the limiting area, calculating a first actual distance between the candidate intersection point and the boundary of the limiting area, and selecting the candidate intersection point with the smallest first actual distance as an actual transmission target point. Optionally, the adjustment mode corresponding to the boundary adsorption transfer comprises searching candidate points on the boundary of the limiting area when the target transfer position is invalid, calculating a seco