CN108469999A - A kind of method and system of the triangular facet quantity of remote statistics virtual reality software - Google Patents

A kind of method and system of the triangular facet quantity of remote statistics virtual reality software Download PDF

Info

Publication number
CN108469999A
CN108469999A CN201810115419.XA CN201810115419A CN108469999A CN 108469999 A CN108469999 A CN 108469999A CN 201810115419 A CN201810115419 A CN 201810115419A CN 108469999 A CN108469999 A CN 108469999A
Authority
CN
China
Prior art keywords
triangular facet
statistics
virtual reality
model
model resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810115419.XA
Other languages
Chinese (zh)
Inventor
刘德建
黄彬
俞发仁
钟开华
林志宏
陈萍
曾捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian TQ Digital Co Ltd
Original Assignee
Fujian TQ Digital Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian TQ Digital Co Ltd filed Critical Fujian TQ Digital Co Ltd
Priority to CN201810115419.XA priority Critical patent/CN108469999A/en
Publication of CN108469999A publication Critical patent/CN108469999A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3676Test management for coverage analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to testing field more particularly to a kind of method and system of the triangular facet quantity of remote statistics virtual reality software, specifically include following steps:The preset statistics script of carry is to virtual reality software;When receiving the statistics request of first server transmission, the statistics script obtains more than two model resources corresponding with virtual reality software, obtains model resource set;The statistics script obtains gridding information corresponding with each model resource in the model resource set, obtains gridding information set;The statistics script obtains triangular facet information corresponding with each gridding information in the gridding information set, obtains triangular facet information aggregate;The statistics script sends the model resource set and the triangular facet information aggregate to the first server, so that the first server counts triangular facet quantity corresponding with each model resource according to the model resource set and the triangular facet information aggregate, triangular facet magnitude-set is obtained.

Description

