Method and system for drawing line locus applied in VR scene
A technology of lines and trajectories, applied in the field of VR, can solve problems such as the inability to render line effects, and achieve the effects of universality, promotion and use, and ease of use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] Please refer to figure 2 , this embodiment provides a method for drawing line traces applied to VR scenes. Based on the Unity engine, by using the relevant components in the engine and cooperating with the operating equipment to form a set of trace brush components under VR, it is realized in the form of a Unity plug-in. The program provides relevant functional support, can be quickly integrated into VR products developed with Unity, and provides corresponding functional support.
[0066] The operating device of the VR sensing device in this embodiment is described by taking the HTC Vive handle as an example;
[0067] The line trajectory drawing method in this embodiment may specifically include the following steps:
[0068] S1: Unified packaging of the underlying SDK of the operating device of the VR sensing device;
[0069] Specifically, combined with the official HTC Vive SDK provided by HTC Vive, its underlying code is uniformly packaged. After the unified packag...
Embodiment 2
[0084] Please refer to image 3 , on the basis of Embodiment 1, this embodiment further extends and expands it, enriches the function of drawing lines and trajectories, and optimizes the storage mode of the operating system at the same time. Specifically, the similarities will not be described repeatedly, and the differences lie in:
[0085] After step S3, after generating the operation track, further include:
[0086] S4: Store a collision body node under each node of the operation trajectory, and obtain the capsule collision body of two adjacent nodes through the calculation of the two-point relationship; connect the adjacent capsule collision bodies through the Joint node, so as to calculate the line collision body of the operation trajectory .
[0087] Specifically, the operation trajectory is composed of multiple nodes, and the capsule collision body is built in each node, and then the front and rear capsule collision bodies are connected through the Joint node to calcu...
Embodiment 3
[0095] This embodiment is based on a specific application scenario provided in Embodiment 2.
[0096] A certain VR product needs to mark a certain part of the car in the VR scene. The marking method is through the HTCVive handle, and the relevant developers do not need to develop the functions of such brushes. Import the DLL and resource files in this project, and then call the interface opened by the brush where the brush function needs to be enabled. Then the user can draw through the HTC device. During the drawing process, the brush component will feed back data to the developer in real time, such as space coordinates, rotation angle, etc., and the developer can use these data to perform specific business-related logical operations. Secondary development can be carried out on this basis.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com