Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Better support when importing FBX

Send us your requests for enhancements (RFEs)

Better support when importing FBX

Postby barakooda » Thu Jun 14, 2018 3:13 am

Hi
I imported this FBX and i looked for capture region attributes.

1.I found out that touchdesigner can import up to only 10 ?
while houdini was able to import all of the attributes.
(78).
Houdini also keep the names attributes from the FBX.


2. Maybe it will be better to attach the capture region attributes to the points and not the vertices ( also like in Houdini ).

3. somehow Houdini was able to import the whole mesh with groups,
but touchdesigner brake the mesh by materials.
I find Houdini method more easy to edit the sop...

Attached FBX file
Attached BHclassic of the geometry that was extracted from same fbx file which imported to Houdini.

generally speaking -FBX import process could have more polish

Thank you
and keep up the great work

Barak.
Attachments
from_houdini.rar
(641.57 KiB) Downloaded 14 times
houdini_fbx.jpg
houdini_fbx.jpg (444.83 KiB) Viewed 514 times
crossfit.fbx
(17.25 MiB) Downloaded 15 times
User avatar
barakooda
 
Posts: 486
Joined: Fri Nov 27, 2009 5:08 pm

Re: Better support when importing FBX

Postby eric.b » Mon Jun 18, 2018 5:44 pm

Regarding your first point: in CC_Base_Body/splitGeoMat0/bonegroup there are 78 pCaptPath detail attributes that define the capture regions (along with pCaptData). Is this what you're looking for?
User avatar
eric.b
Staff
 
Posts: 45
Joined: Mon Jun 13, 2016 3:53 pm
Location: Toronto

Re: Better support when importing FBX

Postby barakooda » Tue Jun 19, 2018 5:26 am

Hi Eric !

Capture region define the intensity level the bone affect the point.
(as far as i understand)
There are 78 capture regions in that case.

Each point can contain 78 float attributes
or
contain two correlated arrays
one with values
the other the index of the capture region name ( look on the image attached )

that represent the weights values (0-1) of each capture region on the point.
(all sum to the value one)
--------------------------------------------
From the data in the detail attributes i can only understand
that there are 78 capture regions and its names and maybe indexes .
the rest i`m not able to relate to anything .

viewtopic.php?f=27&t=12153
Attachments
capture_regions.jpg
capture_regions.jpg (344.21 KiB) Viewed 362 times
User avatar
barakooda
 
Posts: 486
Joined: Fri Nov 27, 2009 5:08 pm

Re: Better support when importing FBX

Postby eric.b » Tue Jun 19, 2018 11:02 am

pCapt will contain the weight values for each point. pCapt is formatted so that it alternates between the bone index, and its weight on the point. For instance: (0, 0.25, 1, 0.5, 2, 0.25). Houdini has this information split up into two columns in the attached image: boneCapture_index and boneCapture_data.

Not every point will have all 10 values in the array filled in, 10 is just the maximum, meaning that at least one point has 5 bones that affect it.

You can map the bone indices given in pCapt to the names given in pCaptPath (pCaptPath names are in index order).

I hope this helps.

Eric
User avatar
eric.b
Staff
 
Posts: 45
Joined: Mon Jun 13, 2016 3:53 pm
Location: Toronto

Re: Better support when importing FBX

Postby barakooda » Wed Jun 20, 2018 10:00 am

Hi Eric thank you very much
I was able to get good results.

I still not sure about the indexing correlation between the name of capture region
to the index number.

In the detail attribute i can see the correlation that start with the row index 1.
I can relay on that?
User avatar
barakooda
 
Posts: 486
Joined: Fri Nov 27, 2009 5:08 pm

Re: Better support when importing FBX

Postby eric.b » Wed Jun 20, 2018 10:37 am

The bone indices are from 0-77 and will map directly to the index in the pCaptPath[78] array. The first index of pCaptPath should be 0, however in the SOP To DAT it will appear in row 1 because of the header.
User avatar
eric.b
Staff
 
Posts: 45
Joined: Mon Jun 13, 2016 3:53 pm
Location: Toronto


Return to Wishlist and RFEs

Who is online

Users browsing this forum: No registered users and 5 guests