MrScienceOfficer Posted August 29, 2014 Share Posted August 29, 2014 Hello everybody, Is there some sort of built in method for multi threading GA_FOR_ALL_PTOFF or do I need to make my own? Is there anything special about the GA_Iterators and looping through offsets? Like, I have to use an GA_Iterator to loop offsets, or I could end up trying to call empty parts of the array or something like that right? Also is there a better way to take a point and return all the connected neighbors of that point, my current method of getting the primitives referencing the point, sorting out duplicates and then testing for valid edges seems a bit round about. I looked into closures but I'm not sure that's what I want either. Thanks Tom Quote Link to comment Share on other sites More sharing options...
lisux Posted August 29, 2014 Share Posted August 29, 2014 Take a look at the multithread classes in HDK docs: http://www.sidefx.com/docs/hdk13.0/_h_d_k__multi_threading.html Cheers Quote Link to comment Share on other sites More sharing options...
edward Posted August 29, 2014 Share Posted August 29, 2014 See also http://www.sidefx.com/docs/hdk13.0/_h_d_k__g_a__using.html#HDK_GA_Using_Parallel Quote Link to comment Share on other sites More sharing options...
MrScienceOfficer Posted August 30, 2014 Author Share Posted August 30, 2014 Awesome, Thanks guys Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.