RudeyPunk Posted June 6, 2007 Share Posted June 6, 2007 Greetings! How do you gain access to the table that stores all of the bones with their path information, name and index number? I am aware of the GEO_Detail function, "getCaptureRegionIndex(Const UT_String ®ionName)". So how would I get a list of all the bone names? Would I have to do a search through the given capture root path and pick out all the bones myself? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
RudeyPunk Posted June 8, 2007 Author Share Posted June 8, 2007 I got this reply from Jenney at Sesi. The solution works like a charm! The easiest way is to make use of the GEO_CaptureData helper class. Untested code: GEO_CaptureData capture_data; UT_String path; getFullPath(path); capture_data.initialize(path, 0.0f /* capture frame */); capture_data.transferFromGdp(src_gdp, NULL /* pt_group */); Now you can use GEO_CaptureData's getNumRegions() and regionPath() path methods. I think the path's obtained this way are relative to the capture root path. 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.