@@ -41,24 +41,25 @@ const char* HelpText[] = {
4141 " [t] / [T] Take Screenshot / Record Animation to pictures" ,
4242 " [Z] Change screenshot resolution (scaling factor)" ,
4343 " [S] / [A] / [D] Enable or disable smoothing of points / smoothing of lines / depth buffer" ,
44- " [W] / [U] / [V] Toggle anti-aliasing (MSAA at raster level / change downsampling FSAA facot / toggle VSync" ,
44+ " [W] / [U] / [V] Toggle anti-aliasing (MSAA at raster level / change downsampling FSAA factor) / toggle VSync" ,
4545 " [F] / [_] / [R] Switch mFullScreen / Maximized window / FPS rate limiter" ,
4646 " [I] Enable / disable GL indirect draw" ,
4747 " [o] / [p] / [O] / [P] Save / restore current camera position / Animation path" ,
4848 " [h] Print Help" ,
4949 " [H] Show info texts" ,
5050 " [w] / [s] / [a] / [d] Zoom / Strafe Left and Right" ,
51- " [pgup] / [pgdn] Strafe Up and Down" ,
52- " [e] / [f] Rotate" ,
53- " [+] / [-] Make points thicker / fainter (Hold SHIFT for lines)" ,
51+ " [pgup] / [pgdn] Strafe up / down" ,
52+ " [e] / [f] Rotate left / right" ,
53+ " [+] / [-] Increase / decrease point size (Hold SHIFT for lines)" ,
54+ " [b] Change FOV (field of view)" ,
5455 " [MOUSE 1] Look around" ,
55- " [MOUSE 2] Shift camera" ,
56+ " [MOUSE 2] Strafe camera" ,
5657 " [MOUSE 1+2] Zoom / Rotate" ,
5758 " [SHIFT] Slow Zoom / Move / Rotate" ,
5859 " [ALT] / [CTRL] / [m] Focus camera on origin / orient y-axis upwards (combine with [SHIFT] to lock) / Cycle through modes" ,
5960 " [1] ... [8] / [N] Enable display of clusters, preseeds, seeds, starthits, tracklets, tracks, global tracks, merged tracks / Show assigned clusters in colors"
6061 " [F1] / [F2] Enable / disable drawing of TPC / TRD"
61- // FREE: b
62+ // FREE: none
6263 // Test setting: # --> mHideUnmatchedClusters
6364};
6465
@@ -175,6 +176,11 @@ void GPUDisplay::HandleKeyRelease(unsigned char key)
175176 mMarkFakeClusters ^= 1 ;
176177 SetInfo (" Marking fake clusters: %s" , mMarkFakeClusters ? " on" : " off" );
177178 mUpdateDLList = true ;
179+ } else if (key == ' b' ) {
180+ if ((mFOV += 5 ) > 175 ) {
181+ mFOV = 5 ;
182+ }
183+ SetInfo (" Set FOV to %f" , mFOV );
178184 } else if (key == ' B' ) {
179185 mMarkAdjacentClusters ++;
180186 if (mMarkAdjacentClusters == 5 ) {
0 commit comments