cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

Sceneviewer render forcing full build #207

Closed rchristie closed 2 years ago

rchristie commented 2 years ago

Currently Sceneviewer renderScene defaults to IncrementalBuild with a 1.0 second timeout, ceasing building graphics when that timeout is reached, rendering and triggering another redraw. This is not OK for outputs such as images which require a full build. This could be implemented by a variant renderScene method, but current idea is to expose API to set the render timeout, with a negative value indicating unlimited time:

Sceneviewer.setRenderTimeout(timeout)   <-- real valued in seconds, negative to disable incremental build
timeout = Sceneviewer.getRenderTimeout()
rchristie commented 2 years ago

Effectively closed by #216.