princeton-vl / infinigen

Infinite Photorealistic Worlds using Procedural Generation
https://infinigen.org
BSD 3-Clause "New" or "Revised" License
5.32k stars 455 forks source link

could not export .blend to .fbx #101

Closed chongxian closed 1 year ago

chongxian commented 1 year ago

I have an issue about /worldgen/tools/export/export.py , when I try to export scene.blend to .fbx, it may export some .png and report segmentation fault, never export .fbx file. And I try to export small .blend file to .fbx file, such as a scene.blend only had a TreeFactory,but also does not work. Thanks for your help. image when I export the tree only get texture and can't get geometry image

dongyh20 commented 1 year ago

I'm also trying to export a mesh and got the same problem. But could you please show me how to get a scene.blend only had a TreeFactory? I also want to do this.

David-Yan1 commented 1 year ago

Could both of you post the full standard output of the export script? I suspect that this may be an out of memory issue though - trees are quite difficult to export because of their complexity.

chongxian commented 1 year ago

when I export the tree, if I not unhide the Tree.001, Tree.002,Tree.003 from render,It can't export anything. image image

And if I unhide the Tree from render, it will export some texture but also not export .fbx, image

dongyh20 commented 1 year ago

Currently I can only export a tree without leaves, I guess the spawn_asset in .blend is not exported correctly

dongyh20 commented 1 year ago

When I use the provided export.py, I got the same output as above.

David-Yan1 commented 1 year ago

The Killed message mostly likely indicates that you ran out of RAM. In our own testing, trees have been particularly difficult to export, so you may be unable to export it without using a machine or cluster with very high amounts of RAM. If you encounter this issue with smaller meshes too, please open another issue.

David-Yan1 commented 1 year ago

As to

I'm also trying to export a mesh and got the same problem. But could you please show me how to get a scene.blend only had a TreeFactory? I also want to do this.

You can use asset_grid.py to generate singular asset blend files. More comprehensive instructions on how to use it coming in a future release.