A kind of method and system of the triangular facet quantity of remote statistics virtual reality software
Technical field
The present invention relates to testing field more particularly to a kind of methods of the triangular facet quantity of remote statistics virtual reality software And system.
Background technology
With the development of virtual reality technology, more and more virtual reality softwares occur in people's lives.As Virtual reality software, feeling of immersion are always the core of user experience.Currently, the biggest factor for restricting user's sensory experience is exactly dizzy Dynamic disease, and it is exactly the Caton phenomenon of virtual reality software to cause the most immediate cause of motion sickness.Cause the factor of Caton phenomenon very It is more, wherein just containing the performance factor of software.
The performance bottleneck of virtual reality software is generally divided into CPU, GPU, and three broad aspect of memory is demonstrate,proved by long-term practice Bright, virtual reality software uses problem in the prevalence of different degrees of CPU at present.For current virtual reality software, CPU The performance cost of aspect can mainly be attributed to two major classes:Engine modules performance cost and native codes performance cost.Wherein, engine It careful can be divided into rendering module, animation, physical module, UI modules, particIe system, load-on module and GC tune again in module With etc..And wherein rendering module can be described as consuming the engine modules of cpu performance the most in any virtual reality software.Because Almost all of virtual reality software all be unable to do without scene, the rendering of object and special efficacy.
Currently, the performance optimization of rendering module mainly by reduction DrawCall quantity and simplifies resource, both Mode can effectively improve rendering module for the rendering performance of virtual reality software, improve the frame per second of operation, avoid the occurrence of The phenomenon that picture interim card.Simplify the rejecting optimization that resource includes texture mapping resource, the optimization of grid performance, model geometric face Optimization etc..
Wherein, the optimization in model geometric face is optimized primarily directed to the quantity of the triangular facet of model, and triangular facet is structure At the most basic unit in model geometric face, the triangular facet number complexities for meaning this model resource of model resource more more Height is then lost the performance of rendering module also higher.The triangular facet of each object in existing mainstream test virtual reality software The method of quantity be that the Stats data statistics functions of being carried according to Unity3D engines check triangular facet quantity, developer Performance optimization is carried out to virtual reality software according to the triangular facet quantity viewed.But carried by Unity3D engines The data of the triangular facet quantity for the model resource that Stats statistical data functions are got are only in virtual camera field range The data rendered, the data of the triangular facet quantity of the model resource except virtual camera field range are not counted 's.Also, tester can not also get the quantity of the triangular facet of each model resource by Stats statistical data, this Sample can not just analyze resource, and the model resource there are performance deficiency also can not just be accurately positioned so that engineer without Method targetedly improves the performance of virtual reality software, inefficiency.
Invention content
The technical problem to be solved by the present invention is to:How the triangle that obtains in virtual reality software each model resource is improved The accuracy of face quantity.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:
The present invention provides a kind of method of the triangular facet quantity of remote statistics virtual reality software, including:
The preset statistics script of S1, carry is to virtual reality software;
S2, when receiving the statistics request of first server transmission, the statistics script obtains and virtual reality software Corresponding two or more model resource, obtains model resource set;
S3, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain To gridding information set;
S4, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, Obtain triangular facet information aggregate;
S5, the statistics script send the model resource set and the triangular facet information aggregate to the first service Device, so that the first server is provided according to the model resource set and triangular facet information aggregate statistics with each model The corresponding triangular facet quantity in source, obtains triangular facet magnitude-set.
The present invention also provides a kind of system of the triangular facet quantity of remote statistics virtual reality software, including local terminal, First server and second server;
The local terminal includes that one or more first processors and first memory, the first memory are stored with Program, and be configured to execute following steps by one or more of first processors:
The preset statistics script of S1, carry is to virtual reality software;
S2, when receiving the statistics request of first server transmission, the statistics script obtains and virtual reality software Corresponding two or more model resource, obtains model resource set;
S3, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain To gridding information set;
S4, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, Obtain triangular facet information aggregate;
S5, the statistics script send the model resource set and the triangular facet information aggregate to the first service Device, so that the first server is provided according to the model resource set and triangular facet information aggregate statistics with each model The corresponding triangular facet quantity in source, obtains triangular facet magnitude-set.
The beneficial effects of the present invention are:Being different from the prior art can only dynamic statistics virtual camera current field range The triangular facet quantity summation of interior rendered all model resources, the present invention are obtained from the gridding resource of each model resource successively Triangular facet quantity is taken, to learn triangular facet quantity that each model resource corresponding with virtual reality software is included, is improved Obtain the accuracy of the triangular facet quantity of each model resource in virtual reality software so that Developmental Engineer can easily position There are the model resources of performance deficiency, targetedly carry out performance optimization, to improve optimization virtual reality software performance Efficiency.In addition, can be handled the test data for acquiring or calculating with more flexible by way of remote processing, example After such as getting triangular facet information aggregate and model resource set, first service is sent them to by Socket communication modes Device if tester needs to carry out secondary transformation to these data, such as calculates triangular facet number total in entire scene, or When being ranked up the operations such as comparison to data, directly data can be handled in first server, avoided in test program It is middle to carry out excessive calculating, cause tested virtual reality software performance to decline.Meanwhile it can solve to survey by long-range mode Even if examination program itself still can for the dependency problem of source code in the case where developer does not provide source code The model resource triangular facet quantity of virtual reality software is tested, the covering surface of test is improved.
Description of the drawings
Fig. 1 is a kind of specific implementation of the method for the triangular facet quantity of remote statistics virtual reality software provided by the invention The flow diagram of mode;
Fig. 2 is a kind of specific implementation of the system of the triangular facet quantity of remote statistics virtual reality software provided by the invention The structure diagram of mode;
Label declaration:
1, local terminal;2, first server;3, second server;11, first processor;12, first memory;21、 Second processor;22, second memory.
Specific implementation mode
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and coordinate attached Figure is explained.
The technical concept of most critical of the present invention is:The present invention obtains three from the gridding resource of each model resource successively Edged surface quantity improves the accuracy for obtaining the triangular facet quantity of each model resource in virtual reality software.
Fig. 1 and Fig. 2 is please referred to,
As shown in Figure 1, the present invention provides a kind of method of the triangular facet quantity of remote statistics virtual reality software, including:
The preset statistics script of S1, carry is to virtual reality software;
S2, when receiving the statistics request of first server transmission, the statistics script obtains and virtual reality software Corresponding two or more model resource, obtains model resource set;
S3, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain To gridding information set;
S4, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, Obtain triangular facet information aggregate;
S5, the statistics script send the model resource set and the triangular facet information aggregate to the first service Device, so that the first server is provided according to the model resource set and triangular facet information aggregate statistics with each model The corresponding triangular facet quantity in source, obtains triangular facet magnitude-set.
Further, further include:
The first server sorts the triangular facet magnitude-set from big to small, obtains triangular facet quantity ordered set;
The first server generates test report according to the triangular facet quantity ordered set and the model resource set It accuses.
Seen from the above description, when the triangular facet quantity that a model resource is included is more than preset threshold value, illustrate this The triangular facet quantity of model resource is excessive, and there are performance deficiencies to be optimized to it, the present invention by triangular facet quantity by greatly to Small sequence is conducive to the model resource that Developmental Engineer quickly positions existing defects, improves optimization virtual reality software performance Efficiency.
Further, further include before the S3:
The statistics script deletes the model resource of non-carry grid filter assemblies in the model resource set.
Seen from the above description, triangular facet is not present in the model resource of non-carry grid filter assemblies, will be not present three The model resource of edged surface is deleted from the model resource set, is conducive to improve test virtual reality software resource triangular facet number The efficiency of amount.
Further, the S4 is specially:
S41, the statistics script obtain a gridding information from the gridding information set, obtain current grid information;
S42, the statistics script obtain gridding resource corresponding with the current grid information;
S43, the statistics script obtain triangular facet array corresponding with the gridding resource;
S44, the statistics script add the triangular facet array to preset triangular facet information aggregate;
S45, the statistics script repeat the S41 to the S44, until the gridding information set is traversed.
Further, the statistics script obtains more than two model resources corresponding with virtual reality software, obtains mould Type resource collection, specially:
The statistics script obtains model resource corresponding with the virtual reality software in local terminal, obtains local mould Type resource collection;
The statistics script obtains model resource corresponding with the virtual reality software in second server, obtains long-range Model resource set;
The statistics script synthesis local model resource set and the long-range model resource set, obtain the mould Type resource collection.
Seen from the above description, the subject in virtual reality software virtual scene is mainly loaded by two modes Into in the scene of software, a part is loaded from local directory, and another part is then to ask resource data from server-side, Decompression load is carried out to resource packet again after returning to resource packet, it is therefore desirable to if obtaining all resource objects in entire scene, Just must respectively it be obtained from local and server-side.
As shown in Fig. 2, the present invention also provides a kind of systems of the triangular facet quantity of remote statistics virtual reality software, including Local terminal 1, first server 2 and second server 3;
The local terminal includes one or more first processors 11 and first memory 12, the first memory 12 It has program stored therein, and is configured to execute following steps by one or more of first processors 11:
The preset statistics script of S1, carry is to virtual reality software;
S2, when receiving the statistics request of first server transmission, the statistics script obtains and virtual reality software Corresponding two or more model resource, obtains model resource set;
S3, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain To gridding information set;
S4, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, Obtain triangular facet information aggregate;
S5, the statistics script send the model resource set and the triangular facet information aggregate to the first service Device, so that the first server is provided according to the model resource set and triangular facet information aggregate statistics with each model The corresponding triangular facet quantity in source, obtains triangular facet magnitude-set.
Further, the first server 2 includes one or more second processors 21 and second memory 22, described Second memory 22 has program stored therein, and is configured to execute following steps by one or more of second processors 21:
Sort the triangular facet magnitude-set from big to small, obtains triangular facet quantity ordered set;
Test report is generated according to the triangular facet quantity ordered set and the model resource set.
Further, further include before the S3:
The statistics script deletes the model resource of non-carry grid filter assemblies in the model resource set.
Further, the S4 is specially:
S41, the statistics script obtain a gridding information from the gridding information set, obtain current grid information;
S42, the statistics script obtain gridding resource corresponding with the current grid information;
S43, the statistics script obtain triangular facet array corresponding with the gridding resource;
S44, the statistics script add the triangular facet array to preset triangular facet information aggregate;
S45, the statistics script repeat the S41 to the S44, until the gridding information set is traversed.
Further, the statistics script obtains more than two model resources corresponding with virtual reality software, obtains mould Type resource collection, specially:
The statistics script obtains model resource corresponding with the virtual reality software in local terminal, obtains local mould Type resource collection;
The statistics script obtains model resource corresponding with the virtual reality software in second server, obtains long-range Model resource set;
The statistics script synthesis local model resource set and the long-range model resource set, obtain the mould Type resource collection.
The embodiment of the present invention one is:
The present embodiment provides a kind of methods of the triangular facet quantity of remote statistics virtual reality software, including:
The preset statistics script of S1, carry is to virtual reality software.
Wherein, local terminal is established by Socket communication modes and first server and is communicated to connect.It is soft in virtual reality Client Socket is created when part is run, Socket service monitors the connection request from first server Socket, opens resistance Plug pattern sends connection request until first server.After receiving request, request data is handled.
S2, when receiving the statistics request of first server transmission, the statistics script obtains and virtual reality software Corresponding two or more model resource, obtains model resource set.Specially:
The statistics script obtains model resource corresponding with the virtual reality software in local terminal, obtains local mould Type resource collection;The statistics script obtains model resource corresponding with the virtual reality software in second server, obtains Long-range model resource set;The statistics script synthesis local model resource set and the long-range model resource set, Obtain the model resource set.
Wherein, merge the object from GameObject types that are locally obtaining and being obtained from remote server, create Type is the array of GameObject [] type, is named as GameObj, combined data are stored in GameObj arrays successively In to get to the model resource set.
S3, the statistics script delete the model resource of non-carry grid filter assemblies in the model resource set.
Wherein, the quantity that object in GameObj arrays is obtained by Length attributes, is named as ObjCount, and statement becomes I is measured, the value for initializing i is 0.Array GameObj is traversed, judges whether ObjCount is more than 0, it, will if meeting the condition The numerical value of ObjCount subtracts 1, and the object GameObj [i] of GameObject types is got by array indexing, by obtaining Take component functions judge on object GameObj [i] whether carry grid filter assemblies (grid filter is used for from object Gridding information is obtained in GameObj [i], and is passed it to for being rendered into the grid renderer of screen), it will not hang The GameObj objects of contained network case filter component are deleted from the model resource set.
S4, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain To gridding information set.
Wherein, the grid filter assemblies on object GameObj [i] are obtained by securing component function, and passes through name Function obtains the title of object GameObj [i], is labeled as namei.The gridding information is the model resource there are gridding resource Title, such as namei
S5, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, Obtain triangular facet information aggregate.Specially:
S51, the statistics script obtain a gridding information from the gridding information set, obtain current grid information.
S52, the statistics script obtain gridding resource corresponding with the current grid information.
S53, the statistics script obtain triangular facet array corresponding with the gridding resource.
S54, the statistics script add the triangular facet array to preset triangular facet information aggregate.
S55, the statistics script repeat the S51 to the S54, until the gridding information set is traversed.
Wherein, by the shared grid on the grid filter of SharedMesh attributes extractions GameObj [i] object, altogether Enjoy the data such as the vertex information that GameObj [i] object is contained in grid and triangular facet information.
S6, the statistics script send the model resource set and the triangular facet information aggregate to the first service Device, so that the first server is provided according to the model resource set and triangular facet information aggregate statistics with each model The corresponding triangular facet quantity in source, obtains triangular facet magnitude-set.
Optionally, preset data dictionary;The data dictionary includes more than one key-value pair;
The model resource set and the triangular facet information aggregate are stored to the data dictionary;The model money is set The entitled key assignments name of each model resource in the set of source;The element being arranged in the triangular facet information aggregate is the model The key assignments of model resource is corresponded in resource collection;
The data dictionary is converted as JSON data formats, obtains JSON data;
The JSON data are sent to the first server.
Wherein, serializing processing is carried out to data dictionary by DataContractJsonSerializer classes, be converted into The data of JSON formats return to the data of processing to first server Socket.
S7, the first server sort the triangular facet magnitude-set from big to small, obtain triangular facet quantity ordered set It closes;The first server generates test report according to the triangular facet quantity ordered set and the model resource set.
Wherein, the storage of triangular facet information is stored in the form of three-dimensional coordinate array, i.e. each triangular facet Storage is the array of the three-dimensional coordinate on three vertex for having recorded triangular facet by one to complete.Extraction is shared in grid Triangular facet array, due to each triangle face data in array be made of three vertex three-dimensional coordinates (such as [vector3a1, vector3a2, vector3a3, vector3b1, vector3b2, vector3b3], has thus represented Two triangular facets), so the total length for obtaining triangular facet array by Length attributes must be 3 multiple, by that will obtain Triangular facet array Length numerical value divided by 3 can calculate the triangular facet for including in object GameObj [i] grid quantity, Labeled as trii
Wherein, by all triiIt sorts from big to small, 0<=i<=n, n are the element number in model resource set, And in triiSame a line show corresponding namei
Optionally, the record that triangular facet quantity is less than predetermined threshold value is deleted from the test report.
Wherein, for different resource model criterions having the same, when the triangular facet that a resource model is included When quantity is more than preset threshold value, the rendering poor performance of the resource model need to optimize the resource to improve virtual reality The performance of software entirety.
The embodiment of the present invention two is:
The present embodiment provides a kind of system of the triangular facet quantity of remote statistics virtual reality software, including local terminal 1, First server 2 and second server 3;
The local terminal includes one or more first processors 11 and first memory 12, the first memory 12 It has program stored therein, and is configured to execute following steps by one or more of first processors 11:
The preset statistics script of S1, carry is to virtual reality software.
S2, when receiving the statistics request of first server transmission, the statistics script obtains and virtual reality software Corresponding two or more model resource, obtains model resource set.Specially:
The statistics script obtains model resource corresponding with the virtual reality software in local terminal, obtains local mould Type resource collection;The statistics script obtains model resource corresponding with the virtual reality software in second server, obtains Long-range model resource set;The statistics script synthesis local model resource set and the long-range model resource set, Obtain the model resource set.
S3, the statistics script delete the model resource of non-carry grid filter assemblies in the model resource set.
S4, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain To gridding information set.
S5, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, Obtain triangular facet information aggregate.Specially:
S51, the statistics script obtain a gridding information from the gridding information set, obtain current grid information.
S52, the statistics script obtain gridding resource corresponding with the current grid information.
S53, the statistics script obtain triangular facet array corresponding with the gridding resource.
S54, the statistics script add the triangular facet array to preset triangular facet information aggregate.
S55, the statistics script repeat the S51 to the S54, until the gridding information set is traversed.
S6, the statistics script send the model resource set and the triangular facet information aggregate to the first service Device, so that the first server is provided according to the model resource set and triangular facet information aggregate statistics with each model The corresponding triangular facet quantity in source, obtains triangular facet magnitude-set.
Optionally, preset data dictionary;The data dictionary includes more than one key-value pair;
The model resource set and the triangular facet information aggregate are stored to the data dictionary;The model money is set The entitled key assignments name of each model resource in the set of source;The element being arranged in the triangular facet information aggregate is the model The key assignments of model resource is corresponded in resource collection;
The data dictionary is converted as JSON data formats, obtains JSON data;
The JSON data are sent to the first server.
Wherein, the first server 2 includes one or more second processors 21 and second memory 22, and described second Memory 22 has program stored therein, and is configured to execute following steps by one or more of second processors 21:
S7, the first server sort the triangular facet magnitude-set from big to small, obtain triangular facet quantity ordered set It closes;The first server generates test report according to the triangular facet quantity ordered set and the model resource set.
Optionally, the record that triangular facet quantity is less than predetermined threshold value is deleted from the test report.
In conclusion method and the end of a kind of triangular facet quantity of remote statistics virtual reality software provided by the invention End, the present invention obtains triangular facet quantity from the gridding resource of each model resource successively, to learn and virtual reality software The triangular facet quantity that corresponding each model resource is included improves the triangle for obtaining each model resource in virtual reality software The accuracy of face quantity so that Developmental Engineer can easily position the model resource there are performance deficiency, targetedly into Row performance optimizes, to improve the efficiency of optimization virtual reality software performance.In addition, can be more by way of remote processing Flexibly the test data for acquiring or calculating is handled, such as gets triangular facet information aggregate and model resource set Afterwards, first server is sent them to by Socket communication modes, if tester needs to carry out two to these data Secondary transformation, such as calculate triangular facet number total in entire scene, or when being ranked up the operations such as comparison to data, it can be direct Data are handled in first server, avoids carrying out excessive calculating in test program, leads to tested virtual reality Software performance declines.Meanwhile dependency problem of the test program for source code itself can be solved by long-range mode, i.e., Make in the case where developer does not provide source code, still can to the model resource triangular facet quantity of virtual reality software into Row test, improves the covering surface of test.Further, when the triangular facet quantity that a model resource is included is more than preset threshold When value, illustrate that the triangular facet quantity of the model resource is excessive, there are performance deficiencies to be optimized to it, and the present invention presses triangular facet The descending sequence of quantity is conducive to the model resource that Developmental Engineer quickly positions existing defects, improves optimization virtual reality The efficiency of software performance.Further, triangular facet is not present in the model resource of non-carry grid filter assemblies, will be not present three The model resource of edged surface is deleted from the model resource set, is conducive to improve test virtual reality software resource triangular facet number The efficiency of amount.Further, the subject in virtual reality software virtual scene is mainly loaded by two modes into soft In the scene of part, a part is loaded from local directory, and another part is then to ask resource data from server-side, is returned Decompression load is carried out to resource packet again after resource packet, it is therefore desirable to if obtaining all resource objects in entire scene, just must It must respectively be obtained from local and server-side.
Example the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, include similarly In the scope of patent protection of the present invention.

