[vtkusers] offscreen rendering in threads

Affolter Martin martin.affolter at ntb.ch
Mon Mar 17 07:31:04 EDT 2014


Hi everyone

I know that vtk is not thread safe, and that the rendering should be done in the main/UI -thread. Does this also apply to offscreen rendering, or is the following scenario possible?


1.       Create several threads in a console application.

2.       Each thread builds its separate vtk pipeline to render some data off screen.

3.       The content of the offscreen renderer is written to a rasterimage in the filesystem.

4.       The objects of the pipeline are destroyed, the thread terminates.

Any thoughts are welcome.
Martin Affolter
MSc FHO in Engineering
Wissenschaftlicher Mitarbeiter
___________________________________________
NTB Interstaatliche Hochschule für Technik Buchs
Institut für Ingenieurinformatik
Schönauweg 4
CH-9013 St. Gallen

Tel:  +41 81 755 32 49
Web: http://www.ntb.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140317/4283702b/attachment.html>


More information about the vtkusers mailing list