Frame rate test method and system for virtual reality software
A technology of virtual reality and testing methods, applied in the field of virtual reality, can solve problems such as the inability to summarize data calculations, the inability to provide testers with software source codes, and the inability of testers to perform tests, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0099] Please refer to figure 1 , Embodiment one of the present invention is: a kind of frame rate test method of virtual reality software, is applicable to the virtual reality software based on development engine of Oculus platform, comprises the steps:
[0100] S11: Obtain a corresponding number of frames according to the preset number of times of data collection.
[0101] S12: Update the frames sequentially according to a preset graphics rendering rate; preferably, set the value of the graphics rendering rate to 1, so as to keep the graphics rendering rate of the virtual reality software in an optimal mode.
[0102] S13: Calculate and obtain the frame rate of each frame in the frame according to the update time interval of adjacent frames in the frame.
[0103] S14: Calculate and obtain an average frame rate according to the frame rate and the number of times of data collection.
[0104] S15: Compare the average value of the frame rate with the standard average value of t...
Embodiment 2
[0107] Please refer to figure 2 , this embodiment is a further expansion of the embodiment, the similarities will not be repeated, the difference is that before step S11, the following steps are also included:
[0108] S01: Build a server in virtual reality software and create a server socket;
[0109] S02: Build a client in an external test framework and create a client socket;
[0110] S03: The client sends a connection request to the server according to the IP address and port number of the server;
[0111] S04: After receiving the connection request, the server establishes a communication connection with the client;
[0112] S05: The client sends a frame rate test request to the server, and the data of the frame rate test request includes a preset data collection times and a preset graphics rendering rate. The frame rate test request may also include a calling instruction, and according to the calling instruction, the test process corresponding to the method of the fir...
Embodiment 3
[0116] Please refer to image 3 , this embodiment is a further expansion of step S13 of the embodiment, including the following steps:
[0117] S131: Obtain the update initial time of the update process, and at the same time obtain the first time loss for obtaining the update initial time; for example, the update initial time of the update process is a, and when a is obtained, there is a time loss in the execution of the function , assuming it is a', then get a' at the same time.
[0118] S132: Obtain the update start time of the first frame in the frames, and at the same time obtain the second time loss for obtaining the update start time; assuming that the update start time of the first frame is b, and simultaneously obtain the execution time loss of the function for obtaining b b'.
[0119] S133: According to the update initial time and the update start time of the first frame, calculate the update time interval of the first frame update; specifically, the update time int...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


