Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Analysis tool - V-Buffer Particles

This folder contains a Unity project, which can be opened in Unity 2019.3. The scripts can be used to perform analysis on data gathered by the benchmarks tool, or on individual frame renders made by the main application.

Analysing performance data

The ParsePerformanceData.cs script can be fed collections of CSV files, to be combined into single spreadsheets. These can either be read directly, or parsed further by PerformanceResults.cs to produce human-readable CSV files which can be opened in Microsoft Excel or other spreadsheet viewing software.

These CSV files can also be used to generate charts automatically, for example by using a Python script with Plotly. An example of such a script is available here (also requires Numpy and Pandas).

Analysing visual results

Frames taken from the main application can be exported as image files by a tool such as RenderDoc. Examples of such frames are included in the pixelwise folder.

The TextureComparison.cs script can take these frames and compare them pixel by pixel to obtain quantitative data in terms of how close or far the results are visually. The Unity HLSL shader TextureComparisonShader.shader can also be used to compare textures 2 by 2 and display the absolute difference between them, magnified by any factor to make it visible.