Skip to main content
gamedev.net
🔒 Locked

multi-thread rendering different scene graphs

Started by fem_zhang Oct 7, 2004 at 6:07 AM 0 replies 500+ views
Original Post
fem_zhang
fem_zhang
hi, guys. I met a problem which annoyed me for a long while. Problem description: Multi-thread rendering different scene graphs in open inventor. 1, (master thread) for on-sceen rendering one scene graph 2, (worker thread) for computation and modification of the scene graph I mentioned in the master thread. At the same time, I am required to do off-sceen rendering with openGL another 2 scene graphs for reading back the depth buffers. However, segmentation default. Questions: 1, should I use threads for each rendering, in my case, 3 threads. 2, how to handle with the GLXContext? 3, I want to implement it both in windows and Linux. what should I note. because i have implemented in windows, althought there is no segmentation fault, but just for seconds. the cpu usage is coming to 100%. Help!!!!!!!!!!!!!!!!!!!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.