bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Home Page:http://bulletphysics.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EGL Plugin segfaults when calling getCameraImage from another thread

eaa3 opened this issue · comments

Calling getCameraImage from a different thread yields a segfault. Is this current a limitation related to the egl context or would there be a way around it? I would like to be able to call getCameraImage from a separate thread, which works fine in direct mode with the tiny renderer, however ideally I would like to use the egl plugin for faster rendering.

I am attaching sample script that segfaults when use_egl=True. Wondering if anyone would have experienced that before. Insights on ways around it would be much a appreciated.

ex03_egl_camera.zip