Claims (10)

1. a kind of method of the triangular facet quantity of remote statistics virtual reality software, which is characterized in that including:
The preset statistics script of S1, carry is to virtual reality software;
S2, when receiving the statistics request of first server transmission, statistics script acquisition is corresponding with virtual reality software More than two model resources, obtain model resource set;
S3, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain net Lattice information aggregate;
S4, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, obtain Triangular facet information aggregate;
S5, the statistics script send the model resource set and the triangular facet information aggregate to the first server, So that the first server is according to the model resource set and triangular facet information aggregate statistics and each model resource Corresponding triangular facet quantity, obtains triangular facet magnitude-set.
2. the method for the triangular facet quantity of remote statistics virtual reality software according to claim 1, which is characterized in that also Including:
The first server sorts the triangular facet magnitude-set from big to small, obtains triangular facet quantity ordered set;
The first server generates test report according to the triangular facet quantity ordered set and the model resource set.
3. the method for the triangular facet quantity of remote statistics virtual reality software according to claim 1, which is characterized in that institute Further include before stating S3:
The statistics script deletes the model resource of non-carry grid filter assemblies in the model resource set.
4. the method for the triangular facet quantity of remote statistics virtual reality software according to claim 1, which is characterized in that institute Stating S4 is specially:
S41, the statistics script obtain a gridding information from the gridding information set, obtain current grid information;
S42, the statistics script obtain gridding resource corresponding with the current grid information;
S43, the statistics script obtain triangular facet array corresponding with the gridding resource;
S44, the statistics script add the triangular facet array to preset triangular facet information aggregate;
S45, the statistics script repeat the S41 to the S44, until the gridding information set is traversed.
5. the method for the triangular facet quantity of remote statistics virtual reality software according to claim 1, which is characterized in that institute It states statistics script and obtains more than two model resources corresponding with virtual reality software, obtain model resource set, specially:
The statistics script obtains model resource corresponding with the virtual reality software in local terminal, obtains local model money Gather in source;
The statistics script obtains model resource corresponding with the virtual reality software in second server, obtains long-range model Resource collection;
The statistics script synthesis local model resource set and the long-range model resource set obtain the model money Gather in source.
6. a kind of system of the triangular facet quantity of remote statistics virtual reality software, which is characterized in that including local terminal, first Server and second server;
The local terminal includes that one or more first processors and first memory, the first memory are stored with journey Sequence, and be configured to execute following steps by one or more of first processors:
The preset statistics script of S1, carry is to virtual reality software;
S2, when receiving the statistics request of first server transmission, statistics script acquisition is corresponding with virtual reality software More than two model resources, obtain model resource set;
S3, the statistics script obtain gridding information corresponding with each model resource in the model resource set, obtain net Lattice information aggregate;
S4, the statistics script obtain triangular facet information corresponding with each gridding information in the gridding information set, obtain Triangular facet information aggregate;
S5, the statistics script send the model resource set and the triangular facet information aggregate to the first server, So that the first server is according to the model resource set and triangular facet information aggregate statistics and each model resource Corresponding triangular facet quantity, obtains triangular facet magnitude-set.
7. the system of the triangular facet quantity of remote statistics virtual reality software according to claim 6, which is characterized in that institute First server is stated to have program stored therein including one or more second processors and second memory, the second memory, and And it is configured to execute following steps by one or more of second processors:
Sort the triangular facet magnitude-set from big to small, obtains triangular facet quantity ordered set;
Test report is generated according to the triangular facet quantity ordered set and the model resource set.
8. the system of the triangular facet quantity of remote statistics virtual reality software according to claim 6, which is characterized in that institute Further include before stating S3:
The statistics script deletes the model resource of non-carry grid filter assemblies in the model resource set.
9. the system of the triangular facet quantity of remote statistics virtual reality software according to claim 6, which is characterized in that institute Stating S4 is specially:
S41, the statistics script obtain a gridding information from the gridding information set, obtain current grid information;
S42, the statistics script obtain gridding resource corresponding with the current grid information;
S43, the statistics script obtain triangular facet array corresponding with the gridding resource;
S44, the statistics script add the triangular facet array to preset triangular facet information aggregate;
S45, the statistics script repeat the S41 to the S44, until the gridding information set is traversed.
10. the system of the triangular facet quantity of remote statistics virtual reality software according to claim 6, which is characterized in that The statistics script obtains more than two model resources corresponding with virtual reality software, obtains model resource set, specially:
The statistics script obtains model resource corresponding with the virtual reality software in local terminal, obtains local model money Gather in source;
The statistics script obtains model resource corresponding with the virtual reality software in second server, obtains long-range model Resource collection;
The statistics script synthesis local model resource set and the long-range model resource set obtain the model money Gather in source.
CN201810115419.XA 2018-02-06 2018-02-06 A kind of method and system of the triangular facet quantity of remote statistics virtual reality software Pending CN108469999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810115419.XA CN108469999A (en) 2018-02-06 2018-02-06 A kind of method and system of the triangular facet quantity of remote statistics virtual reality software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810115419.XA CN108469999A (en) 2018-02-06 2018-02-06 A kind of method and system of the triangular facet quantity of remote statistics virtual reality software

