Jump to content
rygo6

Houdini not exporting geometry to FBX?

Recommended Posts

So I have made a thing in Houdini, I want to export it to FBX and pull that geometry into Unity. Problem is that not all the geometry is getting written out the FBX file.

Could someone tell me why all the geometry I see in the Houdini view is not getting exported to the FBX file?

TrackGenerator.hiplc

Share this post


Link to post
Share on other sites

I don't see any export ROP in the /out context. Try exporting from there instead of the File menu. Drop down a Filmbox FBX node in the /out context.

Edited by Atom

Share this post


Link to post
Share on other sites
On ‎2‎/‎3‎/‎2018 at 9:53 PM, Atom said:

I don't see any export ROP in the /out context. Try exporting from there instead of the File menu. Drop down a Filmbox FBX node in the /out context.

So I got to revive this old topic, took a bit of a break from my Houdini learning, but just renewed my indie license so back on it.

Your suggestion of the filmbox node worked. Thank you.

However, I had my geometry node generating multiple separate meshes inside of it. I wanted this to be exported as separate meshes into FBX. Not as separate files, just separate meshes in the same file. Is that possible? I believe inside my geometry node I am separating them by creating different polygon groups.

Edited by rygo6

Share this post


Link to post
Share on other sites

This seems to be a recurrent problem for pretty much everybody.
The FBX export doesn't have this capability in and of itself.

If you want, you could look into the rbd_to_fbx from the gamedev toolset, they actually did it.
Their method is to create a subnet with a geo node for all the packed fragment, and export that subnet.

I believe this could be replicated inside of sop.

Share this post


Link to post
Share on other sites

Here is a draft of the idea

It seems to work correctly on static meshes (haven't tested much, so there might be some problem)
It is painfully slow for animated sequence though. 20 seconds for a standard FBX export turns into 20 minutes or more. Sooo yeah, some work is needed on that area
Also, if some points or prims has the attribute, and some doesn't, those will be left out. Again, this is a draft. If some interest is shown, I might work on it a bit more.

I encourage anyone that feels like it to enhance the tool

The tool currently work with attributes, not groups.

fbx_export_v1.1.hip
FBX_export_v1_1.hda

Please let me know if the tool is useful

EDIT :
I updated the tool a bit
See the tool's help for some (I hope) useful info

I found out what's taking so long for animated export - it's the unpacking
Using the Fetch Unpacked Geometry from the dopimport was actually slower than an unpack under it, and an unpack was slower than using none before the export.
But hey, it's not made for animated geometry. I've had no problem using it for static geometry yet.

If the point or prim string split attribute is empty on some points or prim, the tool now exports them correctly.

Edited by Alain2131
  • Thanks 1

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum 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.


×