Jump to content

import fbx and preserve instanced geometry


Recommended Posts

Hi,

This is a test export from 3dsMax. The Tubes are instanced. I can export them as fbx file and import them back into 3dsMax while preserving the instances, since fbx format supports instancing. 

image.png.3b2acd545de3db2c7f783992d40cff8b.png

Is there a way to import the fbx file into houdini and preserve the instancing somehow? I know instancing in houdini works very different, and with that example geometry it looks like it doesn´t make a lot of sense. But i also have to import more complex machines from CAD data and there it would be nice to have for example all screws still instanced. 

kind regards

jon

instance_3.FBX

Link to comment
Share on other sites

I think the importer might need to support that feature. It looks like Houdini and Blender do not. They convert the instanced geometry to actual geometry.

What is interesting, is if you load the FBX file using the File node, you get the associated @fbx_location, @fbx_scale, @fbx_rotation of each instance as a point attribute. This means you could locate the named instance items and reconstruct them. Or repack them to get their centers and redeploy.

 

ap_restablish_FBX_instance.hiplc

Untitled-1.jpg

Edited by Atom
Link to comment
Share on other sites

Hm...Thank you Atom. I will play a little bit with that. 

In an production example of course I have several different instanced objects but I think it should be possible to automate this technique somehow. Thanks again. 

Jon

Link to comment
Share on other sites

  • 2 years later...

Hello All, 
I find this page and feel interesting that load the FBX file using the File node. 
I try to rotate FBX  and loading with File node. I find @fbx_rotation have strange value, it seems File node adjust rotation by itself??
I'm wondering how to get the correct rotation and redeploy. 
I also try to use object Merge to import them all, but this way can't get the rotation info. 

Best regards :)

2021-10-31_040844.jpg

instance_3_test.01.FBX

Edited by freestylu
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...