Hi Andrew, I believe what Brent is suggesting is to request the data from Softimage once, cache it in whatever way makes the most sense for your application, and then run your algorithms on that. When I wrote the “Taut” plugin for Softimage, I built all the adjacency information and stored it using STL containers (maps, etc.). It meant that I could optimise the data structures to Taut's functionality and it generally ran pretty fast.
Andy > On 29 Jul 2017, at 07:43, Andrew Prostrelov <[email protected]> wrote: > > Can you tell a bit more about optimisation and efficient calls pls. > I have lots of question about XSI objects and classes best practices. > If i understand your suggestion right i should alwayse preffer XSI reference > containers (EdgeRefArray etc) to value containers like CLongArray, > CValueArray etc. Or not ? > I also often use curMesh.GetEdges().GetItem() aproach to get one specific > component instance with known index. > I suppose this way also is slow. What should i do in this situation ? > > ------ > Softimage Mailing List. > To unsubscribe, send a mail to [email protected] with > "unsubscribe" in the subject, and reply to confirm.
------ Softimage Mailing List. To unsubscribe, send a mail to [email protected] with "unsubscribe" in the subject, and reply to confirm.

