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

Active Publication Date: 2018-07-10
福建省天奕网络科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a specific application scenario of the existing technology, assuming that a VR product needs to mark a certain part of the car in the VR scene, the marking method is to mark through the HTC handle, and the relevant developers need to develop such a The function of the brush, but cannot directly render the desired line effect in the VR scene through the marker

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for drawing line locus applied in VR scene
  • Method and system for drawing line locus applied in VR scene
  • Method and system for drawing line locus applied in VR scene

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a system for drawing line locus applied in a VR scene. The method comprises: performing unified packaging on an underlying SDK of an operation device of a VR perception device; providing an input callback interface and operation information of the operation device to a business layer, the operation information including space coordinates and rotation angles; through a LineRender locus paintbrush established in a paintbrush manager of the business layer, after the operation information of the operation device is obtained, rendering the operation information to the VR scene, to generate a corresponding operation locus. Based on a Unity engine, a LineRender assembly, a particle system assembly, and a 2D picture assembly in the Unity engine are used, and cooperating with the operation device, a set of locus paintbrush assemblies under VR are formed. The method and the system provide related function support for external programs in a Unity plugin form, and can be rapidly integrated in a VR product which is developed by Unity, to provide corresponding function support.

Description

technical field [0001] The present invention relates to the field of VR, in particular to a method and system for drawing line trajectories applied to VR scenes. Background technique [0002] At present, the line track brush component used in virtual reality (referred to as VR) products on the market has Google's "Tilt Brush", which is an application software for 3D space painting in VR scenes under the HTC Vive device. However, because "Tilt Brush" is an independent closed-source application software, based on its closed-source factors, there are shortcomings such as not supporting users to carry out corresponding secondary development. If you want to have a painting function similar to Tilt Brush in your own VR project, you need to re-develop it. In a specific application scenario of the existing technology, assuming that a VR product needs to mark a certain part of the car in the VR scene, the marking method is to mark through the HTC handle, and the relevant developers ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 刘德建林琛邱霖辉
Owner 福建省天奕网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products