Log inGet started
World

Sensor Looks: Thermal, Night Vision and X-ray

Branchmain
Commita92ee78fb2

README.md

SensorBenchHost (component)

Lets any player's machine measure what the sensor looks cost on it and share the numbers. The sensor panel's "Measure cost on this device" button runs sensorBlocks' SensorBench on the machine that pressed it; a message on sensorBench.run (optionally naming a build, "browser" or "native") makes the machines that receive it run it. Each result (engine CPU per frame with and without a look, the GPU time of each look's passes, the build and drawn size) is sent to every player on sensorBench.result and shown in a small readout at the top right. Nothing runs until asked. The forest showcase has one on the SensorBench entity.

Known limits

  • A run spawns 2,500 test objects on that machine only for about a minute and a half; the picture is busy while it runs.
  • GPU numbers need timestamp queries; a browser without them reports CPU only.