Hello everyone:
I'm developing a OSG-based graphic engine for a real time mechanical
simulator. I would like that the physics and the graphic display would run
in separate threads so that they could work independently without bothering
each other. The communication between them is a kind of
Hi Alfonso,
I'm doing something similar to what you are doing. My viewer is running
in it's own thread. I have a shared object that I use to communicate
between the threads. If you are looking for sample code, I can try to
distill what I have to something relatively simple.
I'm using the
Cory Riddell c...@... writes:
Hi Alfonso,
I'm doing something similar to what you are doing. My viewer is running
in it's own thread. I have a shared object that I use to communicate
between the threads. If you are looking for sample code, I can try to
distill what I have to something
Alfonso,
I've distilled my code down. I hope I haven't cut out too much. The
most complicated part for me was getting the halting sequence correct.
I tell the viewer to stop drawing and then have to wait until the
viewer thread is finished and notifies me that it is complete.
I have a view
4 matches
Mail list logo