helios icon indicating copy to clipboard operation
helios copied to clipboard

Simulation seems very slow/Disable Full-wave?

Open neumicha opened this issue 4 years ago • 1 comments

Hi, I am using precompiled Helios. It seems extremely slow on my machine (small scene with only 5 cars, .scene file is around 50MB, taking one scan with Riegl VZ400). I am using a quad-core laptop with i5-7300HQ and graphics card. Scanning only 90 degree roughly takes up to 40 minutes (GUI) or around 10 minutes (headless). Both ways produce 100% cpu load on all cores.

Is this normal behavior?

Maybe there is a way to speed it up? For instance I do not need full-wave information. Can I disable this feature? I tried lowering <FWFSettings numFullwaveBins="..." /> in the surveys xml. But : 0 -> Error small number -> "Broke after ... iterations" appears very often Also that doesn't seem to speed up the process.

Hope you can help. I wrote a converter from Blender to Helios for my research and want to process some bigger scenes.

Thanks

neumicha avatar Nov 26 '19 17:11 neumicha

Hi @neumicha,

Computing the waveform is quite demanding. For simulating a TLS scene on a laptop those times seem normal to me. You can indeed disable the full-wave. Currently, this requires to modify the source code.

The modification is trivial though:

In src/main/java/de/uni_hd/giscience/helios/assetsloading/XmlAssetsLoader.java comment the line: scanner.detector = new FullWaveformPulseDetector(scanner, accuracy_m, rangeMin_m); and uncomment: scanner.detector = new SingleRayPulseDetector(scanner, accuracy_m, rangeMin_m);

This should improve performance considerably.

Hope it helps.

deuxbot avatar Nov 28 '19 10:11 deuxbot