Publications (1)

Publication Number Publication Date
CN108469999A true CN108469999A (en) 2018-08-31

Family

ID=63266220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810115419.XA Pending CN108469999A (en) 2018-02-06 2018-02-06 A kind of method and system of the triangular facet quantity of remote statistics virtual reality software

Country Status (1)

Country Link
CN (1) CN108469999A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030117397A1 (en) * 2001-12-21 2003-06-26 Hubrecht Alain Yves Nestor Systems and methods for generating virtual reality (VR) file(s) for complex virtual environments
CN104102545A (en) * 2014-07-04 2014-10-15 北京理工大学 Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser
CN104933753A (en) * 2015-07-09 2015-09-23 上海苗实信息科技有限公司 Three-dimensional virtual roaming scene construction platform based on Internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030117397A1 (en) * 2001-12-21 2003-06-26 Hubrecht Alain Yves Nestor Systems and methods for generating virtual reality (VR) file(s) for complex virtual environments
CN104102545A (en) * 2014-07-04 2014-10-15 北京理工大学 Three-dimensional resource allocation and loading optimization method for mobile augmented reality browser
CN104933753A (en) * 2015-07-09 2015-09-23 上海苗实信息科技有限公司 Three-dimensional virtual roaming scene construction platform based on Internet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZANDER_ZHANG: ""Unity3D中如何计算场景中的三角面和顶点数"", 《HTTPS://WWW.JIANSHU.COM/P/20A749429FBF》 *

