Couldn't you reverse the roles?
No, because I'm using it for debugging/visualisation of a rather complex SLAM application, that only kicks in on some cases. A reverse of control would be non-optimal at the moment.
The current solution for me is to block the main thread and run Irrlicht there ...
Search found 4 matches
- Thu Dec 03, 2015 12:12 pm
- Forum: Advanced Help
- Topic: Running Irrlicht Engine on secondary thread
- Replies: 10
- Views: 2496
- Wed Dec 02, 2015 10:38 pm
- Forum: Advanced Help
- Topic: Running Irrlicht Engine on secondary thread
- Replies: 10
- Views: 2496
Re: Running Irrlicht Engine on secondary thread
Thank you both for the quick reply!
Hendu, sadly doing so is not an option due to the architecture of the program I'm trying to visualize.
CuteAlien, please find a minimal example below. I removed all return value checks for compact code. The interesting part here is probably the main function. I ...
Hendu, sadly doing so is not an option due to the architecture of the program I'm trying to visualize.
CuteAlien, please find a minimal example below. I removed all return value checks for compact code. The interesting part here is probably the main function. I ...
- Wed Dec 02, 2015 3:05 pm
- Forum: Advanced Help
- Topic: Avoiding errors when mixing Irrlicht and OpenCV
- Replies: 0
- Views: 1183
Avoiding errors when mixing Irrlicht and OpenCV
I'm trying to use Irrlicht for visualisation of some computer vision application that is built upon OpenCV.
When I use Irrlicht (I used the sample code from Tutorial 1) in the same process, image loading via OpenCV starts to fail as soon as a device, driver, gui environment and scene manager are ...
When I use Irrlicht (I used the sample code from Tutorial 1) in the same process, image loading via OpenCV starts to fail as soon as a device, driver, gui environment and scene manager are ...
- Wed Dec 02, 2015 3:00 pm
- Forum: Advanced Help
- Topic: Running Irrlicht Engine on secondary thread
- Replies: 10
- Views: 2496
Running Irrlicht Engine on secondary thread
I'm trying to use Irrlicht for visualising some complex computer vision application.
For that purpose, I created a small class that spawns a worker thread. The worker thread initialises the driver, device, scene manager and gui environment, using code similar to Tutorial 1, except using OpenGL ...
For that purpose, I created a small class that spawns a worker thread. The worker thread initialises the driver, device, scene manager and gui environment, using code similar to Tutorial 1, except using OpenGL ...