Some ray tracing changes

This commit is contained in:
Dynamitos
2024-07-08 13:46:49 +02:00
parent fd8dc5ed0f
commit acf8dde8fc
21 changed files with 108051 additions and 71 deletions
+19
View File
@@ -1,6 +1,12 @@
import pandas as pd
import matplotlib.pyplot as plt
#areas = pd.read_csv('build/s.csv')
#
#plot = areas.hist(column='area', bins=100)
#plt.yscale('log')
#plt.show()
df = pd.read_csv('build/stats.csv')
noculldf = pd.read_csv('build/statsNOCULL.csv')
@@ -60,3 +66,16 @@ nocullax.legend()
nocullfig.savefig('allnocull.png')
combfig, combax = plt.subplots()
combax.plot(scaled_reltime, scaled_FrameTime, label='Culling Frametime')
combax.plot(nocullscaled_reltime, nocullscaled_FrameTime, label='No Culling Frametime')
combax.set_xlabel('Application Time (ms)')
combax.set_ylabel('Render Times (ms)')
combax.legend()
combfig.savefig('combined.png')