Similar Documents

Publication Publication Date Title
Tang et al. CAMA: Contact‐aware matrix assembly with unified collision handling for GPU‐based cloth simulation
Klein et al. Point cloud collision detection
CN109302522A (en) Test method, device and computer system and medium
TW201108152A (en) Displaying a visual representation of performance metrics for rendered graphics elements
CN106708818A (en) Pressure testing method and system
CN109360149A (en) A kind of picture upload method, system and terminal device
CN107562861A (en) A kind of WebGIS 3D modelling systems based on WebGL
CN109885474A (en) Test case edit methods and device, terminal and computer readable storage medium
CN110363427A (en) Model quality evaluation method and apparatus
CN109491754A (en) The performance test methods and device of virtual server
CN104077224A (en) Software function analyzing system and method
CN111611171B (en) Processing method and device for test cases and storage medium
CN114564374A (en) Operator performance evaluation method and device, electronic equipment and storage medium
CN108170592A (en) A kind of remote test method and terminal of virtual reality software performance
CN110825641A (en) Micro-service application test tool set based on simulation data generator
CN110489471A (en) A kind of data request processing method, apparatus, storage medium and server
CN113672500A (en) Deep learning algorithm testing method and device, electronic device and storage medium
CN108469999A (en) A kind of method and system of the triangular facet quantity of remote statistics virtual reality software
CN111741294A (en) Performance test method based on smart television cloud platform
CN108363664A (en) A kind of method and terminal of the triangular facet quantity of statistics virtual reality software
CN110033242A (en) Working time determines method, apparatus, equipment and medium
CN108153655A (en) The detection method and storage medium of the draw call quantity of virtual reality software
CN113822777A (en) Virtual teaching resource aggregation system based on 5G cloud rendering and working method thereof
CN109297417B (en) Intelligent track train height adjustment system
CN114860566A (en) Source code testing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180831

RJ01 Rejection of invention patent application after publication