Hi List, I’m currently working on a little project using multiple (external) threads to perform cpu-intensive calculations. I studied almost everything on information available on threading with opensg and the provided mechanics to support multiple threads accessing the scene graph. I still have some questions and hopefully someone can investigate some time to bring clarity to me ;-)
Aspects As far as I understand this from the docs, each aspect is a copy of the scene graph data threads operate on. If I got it right, there are two aspects by default. One of the aspects is used for rendering (btw, how do I figure out which one it is?) and the other one is used for parallel calculations. 1) I’ve seen the examples (13multithreading.cpp, 13multithreading2.cpp) using 2 threads. What about 3 or more? Do I need more aspects as well and if, how can I introduce new aspects? What are the limitations of multiple threads working on the same aspect? 2) Do the examples use 2 aspects at all? 3) How do changelists and aspects work together in terms of syncing? There is a changelists for each thread, but from what I’ve read I think there may be more than 1 thread operating on a specific aspect. Thanks for your answers in advance! Kind regards, Christoph ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
